What is the Time to Decimal Calculator?
This calculator converts a time duration expressed in hours, minutes, and seconds into a single decimal number of hours. Decimal hours are widely used in payroll, time tracking, freelance billing, and any system that multiplies worked time by an hourly rate. For example, 7 hours and 30 minutes is far easier to bill as 7.5 hours than as a mixed time value.
How to use it
Enter the number of hours, minutes, and seconds of your duration. The calculator instantly returns the equivalent value in decimal hours, along with the total in minutes and seconds for reference. Minutes and seconds should normally be between 0 and 59, but the math works for any non-negative values.
The formula explained
The conversion is straightforward: divide minutes by 60 (since there are 60 minutes in an hour) and seconds by 3600 (since there are 3600 seconds in an hour), then add these fractions to the whole hours:
$$\text{decimal hours} = h + \frac{m}{60} + \frac{s}{3600}$$
Worked example
Suppose you worked 2 hours, 45 minutes, and 30 seconds. The minutes contribute \(45 / 60 = 0.75\) hours, and the seconds contribute \(30 / 3600 \approx 0.00833\) hours. Adding these to the 2 whole hours gives $$2 + 0.75 + 0.00833 = 2.75833 \text{ decimal hours.}$$
FAQ
Why convert time to decimal? Decimal hours multiply cleanly by hourly rates, making payroll and invoicing calculations simple and consistent.
How do I convert 15 minutes to decimal? \(15 / 60 = 0.25\), so 15 minutes equals 0.25 hours.
Can I ignore seconds? Yes — just leave the seconds field at 0 if your durations only use hours and minutes.