Time Calculator: Add/Subtract Time & Duration Between Times

Add or subtract hours, minutes and seconds, or find the duration between two times.

Frequently Asked Questions

How do I add or subtract hours and minutes?

Convert each time to total seconds, add or subtract them, then convert the result back to hours, minutes and seconds.

How do I calculate the duration between two times?

Subtract the start time from the end time in seconds. If the result is negative, the end time is on the next day, so add 24 hours (86,400 seconds).

Can this calculator handle times that cross midnight?

Yes, the Duration Between Times mode automatically adds a day when the end time is earlier than the start time.

How time calculations work

The add/subtract mode converts every time value to total seconds, adds or subtracts them, then converts the result back to hours, minutes, and seconds. The duration mode subtracts your start time from your end time, automatically adding 24 hours if the end time is earlier (meaning it falls on the next day).

How to use this time calculator (hours calculator)

  1. Choose add/subtract time, or duration between two times.
  2. Enter your time values.
  3. Click Calculate for an instant result, including totals in seconds.

Why time math isn’t simple addition

Unlike decimal numbers, time doesn’t carry over in base 10 — 45 minutes plus 30 minutes is 1 hour 15 minutes, not „75 minutes“ left as-is. This calculator converts everything to total seconds internally, does the addition or subtraction, and converts back to hours, minutes, and seconds, which avoids the manual carrying errors that are easy to make by hand, especially across several time entries at once.

Common uses for a time calculator

  • Payroll and timesheets: Adding up shift lengths or breaks across a week.
  • Project and task planning: Estimating total time across several subtasks with different durations.
  • Cooking and scheduling: Working out what time something finishes if it starts now and takes a specific duration.
  • Duration between two clock times: Useful for tracking exactly how long a meeting, flight, or shift lasted, including ones that cross midnight.

Tips for accurate time tracking

When adding multiple entries, double check whether you’re working in a 12-hour or 24-hour context to avoid AM/PM mix-ups, particularly for durations that span midnight. For payroll purposes, round consistently (to the nearest minute or quarter-hour) rather than mixing rounding conventions across entries.

Expert insight: why time-blocking beats a simple to-do list

Computer science professor and productivity author Cal Newport advocates time-blocking — planning your day in fixed chunks rather than working from an open-ended list — because it forces you to decide in advance how long each task should actually take. Time-tracking company Toggl notes that pairing this with focused, distraction-free sessions is what actually makes time estimates hold up in practice, rather than tasks silently expanding to fill whatever time is available.

Related calculators

Disclaimer: This calculator is provided for general informational and educational purposes only and does not constitute financial, investment, tax, or legal advice. Results are estimates based on the values you enter and should not be relied upon as the sole basis for any financial or other decision. Past performance and projected figures are not a guarantee of future results. Always consult a qualified professional before making financial decisions. See our Legal Notice and Privacy Policy for more information.