Time Calculator – Add, Subtract & Calculate Time
Perform mathematically accurate duration arithmetic, calculate elapsed time between clock times with overnight and break adjustments, convert decimal hours, and sum multiple duration entries with running totals.
Looking for live city clocks or daylight saving time conversions? Check the World Clock or Time Zone Converter.
How to Use This Online Time Calculator
This calculator provides five dedicated arithmetic modes to handle various personal, study, and professional timing tasks. All calculations operate with exact integer-second precision in your browser without requiring account creation or server round-trips:
Combine or find the difference between two durations with automatic minute and second carries. Supports negative balances and durations beyond 24 hours.
Determine total hours between start and end clock times in 12-hour AM/PM or 24-hour military format, with automatic overnight shift handling and break deductions.
Convert standard hours, minutes, and seconds into billable decimal numbers (e.g. 2h 30m = 2.5h) or translate decimal hours back into exact clock components.
Build a complete timing ledger with up to 50 rows. Assign addition or subtraction to each interval and inspect running balances at every step alongside a comprehensive grand total.
Adding and Subtracting Hours, Minutes, and Seconds
Standard digital arithmetic differs from traditional decimal math because time is based on sexagesimal (base-60) units. Sixty seconds equal one minute, and sixty minutes equal one hour.
2h 45m + 1h 30m = 4h 15m
Summing minutes yields 75 minutes (45m + 30m). Because 75 exceeds 60, 60 minutes carry into an additional hour, leaving 15 minutes: 2h + 1h + 1h carry = 4h 15m (15,300 seconds).
5h 20m − 1h 45m = 3h 35m
Subtracting 45m from 20m requires borrowing 1 hour (60 minutes) from 5h, turning 20m into 80m. Then 80m − 45m = 35m, and 4h − 1h = 3h: final net result is 3h 35m (12,900 seconds).
Calculating Time Between Two Clock Times (Same Day & Overnight)
When scheduling shifts, classes, or flights, you often need to calculate the elapsed duration between two specific times on a clock rather than entering two abstract duration lengths.
Overnight Shift Calculation: 10:30 PM to 2:15 AM = 3h 45m
When an end time (2:15 AM) is chronologically earlier in the day than the start time (10:30 PM), the interval crosses midnight into the following calendar day. The engine automatically adds 24 hours (86,400 seconds) to resolve the correct elapsed window (13,500 seconds). If you take an unpaid 30-minute lunch break, the net duration is automatically reduced to 3h 15m.
Note: This calculator operates purely on wall-clock mathematical intervals. For regional timezone offsets and legal daylight saving time transitions, use our dedicated Time Zone Converter.
Understanding Decimal Hours for Timesheets and Freelancing
Many payroll, billing, and accounting systems require time entered in decimal fractions of an hour rather than minutes and seconds:
- 1.5 hours represents 1 hour and 30 minutes (0.5 × 60 = 30 minutes).
- 1.75 hours represents 1 hour and 45 minutes (0.75 × 60 = 45 minutes). It does not mean 1 hour and 75 minutes.
- 1.25 hours equals 1 hour and 15 minutes.
- 7.75 hours equals 7 hours and 45 minutes (27,900 seconds).
When converting decimal hours back into clock format, fractional values are rounded to the nearest integer second using exact half-up arithmetic to avoid floating-point drift.
Summing Multiple Time Entries and Managing Running Balances
The Multiple Entries mode allows adding and subtracting sequences of timing blocks—ideal for summing study periods, freelance task logs, audio or video track edits, and work shift segments.
For instance, adding 2h 15m, adding 1h 45m (running: 4h), subtracting a 30m break (running: 3h 30m), and adding a final 10m wrap-up produces a grand total of 3h 40m (3.666667 decimal hours). This feature is intended for personal time tracking, study logging, and project estimation.
Frequently Asked Questions
How do I add hours, minutes, and seconds?▾
Select the “Add Time” tab, enter your hours, minutes, and seconds into Time A and Time B, and click “Calculate Sum”. The tool automatically handles base-60 minute and second carries and provides the total in both clock format (HH:MM:SS) and readable words.
Can this calculator subtract time and handle negative durations?▾
Yes. Under “Subtract Time”, subtracting a larger duration from a smaller duration produces an accurate signed negative balance (e.g. 1h 20m − 2h 10m = −50m, formatted as −00:50:00). Negative durations are clearly flagged with warning badges and negative signs.
How do I calculate the elapsed time between two clock times?▾
Choose the “Time Between” tab, select your preferred clock format (12-hour AM/PM or 24-hour), and enter your start and end times. You can also specify an optional unpaid break duration in minutes to deduct from the gross total.
Does it support overnight shifts crossing midnight?▾
Yes. In “Auto-Detect” mode, if the end time is earlier than the start time (such as 10:30 PM to 2:15 AM), the calculator automatically recognizes that the interval ends on the next calendar day and adds 24 hours to give the correct 3h 45m duration. You can also explicitly choose “Same Day” or “Next Day”.
What is the difference between decimal hours and hours/minutes?▾
Hours and minutes use base 60 (where 30 minutes is half an hour), while decimal hours use base 10 (where 0.5 represents half an hour). For instance, 7 hours and 45 minutes equals 7.75 decimal hours because 45/60 is 0.75.
Can I add multiple time entries and view running totals?▾
Yes. Under “Multiple Entries”, you can add up to 50 rows, select addition (+) or subtraction (−) for each entry, and review intermediate running totals for every step alongside your final grand total.
Does this calculator account for daylight saving time or time zones?▾
No. The Time Calculator is a pure mathematical duration and clock engine that does not fetch historical timezone rules or daylight saving transitions. If you need to convert times across international time zones with automatic DST adjustments, please use our Time Zone Converter or view current global times on the World Clock.
Related Timing & Productivity Tools
Convert dates and times across 7,300+ cities worldwide with automatic daylight saving time calculations.
Structure productive Pomodoro study blocks and deep work sprints with audible countdown alerts.
Browse all 67 preset countdown timers, multi-alarm clocks, stopwatches, and productivity utilities.
