Time calculators

Time Calculator

Updated Sep 1, 2026 By Jehan Wadia
Rate Formulas
Time Addition & Subtraction
Operation
=
Days
Hours
Minutes
Seconds
Time Expression Calculator
Use HH:MM:SS or H:MM:SS format. Separate with + or − signs. You can also prefix days like 1d 2:30:00
Result
Total4:30:30
In Days, Hours, Min, Sec0 days, 4 hours, 30 minutes, 30 seconds
Total Seconds16,230
Total Minutes270.50
Total Hours4.51
Multi-Duration Adder
Add multiple time durations together. Click "Add Duration" to add more rows.
Total
0:00:00
Total Seconds
0
Total Minutes
0.00
Total Hours
0.00
Date & Time Difference Calculator
Difference
Alternative
Breakdown
Years
Months
Weeks
Days
Hours
Minutes
Seconds
Total Days
Total Hours
Total Minutes
Total Seconds

Introduction

This free Time Calculator lets you add, subtract, and compare time values with ease. Add hours and minutes together, find the difference between two dates, or total up multiple time durations with this tool. It works with days, hours, minutes, and seconds so you get exact results every time. Use the simple fields to enter your values, or type a full time expression for quick calculations. This calculator is built for students, workers, and anyone who needs fast and accurate time arithmetic without the hassle of doing it by hand.

How to Use Our Time Calculator

This tool lets you add, subtract, and compare time values. Enter your time data in any of the four sections below, and the calculator will instantly give you the result in multiple formats.

Time Addition & Subtraction

Days, Hours, Minutes, Seconds (First Row): Enter the first time duration using the four fields for days, hours, minutes, and seconds.

Operation: Choose either Add (+) or Subtract (−) to pick how the two time values are combined.

Days, Hours, Minutes, Seconds (Second Row): Enter the second time duration you want to add to or subtract from the first.

Calculate: Press the Calculate button to see the result displayed in days, hours, minutes, and seconds. The total in seconds and hours also appears below.

Time Expression Calculator

Time Expression: Type a math expression using time values in HH:MM:SS format separated by + or − signs. For example, type 1:30:00 + 2:45:30 - 0:15:00. You can add a day prefix like 1d 2:30:00.

Calculate: Press Calculate to see the total time, total seconds, total minutes, and total hours.

Multi-Duration Adder

Duration Rows: Each row has three fields for hours, minutes, and seconds. Enter a time duration in each row.

Add Duration: Click this button to add more rows if you need to sum more than three time durations.

Calculate: Press Calculate to see the combined total of all rows. A bar chart also appears to compare each duration side by side.

Date & Time Difference Calculator

Start Date & Time: Pick the earlier date and time using the date picker.

End Date & Time: Pick the later date and time. If you swap them by accident, the calculator will fix the order for you.

Calculate: Press Calculate to see the exact difference broken down into years, months, weeks, days, hours, minutes, and seconds. You will also see the total expressed as days, hours, minutes, and seconds.

What Is Time Arithmetic?

Time arithmetic is the process of adding, subtracting, or comparing lengths of time. Unlike regular math, time does not work in groups of 10. Instead, there are 60 seconds in a minute, 60 minutes in an hour, and 24 hours in a day. This makes doing math with time harder by hand. For example, if you add 45 minutes and 30 minutes, you get 75 minutes, which equals 1 hour and 15 minutes. You have to convert the extra minutes into hours yourself.

How to Add and Subtract Time

To add time, start by adding the seconds together. If the total is 60 or more, carry over to minutes. Then add the minutes. If they reach 60 or more, carry over to hours. Finally, add the hours, and carry over to days if needed. Subtraction works the same way but in reverse. If you do not have enough seconds or minutes to subtract, you borrow from the next larger unit, just like borrowing in regular subtraction.

When Do You Need a Time Calculator?

People use time math every day. Workers track how many hours they spend on tasks. Runners add up lap times. Project managers figure out how long a job will take, sometimes counting only business days. Teachers calculate class schedules. A time calculator gives you an exact answer in seconds, minutes, hours, and days. It also helps you find the difference between two dates, which is useful for counting down to events, tracking deadlines, or figuring out someone's age.

Key Time Conversion Facts

  • 1 minute = 60 seconds
  • 1 hour = 60 minutes = 3,600 seconds
  • 1 day = 24 hours = 1,440 minutes = 86,400 seconds
  • 1 week = 7 days = 168 hours

Keeping these numbers in mind makes it easier to check your work or do quick estimates when you do not have a calculator handy.


Formulas used

Time to Total Seconds
T_{\text{seconds}} = D \times 86400 + H \times 3600 + M \times 60 + S
Time Addition
T_{\text{result}} = T_{1_{\text{seconds}}} + T_{2_{\text{seconds}}}
Time Subtraction
T_{\text{result}} = T_{1_{\text{seconds}}} - T_{2_{\text{seconds}}}
Seconds to Days, Hours, Minutes, Seconds
D = \left\lfloor \frac{T}{86400} \right\rfloor,\quad H = \left\lfloor \frac{T \bmod 86400}{3600} \right\rfloor,\quad M = \left\lfloor \frac{T \bmod 3600}{60} \right\rfloor,\quad S = T \bmod 60
Total Hours from Seconds
H_{\text{total}} = \frac{T_{\text{seconds}}}{3600}
Total Minutes from Seconds
M_{\text{total}} = \frac{T_{\text{seconds}}}{60}

Frequently asked questions

What if I pick the end date before the start date in the Date Difference section?

The calculator will automatically swap the two dates and still give you the correct result. It will add the word (swapped) to the output so you know the order was reversed.

Can I calculate time across midnight?

Yes. Use the Date & Time Difference Calculator section. Pick a start time before midnight and an end time after midnight, and it will give you the correct difference.