Time to Decimal Calculator
Enter any time in hours, minutes, and seconds to get the equivalent decimal hours, decimal minutes, and total seconds all at once. Switch to reverse mode to convert a decimal back to clock format. Results update as you type, with a step-by-step breakdown of every formula.
Formula
Worked example
2 hr 45 min 30 sec: decimal hours = 2 + (45/60) + (30/3600) = 2 + 0.75 + 0.00833 = 2.75833 hr. Decimal minutes = 120 + 45 + 0.5 = 165.5 min. Total seconds = 7200 + 2700 + 30 = 9930 sec.
Why convert time to decimal?
Most payroll systems, billing software, and spreadsheets store duration as a plain number rather than as hours and minutes. When you enter 2:30 into a cell, most programs treat it as a date-time value rather than 2.5 hours, leading to calculation errors. Converting to 2.5 (decimal hours) lets you multiply by an hourly rate directly, sum multiple durations, and export clean data to any accounting or invoicing tool. Decimal time is the standard in industries such as legal billing, construction, freight, and freelance consulting.
How to convert hours, minutes, and seconds to decimal
The conversion uses three simple formulas. To get decimal hours: add the whole hours to the minutes divided by 60, then add the seconds divided by 3600. For example, 1 hour 45 minutes 30 seconds = 1 + (45/60) + (30/3600) = 1.7583 hours. To get decimal minutes: multiply the hours by 60, add the minutes, and add the seconds divided by 60. To get total seconds: multiply the hours by 3600, multiply the minutes by 60, and add the seconds. All three outputs are shown for every entry so you can paste whichever unit your target system needs.
Reverse conversion: decimal hours back to clock time
Switch to "Decimal hours to clock time" mode and enter any decimal value. The calculator multiplies by 3600 to get total seconds, then uses integer division to peel off the whole hours, then the remaining whole minutes, leaving the leftover seconds. For example, 2.75 hours becomes 2 hours 45 minutes 0 seconds. This reverse path is especially useful when time-tracking apps export decimal totals and you need to read them as a familiar clock time.
Payroll and freelance billing
To calculate gross pay, multiply decimal hours by your hourly rate. Enter your rate in the optional field and the calculator does this automatically. For example, 7 hours 30 minutes at $45/hr = 7.5 hr x $45 = $337.50. The US Fair Labor Standards Act (FLSA) permits rounding time to the nearest 5, 6, or 15 minutes as long as rounding does not systematically favor the employer, so the insight panel flags the nearest quarter-hour value when your entered time falls between quarter-hour marks.
Common time-to-decimal conversions
| Clock time | Decimal hours | Decimal minutes | Total seconds |
|---|---|---|---|
| 5 min | 0.0833 hr | 5 min | 300 sec |
| 10 min | 0.1667 hr | 10 min | 600 sec |
| 15 min | 0.2500 hr | 15 min | 900 sec |
| 20 min | 0.3333 hr | 20 min | 1,200 sec |
| 30 min | 0.5000 hr | 30 min | 1,800 sec |
| 45 min | 0.7500 hr | 45 min | 2,700 sec |
| 1 hr 0 min | 1.0000 hr | 60 min | 3,600 sec |
| 1 hr 15 min | 1.2500 hr | 75 min | 4,500 sec |
| 1 hr 30 min | 1.5000 hr | 90 min | 5,400 sec |
| 2 hr 0 min | 2.0000 hr | 120 min | 7,200 sec |
| 2 hr 30 min | 2.5000 hr | 150 min | 9,000 sec |
| 4 hr 0 min | 4.0000 hr | 240 min | 14,400 sec |
| 8 hr 0 min | 8.0000 hr | 480 min | 28,800 sec |
Quick reference for the most frequently converted clock times. All values are rounded to 4 decimal places.
Frequently asked questions
What is the formula to convert minutes to decimal hours?
Divide the minutes by 60 and add the result to the whole hours. For seconds, also divide by 3600 and add that too. The full formula is: decimal hours = hours + (minutes / 60) + (seconds / 3600). For example, 2 hours 45 minutes = 2 + (45/60) = 2.75 hours.
How do I convert 30 minutes to a decimal?
30 minutes divided by 60 equals 0.5. So 30 minutes alone is 0.5 decimal hours, and 1 hour 30 minutes is 1.5 decimal hours. This is the most common conversion used in payroll: a half-hour break or half-hour overtime appears as 0.5 on a timesheet.
What does 2.5 hours mean in hours and minutes?
2.5 hours equals 2 hours and 30 minutes. Multiply the decimal portion (0.5) by 60 to get the minutes: 0.5 x 60 = 30. More generally, take the decimal part of any decimal-hours value and multiply by 60 to find the remaining minutes, then multiply any leftover decimal by 60 again to find the seconds.
How is time used in payroll calculations?
Payroll software records worked time as decimal hours (e.g. 7.25) rather than clock time (7:15), because you cannot multiply hours:minutes by a dollar rate directly. Gross pay is simply decimal hours multiplied by the hourly rate. To convert punch-in and punch-out times manually: subtract to get elapsed clock time, then convert that to decimal hours using hours + (minutes/60), and multiply by the rate.
What is the difference between decimal time and clock time?
Clock time uses base-60 for minutes and seconds (60 minutes per hour, 60 seconds per minute), inherited from ancient Babylonian astronomy. Decimal time expresses duration as a plain base-10 number of hours. There is also a historical "decimal time" system from the French Revolution (10 hours per day, 100 minutes per hour) but that is rarely used today. When people say "decimal time" now, they almost always mean expressing hours as a decimal fraction, such as 2.5 instead of 2:30.
How do I convert seconds to decimal hours?
Divide the total seconds by 3600 (the number of seconds in one hour). For example, 9000 seconds divided by 3600 equals 2.5 hours. If you have hours, minutes, and seconds together, use: decimal hours = hours + (minutes / 60) + (seconds / 3600).