Time Calculator

This free online time calculator adds, subtracts, and finds the duration between two times or dates in seconds. Whether you need a quick time difference calculator for a work shift or an hours and minutes calculator for a school project, just enter your values in HH:MM or HH:MM:SS format below and get an instant, accurate result.

Add Times
Subtract Times
Time Duration
Between Dates

First Time

Second Time

Enter your time values to see the result here.

What Is a Time Calculator?

A time calculator is a tool that performs arithmetic on time values — adding, subtracting, or finding the duration between two specific times or dates. Unlike a standard calculator that works in base 10, a time calculator has to handle the base-60 nature of minutes and seconds and the base-24 nature of hours, so you get an accurate HH:MM:SS result without doing the carrying and borrowing by hand.

People use time calculators for scheduling, payroll, project planning, sports timing, cooking, travel planning, video editing, and any situation where hours, minutes, and seconds need to be combined or compared.

How to Add Times

Adding two time values means combining their hours, minutes, and seconds. The rule to remember: carry a minute over to the hours column once minutes reach 60, and carry a second over to the minutes column once seconds reach 60.

2:45:30
+ 1:30:45
─────────
4:16:15

Step by step: 30 + 45 = 75 seconds, which is 1 minute 15 seconds. 45 + 30 + the 1 carried minute = 76 minutes, which is 1 hour 16 minutes. 2 + 1 + the 1 carried hour = 4 hours. Result: 4:16:15.

How to Subtract Times

Subtracting times works the same way in reverse, with borrowing whenever the top value is smaller than the bottom one:

5:10:00
− 2:45:30
─────────
2:24:30

Step by step: 0 − 30 seconds needs a borrow, so it becomes 60 − 30 = 30 seconds (and the minutes column drops by 1). 10 − 1 − 45 minutes also needs a borrow: 69 − 45 = 24 minutes (and the hours column drops by 1). 5 − 1 − 2 = 2 hours. Result: 2:24:30. If the second time is larger than the first, the calculator above will return a negative result rather than an error — see the FAQ on negative results below.

How to Find Duration Between Two Times

Duration is the absolute difference between a start time and an end time, regardless of which one is larger. It answers "how long did this actually take":

Start Time: 09:30:00
End Time: 17:45:00
Duration: 8:15:00 (8 hours 15 minutes)

Calculating Duration Between Two Dates

Sometimes the two points you're comparing don't fall on the same calendar day — an overnight shift, a multi-day event, or a flight that crosses midnight. For those, switch to Between Dates mode instead of Duration mode. It takes a full start date-and-time and end date-and-time, so the day boundary is handled automatically instead of producing a confusing negative number. If you only need the number of calendar days rather than an exact elapsed time, the Days Between Dates Calculator is the more direct tool for that specific question.

Military Time vs. 12-Hour Time

The 24-hour clock, often called military time, numbers the hours from 00 to 23 instead of splitting the day into two 12-hour AM/PM blocks. 13:00 is 1:00 PM, 18:30 is 6:30 PM, and midnight is written as 00:00. This calculator accepts hour values above 23 as well, which isn't standard 24-hour time — it's a running total, useful for expressing durations that stretch across more than one day, such as "the project took 36 hours" instead of "1 day 12 hours."

Converting Decimal Hours to Hours and Minutes

Payroll software and spreadsheets often store time as a decimal — 7.5 hours instead of 7:30. To convert, multiply the decimal part by 60. The table below covers the conversions people look up most often:

Decimal HoursHours & Minutes
0.25 hr15 min
0.50 hr30 min
0.75 hr45 min
1.5 hr1 hr 30 min
2.25 hr2 hr 15 min
7.5 hr7 hr 30 min

Time Format Guide

This calculator accepts times in two standard formats:

  • HH:MM — hours and minutes only. Example: 3:45 means 3 hours and 45 minutes.
  • HH:MM:SS — hours, minutes, and seconds. Example: 1:30:20 means 1 hour, 30 minutes, and 20 seconds.

Hours can exceed 23 — this calculator is not limited to a 24-hour clock. You can enter values like 36:00 to represent 36 hours.

How to Calculate Work Hours for Payroll

A common use of this time duration calculator is turning a clock-in and clock-out time into billable or payable hours. Say an employee clocks in at 8:52 AM and clocks out at 5:07 PM. Enter 8:52 as the start time and 17:07 as the end time in Duration mode, and the calculator returns 8 hours 15 minutes. Many payroll policies then round that figure to the nearest quarter hour — 8:15 in this case needs no rounding, but 8:07 would typically round down to 8:00 and 8:23 would round up to 8:30, depending on your company's rounding rules. Once you have hours per shift, the Salary Hike Calculator can help you work out what a change in hourly rate does to total pay.

Understanding a Negative Time Result

In Subtract mode, if the second time you enter is later than the first, the result will be negative — shown with a leading minus sign, like −1:15:00. This isn't an error; it simply means the second value was larger than the first, which is useful for flagging when a task ran over its allotted time or when a countdown has passed zero. If you always want a positive, "how much time passed" answer regardless of order, use Duration mode instead — it always returns the absolute difference.

Common Uses of a Time Calculator

  • Payroll and work hours: Add up daily work hours across the week to calculate total hours worked for salary or billing purposes.
  • Project and task management: Estimate total time required by adding individual task durations.
  • Sports and fitness timing: Calculate lap times, race durations, training session lengths, or workout intervals.
  • Video and audio editing: Add clip durations, find the total runtime of a project, or calculate the time remaining in a sequence.
  • Cooking and baking: Add cooking, resting, and prep times to find when a meal will be ready.
  • Travel planning: Add flight duration, layover time, and transfer time to calculate total travel time.
  • Meeting and schedule planning: Add meeting durations to find when a series of back-to-back meetings ends.
  • Scientific and academic research: Precisely calculate experiment durations and observation windows.
  • Time Units Conversion: Like how many hours in a month or etc.

Time Conversion Reference

UnitEquals
1 minute60 seconds
1 hour60 minutes = 3,600 seconds
1 day24 hours = 1,440 minutes = 86,400 seconds
1 week7 days = 168 hours = 10,080 minutes
1 month≈ 30.44 days = ≈ 730.5 hours
1 year365 days (366 in leap year) = 8,760 hours

Frequently Asked Questions

How do I add hours and minutes?

Can I subtract a larger time from a smaller time?

What is the difference between Add Times and Duration?

Can I enter hours greater than 24?

How do I convert minutes to hours and minutes?

How do I convert decimal hours to hours and minutes?

How many hours are between two times?

Does this calculator work across two different dates?

What format should I use for seconds?

Final Thoughts

Whether you're adding up a timesheet, subtracting a break from a shift, or working out the duration between two dates, this time calculator handles the HH:MM:SS math instantly so you don't have to carry and borrow by hand. Bookmark it for payroll, project planning, or any time you need a fast, accurate time difference calculator.