Time to Decimal Converter (HH:MM ⇄ Hours)
Convert clock time like 2:30 to decimal hours (2.5) and back for timesheets and payroll — 100% in your browser, no upload.
2.5
2:30
🔒 Runs in your browser — nothing is uploaded.
Convert time to decimal hours (and back)
Enter a clock time such as 2:30 and this tool shows it as 2.5 decimal hours; type a decimal like 8.25 and it shows 8:15. It accepts both HH:MM and HH:MM:SS, and hours are not capped at 24, so a weekly total like 40:00 converts cleanly to 40. Minutes and seconds are validated to the 0–59 range, so a typo such as 1:75 is flagged instead of being silently miscounted. Everything is computed locally in your browser — nothing you type is uploaded.
Why decimal hours matter for payroll
Most payroll and billing systems multiply an hourly rate by hours worked, and they expect hours as a decimal, not as minutes. Thirty minutes is not 0.30 of an hour — it is 0.5 — and getting that wrong quietly under- or over-pays every timesheet. This converter does the exact arithmetic (minutes ÷ 60 and seconds ÷ 3600), so 15 minutes becomes 0.25, 20 minutes becomes about 0.333, and 45 minutes becomes 0.75. Copy the result straight into a spreadsheet or invoice.
Frequently asked questions
How do I convert 2:30 to decimal hours?
Two hours and thirty minutes is 2 + 30/60 = 2.5 decimal hours. Type 2:30 into the time field to see 2.5 instantly, or type 2.5 into the decimal field to get 2:30 back.
How are minutes converted to a decimal?
Divide the minutes by 60. So 15 minutes is 15/60 = 0.25, 20 minutes is about 0.333, and 45 minutes is 0.75. Seconds are divided by 3600 and added on, which is why HH:MM:SS is supported too.
Can it handle more than 24 hours for a weekly timesheet?
Yes. Hours are not capped, so 40:00 converts to 40 and 100:30 converts to 100.5. Only the minutes and seconds fields are restricted to 0 to 59.
Is my data uploaded anywhere?
No. Every conversion runs locally in your browser with JavaScript. Nothing you enter is sent, stored, or uploaded.