Time Calculator
Add or subtract hours, minutes, and seconds easily. Calculate time duration, elapsed time, and convert to decimal hours for scheduling and timekeeping.
Time Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Total = Time1 ± Time2 (converted to/from seconds)
Worked example — 6h 15m 0s (6.25 decimal hours)
Reviewed for accuracy by Abdullah, Technical Content Specialist · Editorial policy
Time Calculator Formula
Total = Time1 ± Time2 (converted to/from seconds)
Convert each time value to total seconds, perform the operation, then convert back by dividing by 3600 for hours, 60 for minutes, and remainder for seconds.
Time Calculator — Worked Examples
Example 1: Add 2h 45m + 3h 30m
Problem:Time 1: 2h 45m 0s, Time 2: 3h 30m 0s, Operation: Add
Solution:2×3600 + 45×60 = 9900s; 3×3600 + 30×60 = 12600s; Total = 22500s
Result:6h 15m 0s (6.25 decimal hours)
Example 2: Subtract 14:30 − 09:45
Problem:Time 1: 14h 30m 0s, Time 2: 9h 45m 0s, Operation: Subtract
Solution:14×3600 + 30×60 = 52200s; 9×3600 + 45×60 = 35100s; Difference = 17100s
Result:4h 45m 0s (4.75 decimal hours)
Time Calculator — Frequently Asked Questions
How do I add hours, minutes, and seconds?
Convert each time to total seconds (hours×3600 + minutes×60 + seconds), add them together, then convert back. Example: 2h 45m + 3h 30m = (9900 + 12600) = 22500 seconds = 6h 15m 0s. Time Calculator handles the conversion automatically.
How do I convert time to decimal hours?
Divide total minutes by 60. Example: 2h 45m = 2 + (45/60) = 2.75 decimal hours. For seconds: 2h 45m 30s = (2×3600 + 45×60 + 30) / 3600 = 9930 / 3600 = 2.7583 hours. Decimal hours are used in payroll, billing, and spreadsheets.
What is elapsed time and how is it calculated?
Elapsed time is the total duration between a start and end point. Calculate it by subtracting the start time from the end time. If a process started at 09:45 and ended at 14:30, the elapsed time is 4h 45m. Time Calculator performs that subtraction for you across hours, minutes, and seconds.
How do I calculate overtime hours?
Subtract your standard hours from total hours worked. If standard is 8h and you worked 10h 30m, overtime = 10h 30m − 8h 0m = 2h 30m = 2.5 hours. At time-and-a-half (1.5×), multiply decimal overtime by 1.5 to get overtime pay hours. Use the subtract operation in Time Calculator for the difference.
What is 1.5 hours in hours and minutes?
1.5 hours = 1 hour and 30 minutes. The decimal portion (0.5) multiplied by 60 gives the minutes: 0.5 × 60 = 30 minutes. Similarly: 2.25 hours = 2h 15m, 3.75 hours = 3h 45m. Time Calculator shows both the H:M:S format and the decimal hours in every result.
How do you subtract times when the minutes of the second value are larger?
Borrow an hour the way you borrow a ten in ordinary subtraction, except that an hour is worth 60 minutes. To work out 5h 10m minus 2h 45m, rewrite the first value as 4h 70m, then subtract column by column to get 2h 25m. Checking in minutes confirms it: 310 minus 165 is 145 minutes, which is 2h 25m. Time Calculator sidesteps the borrowing entirely by converting both values to seconds first.
What is the difference between decimal hours and decimal minutes?
Decimal hours express minutes as a fraction of an hour, so 0.25 hours is 15 minutes. Decimal minutes express seconds as a fraction of a minute, so 0.25 minutes is only 15 seconds. Payroll systems that report hundredths of an hour are the usual source of confusion: a timesheet line reading 7.30 means 7 hours and 18 minutes, because 0.30 times 60 is 18. Check which unit a figure is in before multiplying it by a pay rate.
Why can the result be negative, and what does a negative duration mean?
A negative result appears when you subtract a longer duration from a shorter one, and the calculator reports the magnitude with a minus sign rather than wrapping around a clock face. Read it as a signed difference: minus 2h 30m against a 40-hour target means you are two and a half hours short, and against a reference split it means you are that far behind. Swap the two inputs if you would rather see the gap as a positive amount.
Why does Time Calculator not account for daylight saving time or date boundaries?
Because it works on durations rather than on calendar instants. Both inputs are collapsed to a count of seconds, combined, and expanded again, with no date attached at any stage. A span running across a spring-forward transition covers one hour less wall-clock time than the clock readings suggest, and one hour more across the autumn transition, so reach for a date-aware duration tool in those cases and for spans crossing midnight.
How do I total a column of times in a spreadsheet without it rolling over at 24 hours?
Spreadsheets store a time as a fraction of a day, so a plain time format rolls over past 24 hours and a 30-hour total displays as 6:00. Apply a custom number format with the hour code in square brackets, written as [h]:mm, which lets the hours accumulate beyond 24. To turn that total into decimal hours for billing or payroll, multiply the summed cell by 24 and format the result as an ordinary number.
Time Calculator — Background & Theory
History of the Time Calculator
Related Calculators
🧮Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between any two dates.
🧮Add Days to Date Calculator
Add or subtract days, weeks, months, or years from any date to find the resulting date.
🧮Date to Julian Day Converter
Convert between calendar dates and Julian Day Numbers used in astronomy and programming.
🧮Date Range Generator
Generate a list of all dates between two dates with customizable intervals.
🧮Stopwatch Lap Time Calculator
Calculate average, best, and worst lap times from a list of split times.
🧮Break Time Calculator
Calculate entitled break times based on shift length and labor law requirements.
🧮Date of Birth Calculator
Calculate date of birth from current age or age at a specific date.
🧮Due Date Calculator by Conception Date (Not LMP)
Calculate pregnancy due date from exact conception date instead of last menstrual period.