Time Calculator

Add or subtract hours, minutes, and seconds — for timesheets and media.

How the calculator works

Each duration is converted to total seconds — hours × 3600 plus minutes × 60 plus seconds — and the operation applies to those plain integers: adding is a sum, subtracting a difference that may go negative. The result converts back by dividing: whole hours come from ÷ 3600, the remainder's whole minutes from ÷ 60, and the last seconds stay as the final remainder. Because the result is a duration rather than a time of day, hours are not capped at 23 or 24; a week's work is shown as 40:00:00. Unit totals underneath — say 4.1 hours — are what payroll and billing systems usually expect.

Formula

Seconds = (H × 3600) + (M × 60) + S
Result = A op B, converted back to H:MM:SS

Where:

  • H, M, S — hours, minutes (0–59) and seconds (0–59) of each duration
  • op — add or subtract
  • Conversion back: ÷ 3600 for hours, remainder ÷ 60 for minutes

Example

Add 2:45:30 and 1:20:45: in seconds that is 9,930 + 4,845 = 14,775, which reads back as 4:06:15 — or 4.1 hours, or 246.25 minutes. Subtracting instead gives 5,085 seconds = 1:24:45. If you track two work blocks of 6:15:00 and 5:50:00, the weekly card reads 12:05:00 — precisely the figure an invoicing line needs.

Frequently Asked Questions

Why does the result show 25 hours instead of 1:00 AM?
This is a duration calculator, not a clock. Durations accumulate past 24 hours — a useful property for weekly totals and project logs. If you need clock-time arithmetic (what time is it 3:30 after 23:00), add the duration to the start time on paper: 23:00 + 3:30 = 02:30 next day.
Can minutes exceed 59?
In the inputs, no — minutes and seconds are validated to 0–59, matching how durations are normally written. The totals underneath the result are the place for large figures: 4,905 seconds, 81.75 minutes, and so on.
What does a negative result mean?
It means the subtracted duration was longer than the first one. The sign is preserved honestly rather than silently swapped — useful for checking whether a project is over or under its time budget.
How does this differ from the days-between-dates calculator?
They measure different things: that one counts calendar days between two dates, this one computes elapsed durations in hours, minutes, and seconds without reference to any calendar. Use both together for a full picture — a trip of 3 days plus 14:30 of driving time.