Time Calculator

How much time between two points or when will something finish?

Calculate time differences between two points, add or subtract time intervals, and convert between different time formats for scheduling and planning decisions.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Time calculations work like a number line, but with a twist - every 60 minutes rolls over to the next hour, and every 24 hours starts a new day. When you calculate 9:30 AM to 2:15 PM, the calculator converts everything to total minutes (570 to 855), subtracts to get 285 minutes, then converts back to 4 hours and 45 minutes.

The midnight crossing feature handles the calendar date boundary. Without it, 11:00 PM to 2:00 AM looks impossible - how can 2 be bigger than 11? But when crossing midnight is enabled, the calculator adds 24 hours to the end time, treating 2:00 AM as 26:00 in the calculation, which gives the correct 3-hour result.

Decimal time conversion helps with systems that prefer single numbers over hours-and-minutes format. Payroll systems often want 7.25 hours instead of 7 hours 15 minutes, and project management tools calculate costs more easily with decimal inputs.

When To Use This
Right tool, right situation

Use this calculator when you need precise timing for events that fit within a few days - work shifts, meeting blocks, project phases, or appointment scheduling. The tool handles single calculations cleanly and gives you multiple formats for whatever system you are feeding the result into, whether that is payroll software or a client invoice.

It works especially well when you are coordinating across different time-tracking systems. Some platforms want decimal hours (8.5), others prefer duration format (8:30), and humans read hours-and-minutes best (8 hours 30 minutes). Getting all three formats from one calculation eliminates conversion errors between systems.

Skip this tool for calculations spanning multiple weeks, anything involving time zones, or complex recurring schedules. The boundary conditions flag durations over one week because accuracy drops when you are dealing with variable factors like weekends, holidays, or seasonal schedule changes that a simple time calculator cannot account for.

Common Mistakes
Why results sometimes look wrong

The most common mistake is forgetting to check midnight crossing for overnight calculations. Users enter 11:00 PM to 7:00 AM and get confused by the error message, not realizing the end time represents the next day. Always enable midnight crossing when the clock time of your end point is earlier than your start point but represents a later real time.

Another frequent error is mixing up AM/PM in mental calculations while using 24-hour format inputs. 2:00 PM is 14:00 in 24-hour time, not 2:00. Many scheduling mistakes happen because someone calculated based on 2:00 AM when they meant 2:00 PM, creating a 12-hour error in their planning.

People also forget that time arithmetic follows base-60 rules, not base-10. Adding 45 minutes to 8:30 does not give 8:75 - it gives 9:15. This trips up users doing mental math alongside the calculator, especially when estimating whether their calculated result looks reasonable.

The Math
Worked examples and deeper derivation

The underlying math converts all times to minutes since midnight, performs the arithmetic, then converts back to readable format. 9:30 AM becomes 570 minutes (9 × 60 + 30), while 2:15 PM becomes 855 minutes (14 × 60 + 15). Subtraction gives 285 minutes, which divides into 4 hours (285 ÷ 60 = 4 remainder 45).

For addition and subtraction operations, the calculator applies the time change to the total minutes, then uses modulo arithmetic to handle day boundaries. Adding 8 hours 30 minutes (510 minutes) to 6:00 PM (1080 minutes) gives 1590 minutes, which becomes 2:30 AM the next day (1590 - 1440 = 150 minutes after midnight).

Decimal conversion divides total minutes by 60. The result of 285 minutes becomes 4.75 decimal hours (285 ÷ 60 = 4.75). This fractional representation makes it easier to multiply by hourly rates or input into spreadsheet formulas that expect numeric time values.

Meeting schedule planning
Start: 2:30 PM, End: 4:15 PM
Shows 1 hour 45 minutes (105 minutes, 1.75 decimal hours). Perfect for blocking calendar time and knowing exactly how long your afternoon meeting will run.
Overnight shift calculation
Start: 11:00 PM, End: 7:00 AM, crosses midnight checked
Results in 8 hours total. Essential for payroll, scheduling, and labor law compliance when work spans two calendar days.
Project deadline countdown
Add 47 hours 30 minutes to current time 9:00 AM
Shows exactly when a 47.5-hour project will finish. Accounts for weekend gaps and helps set realistic client expectations for delivery timing.
Expert Unlock
The thing most explanations skip

Time calculations become unreliable beyond about a week because real-world scheduling has too many variables that pure arithmetic cannot capture. Weekend gaps, holiday closures, daylight saving transitions, and operational hour restrictions all affect actual duration differently than mathematical duration.

How do I calculate time across midnight?

How do I calculate time that goes past midnight?
Check the 'crosses midnight' box when your end time is earlier than start time but represents the next day. For example, 11:00 PM to 3:00 AM with midnight crossing checked equals 4 hours, not a negative result.
What is the difference between decimal hours and regular time format?
Decimal hours convert time to a single number for easy math - 1 hour 30 minutes becomes 1.5 hours. This format works better for payroll calculations, billing rates, and project management software that expects numeric inputs.
Can I add more than 24 hours to a time?
Yes, the calculator handles any duration and automatically wraps around the 24-hour clock. Adding 30 hours to 6:00 AM gives you 12:00 PM the next day, accounting for the full day plus additional time.

Need something this doesn't cover?

Suggest a tool — we'll build it →