Time calculator: add and subtract hours, minutes, seconds
Add or subtract any number of times in hours, minutes and seconds, multiply or divide a total, and get the result in h:mm:ss, decimal hours and minutes.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Adding up time is awkward because 60 minutes make an hour, not 100. This calculator accepts a list of times in whatever format you have (1:45, 2:30:15, 1h 20m, 90 min, 1.5h) adds or subtracts them line by line, and can multiply or divide a running total. It shows the result as hours:minutes:seconds, days and hours, decimal hours, total minutes and total seconds, with a running total for each line so you can check the arithmetic.
Typical uses are totalling hours on a project, adding up video clip lengths, or working out how long five 7.5-hour shifts come to.
How to use it
- Type one time per line, such as 1:45 or 90 min.
- Start a line with − to subtract it, or with × or ÷ followed by a number to multiply or divide the total so far.
- Choose what plain numbers without units mean: minutes, hours or seconds.
- Run the calculation and read the total in the format you need.
How the calculation works
Every line is converted to seconds, then added, subtracted, multiplied or divided in order. The total is shown as h:mm:ss, d/h/min, decimal hours (seconds ÷ 3,600), minutes and seconds.
total = Σ(± hours × 3600 + minutes × 60 + seconds)Worked example
A freelancer logs 1:45, 2:30 and 90 min on a project, minus a 20-minute call that was billed elsewhere. Entering the four lines (the third as "- 0:20") gives 5:25:00, or 5.4167 decimal hours and 325 minutes. Five shifts of 7.5h entered as "7.5h" then "x 5" give 37:30:00.
Sample input and result
Times, one per line (start a line with − to subtract, × or ÷ to multiply or divide): 2:45:30 1h 20m + 45 min − 0:15 Plain numbers are: Minutes → Total (hours:minutes:seconds): 4:35:30 → Total in days, hours and minutes: 4 h 35 min 30 s → Decimal hours: 4.5917 → Total minutes: 275.5 → Total seconds: 16,530
Limitations
- Durations, not clock times: for "what time will it be", use the clock time calculator.
- Multiplication and division apply to the running total at that line.
- Up to 100,000 characters of input.
Last updated:
Frequently asked questions
How do I add hours and minutes?
Put each time on its own line, such as 1:45 and 2:30, then press Run. The calculator converts everything to seconds, adds them and shows 4:15:00, which is 4 hours 15 minutes or 4.25 decimal hours.
How do I convert minutes to decimal hours?
Divide the minutes by 60. For example, 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours. The result panel shows decimal hours for any total.
Is 1:30 read as hours and minutes or minutes and seconds?
Two-part times are hours:minutes. Use 0:01:30 for one minute thirty seconds.
How do I convert the total to decimal hours for an invoice?
The result shows decimal hours directly, e.g. 5 h 25 min = 5.4167 hours.
Can the total be negative?
Yes, if you subtract more than you add; it is shown with a minus sign.
Troubleshooting
A line is not understood.
Use formats like 1:30, 1h 30m, 90 min, 45s or 1.5h; avoid words such as "hours and".
Plain numbers are wrong by a factor of 60.
Change "plain numbers are" to the unit you meant.
Decimal hours look odd.
Decimal hours are fractions of an hour: 15 minutes is 0.25, not 0.15.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Date difference calculator
Count elapsed calendar days and equivalent weeks between two dates, excluding the end date.
Date & timeAge calculator
Calculate completed years, months and days at a reference date. Month-end anniversaries clamp to the last valid day.
Date & timeAdd or subtract days
Move a calendar date forward or backward by a whole number of days.
Date & time