# Time Calculator

Use the time calculator below to add or subtract times, convert times to decimal or vice-versa, and calculate the time between times or dates.

## Result:

## On this page:

## How to Add Times

You can add two times or durations together by following a few easy steps:

**Step One:** add the hours, minutes, and seconds together separately.

**Step Two:** if the seconds are larger than 60, add 1 to the minutes and subtract 60 from the seconds.

**Step Three:** if the minutes are larger than 60, then add 1 to the hours and subtract 60 from the minutes.

The result will be the sum of the two times. You can learn more on our time addition calculator.

## How to Subtract Times

You can subtract one time from another by following a few easy steps:

**Step One:** subtract the hours, minutes, and seconds separately.

**Step Two:** if the resulting seconds are a negative number, then add 60 seconds and subtract 1 minute.

**Step Three:** if the resulting minutes are a negative number, then add 60 minutes and subtract 1 hour.

The result will be the difference between the two numbers. You can learn more on our time subtraction calculator.

## How to Convert a Time to Decimal

You can convert a time duration in hours, minutes, or seconds to a decimal using a few different formulas.

### Time to Hours Formula

Use this formula to convert a time to a decimal hours value:

time in hours = H + (M ÷ 60) + (S ÷ 3,600)

### Time to Minutes Formula

Use this formula to convert a time to a decimal minutes value:

time in minutes = (H × 60) + M + (S ÷ 60)

### Time to Seconds Formula

Use this formula to convert a time to seconds:

time in seconds = (H × 3,600) + (M × 60) + S

## How to Calculate Time Duration

You can calculate the time between two times by following a few steps.

**Step One:** convert both times to 24-hour or military time.

**Step Two:** convert time to hours as a decimal. Use our time to decimal calculator, or divide the time in minutes by 60 to get the decimal portion of the hours.

**Step Three:** subtract the start from the end time to get the elapsed time.

The result will be the duration of time in hours. You can also use our time duration calculator to get this result.