Decimal Time Converter: How It Works
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This decimal time converter turns standard hours, minutes, and seconds into decimal hours (or decimal minutes), and back again. You enter a time in the normal hh:mm:ss format and get the equivalent decimal value, which is what payroll, billing, and time-tracking systems use for calculations.
Formula
Decimal time expresses a duration as a fraction of an hour (or a minute) rather than in base-60 units. The core formulas are:
- Decimal hours = hours + (minutes / 60) + (seconds / 3600)
- Decimal minutes = (hours × 60) + minutes + (seconds / 60)
- Decimal seconds = (hours × 3600) + (minutes × 60) + seconds
Where hours, minutes, and seconds are the integer parts of the time you start with. The result is a pure number (no base-60 carry-over), so 1 hour 30 minutes becomes 1.5 decimal hours, not 1.30.
Worked Example
Using the default input of 2:30:00 (2 hours, 30 minutes, 0 seconds):
- Decimal hours: 2 + (30 / 60) + (0 / 3600) = 2 + 0.5 + 0 = 2.50 hours
- Decimal minutes: (2 × 60) + 30 + (0 / 60) = 120 + 30 + 0 = 150 minutes
The calculator shows 2.50 decimal hours and 150 decimal minutes, matching the formulas above.
Why Use Decimal Time?
Decimal time is standard in contexts where arithmetic on time values is needed. Payroll systems, for example, often record hours worked as 7.75 instead of 7:45 because multiplying a decimal by an hourly rate is straightforward. Similarly, project management software, time-tracking apps, and scientific data logging use decimal hours to simplify averaging, summing, and graphing.
It is also common in engineering and transportation. A speed of 60 km/h means 1 km per minute, but a time of 1:15 (1 hour 15 minutes) is not 1.15 hours – it is 1.25 hours. Converting to decimal avoids that confusion.
How to Convert Manually
If you do not have a calculator handy, the conversion is simple once you remember that one hour has 60 minutes and one minute has 60 seconds.
- To get decimal hours: divide the minutes by 60, divide the seconds by 3600, and add them to the whole hours.
- To get decimal minutes: multiply the hours by 60, add the minutes, then add the seconds divided by 60.
- To convert back from decimal hours: the integer part is the hours, the fractional part times 60 gives minutes, and the fractional part of that times 60 gives seconds.
For example, 3.75 decimal hours is 3 hours plus 0.75 × 60 = 45 minutes, so 3:45.
Common Mistakes and Pitfalls
The most frequent error is treating minutes as if they were hundredths of an hour. Writing 1.5 hours as 1:50 is wrong – 1.5 hours is 1 hour 30 minutes. Another common mistake is forgetting that seconds also need dividing by 3600, not 60, when converting to decimal hours. A time of 0:90:00 (if you enter it) is not valid standard time, but the calculator will still interpret it as 90 minutes and give 1.5 hours – always enter times in proper hh:mm:ss format.
Rounding is another issue. Many payroll systems round to two decimal places, so 2 hours 59 minutes becomes 2.98 hours, not 3.00. If you need exact totals, keep more decimal places during intermediate steps and round only at the end.
Decimal Time vs. Metric Time
Do not confuse decimal time with metric time, which is a different system where a day is divided into 10 hours, each hour into 100 minutes, and each minute into 100 seconds. That system was proposed during the French Revolution but never widely adopted. The converter on this page works with standard hours and minutes – it just expresses the result as a decimal fraction of an hour or minute. Metric time would require a completely different formula, and it is not used in payroll, science, or everyday life today.
Where Decimal Time Is Used
- Payroll and billing: timesheets often record 8.25 hours instead of 8:15.
- Scientific data: experiments log timestamps as decimal hours for easier statistical analysis.
- Transport and logistics: journey times are converted to decimal hours for fuel consumption or speed calculations.
- Sports timing: race results may be given in decimal minutes or hours for ranking.
- Time tracking software: many apps store durations as decimal values internally, even if they display them as hh:mm.
Frequently Asked Questions
How do I convert 1 hour 30 minutes to decimal?
Divide the 30 minutes by 60 to get 0.5, then add the 1 hour. The result is 1.5 decimal hours. In decimal minutes, it is 90 minutes.
What is 45 minutes in decimal hours?
45 divided by 60 equals 0.75. So 45 minutes is 0.75 of an hour. If you have 2 hours and 45 minutes, that is 2.75 hours.
How do I convert decimal hours back to hh:mm?
Take the integer part as the hours. Multiply the fractional part by 60 to get minutes. If there is still a fraction, multiply that by 60 to get seconds. For example, 4.6 hours is 4 hours and 0.6 × 60 = 36 minutes.
Is decimal time the same as military time?
No. Military time (or the 24-hour clock) still uses 60 minutes per hour; it just writes 3:00 PM as 15:00. Decimal time uses a base-10 fraction of an hour, so 3:00 PM is 15.0 decimal hours if you count from midnight, but that is a different concept.
Why do payroll systems use decimal hours?
Because multiplying a decimal by an hourly rate is simple and avoids errors from converting minutes. For example, 7.5 hours at $20/hour is $150, whereas 7:30 requires an extra conversion step. Most payroll software stores and calculates in decimal hours, then formats the display for humans.
What is 15 minutes in decimal?
15 divided by 60 equals 0.25. So 15 minutes is 0.25 hours. In decimal minutes, it is simply 15 minutes.
Related
Formula used
in t | Time (hh:mm:ss) | hh:mm:ss | 2:30:00 | 0 out dec_hours | Decimal hours | h | (hours + minutes/60 + seconds/3600) | 2 out dec_minutes | Decimal minutes | min | (hours*60 + minutes + seconds/60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.