Time to Decimal Calculator

Convert time to decimal hours, minutes or seconds, and convert decimal hours back to hours and minutes. Every conversion shows the result in all three decimal units, and a batch of rows is totalled from exact values, which suits time cards and payroll.

  • Both directions
  • Hours, minutes or seconds
  • Exact batch totals
Clock time to decimal
Settings

Example: 01:30:15.250 (1 hour, 30 minutes, 15.25 seconds).Tip: paste a spreadsheet column into any field to add one row per line.

Durations

3 / 1000

These are example values. Type over them or start blank.

Row 1 · Example
Row 2 · Example
Row 3 · Example
Paste multiple values
Import CSV

UTF-8 CSV, up to 1 MB and 1,000 data records. Map the columns before adding entries.

Results

Example result

HH:MM:SS to decimal hours

Total converted time
2.5833 hours
Total duration (HH:MM:SS)
02:35:00
In decimal minutes
155.0000 minutes
In decimal seconds
9300.0000 seconds

3 accepted · 0 blank ignored

The total uses exact durations. Adding rounded displayed rows can give a different number.

Half-up · 0 decimal-second places · 4 decimal places · Version 1.5.2 · T03

Row breakdown

SourceLabelInputNormalized durationDuration exact (ms)Decimal hours
ExampleMeeting01:30:0001:30:005400000/11.5000 hours
ExampleReview00:45:0000:45:002700000/10.7500 hours
ExampleCall00:20:0000:20:001200000/10.3333 hours

How to use the time to decimal calculator

  1. Pick the conversion directionChoose Duration to decimal to turn 01:30:00 into 1.5 hours, or Decimal to duration to turn 1.5 hours, 90 minutes or 5400 seconds into 01:30:00.
  2. Choose the unit and formatSet the decimal unit to hours, minutes or seconds. For durations, pick HH:MM:SS, HH:MM, MM:SS or separate fields.
  3. Enter one value per rowType each time or decimal number on its own row, or paste a column from a spreadsheet. Labels such as dates or job names are optional.
  4. Convert and check the totalSelect Convert time. Each row is listed in the breakdown and the total is shown in hours, minutes and seconds and in every decimal unit.

How to convert time to decimal hours

Divide the minutes by 60 and the seconds by 3,600, then add the whole hours. For 07:45:00 that is 7 + 45 ÷ 60 = 7.75 hours. For 02:45:45 it is 2 + 45 ÷ 60 + 45 ÷ 3,600 = 2.7625 hours, which is also 165.75 minutes or 9,945 seconds.

Hours to decimal is the form most time card and payroll systems use: multiply the decimal hours by the hourly rate. 7.75 hours at a rate of 20 per hour is 155. Entering 7.45 instead would underpay, because 45 minutes is 0.75 of an hour, not 0.45. The minutes to decimal hours chart below lists every minute from 1 to 60.

Minutes to decimal hours chart (1 to 60 minutes)

Each value is minutes ÷ 60, rounded half up to two decimal places. Add the whole hours in front: 8 hours 20 minutes is 8 + 0.33 = 8.33 hours. Use four places, or the calculator, when small rounding differences matter, because 20 minutes is exactly 0.3333… of an hour.

Download the printable chart (PDF, one page), with two- and four-place values for every minute.

Minutes to decimal hours, 1 to 60
MinHoursMinHoursMinHours
10.02210.35410.68
20.03220.37420.70
30.05230.38430.72
40.07240.40440.73
50.08250.42450.75
60.10260.43460.77
70.12270.45470.78
80.13280.47480.80
90.15290.48490.82
100.17300.50500.83
110.18310.52510.85
120.20320.53520.87
130.22330.55530.88
140.23340.57540.90
150.25350.58550.92
160.27360.60560.93
170.28370.62570.95
180.30380.63580.97
190.32390.65590.98
200.33400.67601.00

Convert decimal hours to hours and minutes

Keep the whole number as hours and multiply the decimal part by 60 to get minutes. 8.75 hours is 8 hours plus 0.75 × 60 = 45 minutes, so 08:45:00. If the minutes have a decimal part, multiply that by 60 for seconds: 2.88 hours is 2 hours, 52.8 minutes, which is 02:52:48.

Watch out for 1.30. As a decimal, 1.30 hours is 1 hour 18 minutes (0.30 × 60 = 18), not 1 hour 30 minutes. Choose Decimal to duration to convert it, and the result is 01:18:00.

Decimal hours to minutes
Decimal hoursMinutesDecimal hoursMinutes
0.1060.5030
0.20120.7545
0.25150.8048
0.30180.9054

Seconds or minutes to HH:MM:SS

To turn a number of minutes or seconds into hours, minutes and seconds, choose Decimal to duration and set the decimal input unit to minutes or seconds. 90 minutes and 5,400 seconds both convert to 01:30:00; 78.6 minutes converts to 01:18:36.

By hand, divide seconds by 3,600 for whole hours, then divide the remainder by 60 for minutes; what is left is seconds. 5,400 seconds is 1 hour (3,600 s) with 1,800 seconds left, which is 30 minutes.

Convert a batch and total it

Enter several rows to convert a whole time card at once. 01:30:00, 00:45:00 and 00:20:00 total 02:35:00, which is 2.5833 decimal hours, 155 minutes or 9,300 seconds.

The total is calculated from the exact durations, then rounded for display. Three 20-minute rows show as 0.33 hours each at two decimal places, but they total 1.00 hour, not 0.99. Use the Decimal places setting to show from zero to six places.

Time to decimal in Excel or Google Sheets

Spreadsheets store a time as a fraction of a day, so multiply to convert. With 7:45 in A2, =A2*24 gives 7.75 hours, =A2*1440 gives 465 minutes and =A2*86400 gives 27,900 seconds. Format the result as a number, not a time, and round with =ROUND(A2*24,2) if your payroll system wants two places.

To go back, divide: =A2/24 turns 8.75 into 8:45:00, and =A2/86400 turns 5,400 seconds into 1:30:00. Format those results as [h]:mm:ss (Google Sheets: Format, Number, Duration).

Related time calculations

If you have start and end times rather than durations, the elapsed time calculator finds each span and shows it in decimal hours. To average several durations, use the time average calculator.

Frequently asked questions

How do I convert time to decimal hours?

Divide the minutes by 60, divide any seconds by 3,600, and add both to the whole hours. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours.

How do I convert decimal hours to hours and minutes?

Keep the whole number as hours and multiply the decimal part by 60 for minutes. 8.75 hours is 8 hours and 0.75 × 60 = 45 minutes, so 8:45.

Is 1.30 hours the same as 1 hour 30 minutes?

No. 1.30 decimal hours is 1 hour 18 minutes, because 0.30 × 60 = 18. One hour 30 minutes is 1.5 decimal hours.

What is 15, 30 or 45 minutes as a decimal?

15 minutes is 0.25 hours, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours. Divide any number of minutes by 60 to get decimal hours, or use the 1 to 60 minute chart on this page, which is also available as a printable PDF.

How do I convert time to decimal in Excel?

Multiply the time by 24 for hours, 1,440 for minutes or 86,400 for seconds, and format the result as a number. With 7:45 in A2, =A2*24 returns 7.75. Divide by 24 to convert decimal hours back to a time.

How do I convert seconds to hours, minutes and seconds?

Choose Decimal to duration and set the input unit to seconds. 5,400 seconds converts to 01:30:00. By hand, divide by 3,600 for hours and divide the remainder by 60 for minutes.

How do I use decimal hours on a time card?

Convert each day’s hours and minutes to decimal hours, add them, and multiply the total by the hourly rate. 7 hours 45 minutes is 7.75 hours, and 7.75 × 20 = 155.

Why don’t my rounded rows add up to the total?

Each row is rounded only for display, while the total uses the exact values. Three 20-minute rows show as 0.33 hours each at two decimal places, but their exact total is 1.00 hour.

Can I enter decimals with a comma, such as 1,5?

No. Use a full stop as the decimal separator, as in 1.5. Commas, exponents such as 1e3 and negative values are flagged so that each value has one meaning.

Is decimal time the same as decimal hours?

Not quite. Decimal hours write an ordinary duration as a single number, such as 1.5 hours. Decimal time can also mean the historical system that divides a day into ten hours, which this calculator does not use.