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.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
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.
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?
Need something this doesn't cover?
Suggest a tool — we'll build it →