Time Calculator
Add, subtract and convert hours, minutes and seconds
โฑ๏ธ Add or subtract two durations
๐ฐ Result
Time math is exact for the values you enter. Durations are calculated in plain clock time and do not account for time-zone changes or daylight-saving shifts. Use this as a quick estimate for scheduling and timekeeping, not as an official record.
Last updated June 2026
Method: Every duration is converted to total seconds, the operation is performed on those integers, and the result is reformatted to h:m:s and decimal hours. Conversions use the fixed relationships 1 hour = 60 minutes = 3,600 seconds.
Included: Adding and subtracting two durations, converting between hours, minutes, seconds and decimal hours, and the elapsed time between two clock times (with an overnight option).
Not included: Time-zone offsets, daylight-saving shifts, and calendar dates. For day-level math use the Date Calculator; for hours worked across a shift use the Hours Calculator.
Time calculator: everything you need to know
Time is the one quantity almost nobody can do in their head, because it is not base-10. You cannot just add 45 minutes and 30 minutes and write "75" - it rolls over into the next hour at 60, not at 100. That single quirk is why a quick time calculator is so handy: enter two durations, pick add or subtract, and get a clean answer in hours, minutes and seconds, plus the decimal-hours figure that payroll and billing actually want. This tool also converts a single duration between units and measures the gap between two clock times, including shifts that run past midnight.
Here is a worked example you can check by hand. Add a 2:45:30 task to a 1:20:15 task. Convert each to seconds: the first is 2x3600 + 45x60 + 30 = 9,930 seconds, the second is 1x3600 + 20x60 + 15 = 4,815 seconds. The sum is 14,745 seconds, which folds back into 4 hours, 5 minutes and 45 seconds - or about 4.096 decimal hours. The calculator does exactly this conversion under the hood so the carry-over at 60 is always correct.
The formula behind time math
All three modes rely on converting a duration to a single base unit (seconds), doing ordinary arithmetic, and converting back:
total seconds = hours × 3600 + minutes × 60 + seconds To convert back, you peel off the largest unit first: hours = total ÷ 3600 (whole number), then minutes = remainder ÷ 60, and the leftover is seconds. Decimal hours are simply total seconds ÷ 3600, and total minutes are total seconds ÷ 60. Because everything routes through one integer, the carry between units never goes wrong.
How to use this time calculator
Pick the tab that matches your question, then fill in the fields:
- Add / Subtract: enter two durations as hours, minutes and seconds, choose the plus or minus button, and read the result. Subtracting a larger value from a smaller one returns a clearly marked negative time.
- Convert: enter one duration to see it expressed as decimal hours, total minutes, total seconds, and the standard h:m:s clock format all at once.
- Between times: enter a start and end clock time in 24-hour format. The calculator returns the elapsed duration; if the end is earlier than the start (or you tick the overnight box) it adds a day so the answer stays positive.
The headline result updates instantly as you type, so you can experiment without pressing a button.
Who this calculator is for
- Hourly workers and managers tallying a shift or a week of time-card entries before sending them to payroll.
- Freelancers and consultants turning logged hours and minutes into the decimal hours their invoicing software expects.
- Students and runners adding lap or split times and finding the difference between two finishes.
- Cooks and project planners summing the durations of several steps to see total elapsed time.
- Anyone scheduling who needs to know how long it is from one clock time to another, including overnight.
Worked example: subtracting times
You started a job at 3:10:00 on the clock-timer and stopped at a logged 1:55:20 of actual work. To find idle time, subtract: 3:10:00 is 11,400 seconds and 1:55:20 is 6,920 seconds, so the difference is 4,480 seconds = 1 hour, 14 minutes and 40 seconds. If you reversed the order and subtracted the larger from the smaller, the calculator would show -1:14:40, telling you the second value was bigger by that amount.
Worked example: hours between two clock times
A night shift runs from 22:00 to 06:30. Because the end time is earlier on the clock than the start, the calculator treats 06:30 as the next morning and adds 24 hours: from 22:00 (79,200 s) to 30:30 (109,800 s) is 30,600 seconds = 8 hours and 30 minutes, or 8.5 decimal hours. That decimal figure multiplied by a pay rate gives the gross shift pay directly.
Worked example: converting to decimal hours
Suppose your timesheet says you worked 1:45:00. As decimal hours that is 1 + 45/60 = 1.75 hours. A 12-minute call is 12/60 = 0.20 hours, and a 20-second clip is 20/3600 ≈ 0.0056 hours. Switching to the Convert tab shows all of these at once so you never have to remember whether to divide by 60 or 3,600.
Quick conversion reference
The relationships below are fixed and underpin every result in this tool:
| Duration | In minutes | In seconds | Decimal hours |
|---|---|---|---|
| 15 min | 15 | 900 | 0.25 |
| 30 min | 30 | 1,800 | 0.50 |
| 45 min | 45 | 2,700 | 0.75 |
| 1 hour | 60 | 3,600 | 1.00 |
| 1 h 30 min | 90 | 5,400 | 1.50 |
| 8 hours | 480 | 28,800 | 8.00 |
| 24 hours | 1,440 | 86,400 | 24.00 |
Key time terms explained
- Duration: a length of time (1 h 30 m), as opposed to a clock time (1:30 PM). Durations can be added and multiplied; clock times generally cannot.
- Decimal hours: a duration written as one number of hours, so 90 minutes becomes 1.5. Required by most payroll and billing systems.
- Elapsed time: the duration between a start and end point, also called time difference or interval.
- 24-hour (military) time: a clock format from 00:00 to 23:59 that removes AM/PM ambiguity, used in the Between-times tab.
- Sexagesimal: the base-60 system the world uses for minutes and seconds, inherited from ancient Babylon - the reason time does not behave like ordinary base-10 numbers.
Common ways to use the results
The decimal-hours output is the figure you usually feed into other math: multiply it by an hourly wage for pay, by a billing rate for an invoice, or by a per-hour cost for a project estimate. The h:m:s output is what you write on a schedule or a race result. The total-minutes and total-seconds values are useful for comparing items on the same scale - for instance, lining up several song lengths or interval splits without converting each one in your head.
Real-world scenarios this tool solves
Most people reach for a time calculator to answer one concrete question. Here are the situations it handles every day, with the tab you would use for each:
- Totalling a weekly time card. You logged 7:45, 8:10, 6:30, 9:05 and 7:20 across five days. Add them two at a time in the Add/Subtract tab to reach 38:50, then read the decimal-hours figure (38.83 h) to multiply by your pay rate. For a true clock-in/clock-out shift, the Hours Calculator is purpose-built.
- Costing a freelance project. Three sessions of 1:50:00, 2:35:00 and 0:45:00 sum to 5:10:00, or 5.167 decimal hours. At a $90 rate that is $465. Invoicing software wants the decimal number, never the h:m:s string.
- Planning a cooking timeline. A roast needs 25 min to prep, 1:40 to cook and 15 min to rest - 2:20 total. Working backwards from a 7:00 PM dinner means starting at 4:40 PM. Convert cup-and-gram amounts for the same recipe with the Cooking Converter.
- Comparing race or workout splits. Subtract a 24:18 5K from a 26:42 attempt to see you slowed by 2:24, or add four lap times to get a session total. Total-seconds output lines splits up on the same scale.
- Checking an overnight shift or flight. A 23:15 departure landing at 05:40 spans 6:25. Between-times mode adds the day automatically so you never see a misleading negative.
Worked example: adding a full week of hours
Say a part-time schedule reads 4:30, 5:15, 0:00, 6:45, 3:50, 8:00 and 0:00 for the seven days. Chaining the additions: 4:30 + 5:15 = 9:45; + 6:45 = 16:30; + 3:50 = 20:20; + 8:00 = 28:20. In seconds that is 102,000, which divided by 3,600 gives 28.33 decimal hours. At $16/hour the gross pay is about $453. Notice that the running total can exceed 24 hours - the Add/Subtract tab keeps counting up rather than wrapping at midnight, which is exactly what you want for a timesheet but not for a clock time.
12-hour vs 24-hour clock time
The Between-times tab uses the 24-hour clock (00:00 to 23:59) because it removes any AM/PM guesswork: 14:30 is unambiguous, while "2:30" could be morning or afternoon. To translate, hours 13-23 are simply the PM hours plus 12 - 1:00 PM is 13:00, 6:45 PM is 18:45, and midnight is 00:00. If you usually think in AM/PM, convert to 24-hour before entering a start and end so the elapsed-time result lands right. The Add/Subtract and Convert tabs sidestep this entirely because they work with durations, which have no AM or PM.
Rounding rules for payroll and billing
Raw time totals rarely land on a clean number, so most pay and invoicing systems round. The three common rules are:
- Nearest quarter hour (the 7-minute rule): minutes 1-7 round down, 8-14 round up, so 8:08 becomes 8:15 and 8:07 becomes 8:00. This is the classic U.S. timekeeping standard.
- Nearest tenth of an hour (6-minute rule): common for legal and consulting billing, where every 6 minutes is 0.1 hour. A 1:50 task becomes 1.8 hours.
- To the exact minute: no rounding, used when contracts require precise tracking.
Whatever rule applies, round once at the end on the decimal-hours total, not on each entry - rounding every line first lets small errors stack up across a week.
Time calculator vs date calculator vs hours calculator
Three sibling tools cover overlapping ground, and picking the wrong one is the usual source of confusion:
- This time calculator works in hours, minutes and seconds within a single day. Use it to add, subtract or convert durations and to measure a span under 24 hours.
- The Date Calculator works in days, weeks, months and years. Use it to add 90 days to a date or count the days between two calendar dates.
- The Hours Calculator is tuned for shifts: enter clock-in and clock-out times plus a break, and it returns paid hours with overnight handling built in.
A simple test: if your answer is measured in days, use the Date Calculator; if it is a paid work shift, use the Hours Calculator; for everything else in hours-minutes-seconds, this page is the right one. For an exact birthday-to-today span in years and months, the Age Calculator is the better fit.
Tips for accurate time math
- Decide up front whether a value is a duration or a clock time, and use the matching tab. Mixing them is the most common source of error.
- When summing many entries, add them two at a time and keep a running total rather than rounding each one - rounding early compounds the error.
- For payroll, agree on a rounding rule (such as the nearest quarter hour) and apply it once, at the end, to the decimal-hours total.
- For overnight intervals, confirm the overnight assumption is what you want; a same-day end before the start would otherwise look like a negative span.
Limitations and assumptions
- It performs plain clock arithmetic and does not adjust for time-zone offsets or daylight-saving transitions, when a day can be 23 or 25 hours long.
- It works with durations and clock times, not calendar dates; spans longer than a day or across specific dates belong in the Date Calculator.
- Between-times mode assumes a span of at most 24 hours; longer gaps need a date-aware tool.
- Results are a planning and bookkeeping estimate, not an official time record for legal or contractual purposes.
Related concepts and calculators
This page answers "how much time is this, and how do I combine or convert it?" For related questions, a sister tool fits better:
- To total a work shift or a time card across a day, use the Hours Calculator.
- To add or subtract days and find the gap between two calendar dates, use the Date Calculator.
- To find an exact age in years, months and days, use the Age Calculator.
- To split a restaurant bill and figure a gratuity, use the Tip Calculator.
โ ๏ธ Common mistakes & edge cases
Treating time as base-10
Adding 45 minutes and 30 minutes is not "75" - minutes roll over at 60, so the answer is 1 hour 15 minutes. Always carry over at 60, which is exactly what converting to seconds first guarantees.
Multiplying h:m:s by a pay rate
You cannot multiply 1:45 by an hourly wage and get the right pay. Convert to decimal hours first (1:45 = 1.75 h), then multiply. The Convert tab gives you that number directly.
Forgetting the overnight roll-over
From 22:00 to 06:00 is 8 hours, not minus 16. When the end time is earlier than the start, the span crosses midnight - tick the overnight box or rely on the auto-adjust so the result stays positive.
Mixing durations with clock times
"90 minutes" (a duration) and "1:30 PM" (a point in the day) are different things. Use the Add/Subtract tab for durations and the Between-times tab for clock times; combining them gives nonsense.
❓ Frequently asked questions
How do I add two times together?
Convert each duration to a single unit, add them, then convert back. The calculator turns each h:m:s value into total seconds (hours x 3600 + minutes x 60 + seconds), adds the two totals, and reformats the result. For example, 2:45:30 + 1:20:15 = 9930 + 4815 = 14745 seconds, which is 4:05:45.
How do I subtract one time from another?
Switch the operator to minus. The calculator converts both durations to seconds and subtracts the second from the first. If the second duration is longer, the result is negative and is shown with a minus sign so you can see by how much it overshot.
What are decimal hours?
Decimal hours express a duration as a single number of hours instead of hours-and-minutes. Divide the total minutes by 60: 90 minutes is 1.5 decimal hours, and 1:45:00 is 1.75 hours. Payroll, billing and timesheets often need decimal hours because you cannot multiply 1:45 by an hourly rate directly.
How do I convert minutes to hours?
Divide the number of minutes by 60. So 150 minutes is 150 / 60 = 2.5 hours, or 2 hours and 30 minutes. To go the other way, multiply hours by 60 to get minutes. The Convert tab does this for hours, minutes and seconds at once.
How does the calculator handle times that cross midnight?
When you compute the duration between two clock times and the end time is earlier than the start time, the calculator assumes the end is on the next day and adds 24 hours. You can also tick the overnight box to force this. For example, 22:00 to 06:00 returns 8 hours.
What is the difference between a duration and a clock time?
A duration is a length of time, like 1 hour 30 minutes. A clock time is a point in the day, like 1:30 PM. The Add/Subtract and Convert tabs work with durations; the Between-times tab works with two clock times and returns the duration between them.
How many seconds are in an hour?
There are 3,600 seconds in an hour (60 minutes x 60 seconds) and 60 seconds in a minute. A full day has 86,400 seconds. The calculator uses these conversions internally, which is why it can show your duration as hours, minutes or seconds interchangeably.
Does this calculator account for time zones or daylight saving time?
No. It does plain clock arithmetic on the numbers you enter. It does not adjust for time-zone offsets or the one-hour shift on daylight-saving change days. For those cases, calculate each leg in local time first, or use a date-aware tool.
Can the result be negative?
Yes, in the Add/Subtract mode. If you subtract a larger duration from a smaller one, the calculator shows a negative time with a leading minus sign so you can tell the difference and its magnitude. Durations between two clock times are always shown as a positive elapsed time.
How do I add up several time entries, like a week of work hours?
Add them two at a time. Add day one and day two, note the running total, then add day three to that total, and so on. Because the calculator keeps full precision, chaining additions this way gives the same answer as summing them all at once.
How do I convert 12-hour (AM/PM) time to 24-hour time for the Between-times tab?
Keep the morning hours as they are: 9:15 AM is 09:15 and midnight is 00:00. For afternoon and evening, add 12 to the hour: 1:00 PM is 13:00, 6:45 PM is 18:45 and 11:30 PM is 23:30. Noon is the exception at 12:00. Entering both times in 24-hour form makes the elapsed-time result unambiguous.
How do I round time to the nearest quarter hour for payroll?
Use the 7-minute rule: minutes 1-7 round down to the previous quarter and 8-14 round up to the next. So 8:07 becomes 8:00 and 8:08 becomes 8:15. Round once on the final decimal-hours total rather than on each entry, so small errors do not add up across a week.
Should I use the time calculator or the date calculator?
Use the time calculator when your answer is in hours, minutes or seconds within a single day - adding durations, converting to decimal hours, or measuring a span under 24 hours. Use the date calculator when the answer is in days, weeks, months or years, such as counting the days between two calendar dates or adding 90 days to a date.
๐ก Good to know
Why time is base-60
Minutes and seconds use a base-60 (sexagesimal) system inherited from ancient Babylon. That is the whole reason you cannot add times like ordinary numbers - the answer carries over at 60, not at 100.
Decimal hours are what payroll wants
Most timesheet and billing systems expect hours as a decimal (1.75), not as 1:45. Convert before you multiply by a rate, and round only once at the end to avoid drift across many entries.
Overnight spans are handled for you
When an end time falls earlier on the clock than the start, this tool assumes it is the next day and adds 24 hours, so a 22:00-to-06:00 shift correctly returns 8 hours instead of a negative number.
Related Calculators
Tip Calculator
Calculate the tip and split the bill between people
Age Calculator
Calculate your exact age in years, months and days
Date Calculator
Add or subtract days and find the duration between dates
Hours Calculator
Calculate hours worked between two times
Gas Mileage Calculator
Calculate your MPG and fuel cost per trip