Time to Decimal Calculator

Turn a time like 01:40:38 into decimal hours, total minutes and total seconds, or add up a whole list of durations.

Read 12:45 as
Decimal places

Convert a duration

Or use separate fields:

Decimal hours
hours
Total minutes
Total seconds
HH:MM:SS

Add up several durations

One duration per row, in any of the formats above. Check the "Read 12:45 as" setting at the top. Start a row with a minus sign, like -0:15, to subtract it. Press Enter to add a new row.

Paste a list of times
Total time
, from
Decimal hours
Total minutes
Total seconds
Average per row

How to use the time to decimal calculator

  1. Type a duration like 01:40:38 into the first box, or fill in hours, minutes and seconds separately. The two stay in sync.
  2. Read the answer in decimal hours, total minutes and total seconds. Press Copy to paste a number into a timesheet, invoice or spreadsheet.
  3. To add up several times, use the second calculator. Enter one duration per row, or open Paste a list of times and paste them all at once.
  4. Choose 2, 4 or 6 decimal places at the top. Payroll usually wants 2.
  5. Adding up video or song lengths written like 12:45? Set Read 12:45 as to minutes:seconds first.

Common times as decimal hours

TimeDecimal hoursTotal minutes
0:15:000.2515
0:30:000.530
0:45:000.7545
1:20:001.333380
1:30:001.590
1:40:381.6772100.6333
2:45:002.75165
7:30:007.5450

The formula

Decimal hours = hours + minutes ÷ 60 + seconds ÷ 3600. Total minutes = hours × 60 + minutes + seconds ÷ 60. Total seconds = hours × 3600 + minutes × 60 + seconds.

For example, 2 hours 15 minutes 36 seconds is 2 + 15 ÷ 60 + 36 ÷ 3600 = 2.26 hours, which is 135.6 minutes or 8,136 seconds.

Who uses it

Need the hours between a start and an end time instead? Use the hours calculator.

Frequently asked questions

How do I convert hh:mm:ss to decimal hours?

Divide the minutes by 60 and the seconds by 3600, then add them to the hours. For 01:40:38 that is 1 + 40 ÷ 60 + 38 ÷ 3600 = 1.6772 hours.

Why is 1:30 equal to 1.5 hours and not 1.3?

An hour has 60 minutes, not 100. Thirty minutes is half an hour, so 1 hour 30 minutes is 1.5 hours. Writing 1.3 would mean 1 hour and 18 minutes.

Which formats can I type?

Use hours:minutes:seconds like 01:40:38, a two part time like 1:40, or words like 1h 40m 38s or 90 min. A plain number on its own, like 90, is read as minutes.

Does 12:45 mean 12 hours or 12 minutes?

You choose. By default a two part time is read as hours:minutes, which suits timesheets. Switch "Read 12:45 as" to minutes:seconds for video lengths, songs or lap times. Times with three parts, like 0:12:45, are always hours:minutes:seconds.

Can I add up several times?

Yes. Use the second calculator to add as many durations as you like, for example video lengths, task times or laps. Start a row with a minus sign, like -0:15, to subtract it. You can also paste a whole list, one time per line.

Is this the same as the hours calculator?

No. This tool converts a length of time you already have. If you want the time between a start and an end, such as a work shift with a break, use the hours calculator instead.