Decimal hours converter
Convert a worked duration to decimal hours, or a timesheet decimal back to hours, minutes and seconds.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Switch between hours and minutes and decimal hours. For example, 7:45 becomes 7.75 hours; 7.63 decimal hours becomes 7:37:48. Minutes after a colon use base 60, while decimal digits are fractions of an hour.
How to use this tool
- Choose duration to decimal hours or decimal hours to duration.
- Enter one value. When converting to decimal, choose 2, 4 or 6 places and check the preview.
- Convert, then copy the main value or download the TXT result. Check the displayed duration before entering rounded values in a timesheet.
Supported inputs and limits
Convert one duration or decimal value at a time. Durations use H:MM or H:MM:SS; decimals accept up to nine fractional digits and a maximum of 1,000,000 hours.
For duration to decimal, choose 2, 4 or 6 places. Decimal to duration rounds to the nearest whole second. A rounded decimal may not reconstruct the exact original duration.
This converts elapsed durations only. It does not calculate clock-in/out times, breaks, overtime, pay, dates or time zones. Input stays in your browser.
Worked example
Example input
07:45
Example options
{"mode":"to-decimal","places":"2"}Example output
7.75
When something does not work
Use H:MM or H:MM:SS for durations and a decimal number for decimal hours. The tool does not accept clock times or multiple entries.
Frequently asked questions
Is 7:30 the same as 7.30 decimal hours?
No. 7:30 is seven hours and 30 minutes, equal to 7.50 decimal hours. 7.30 decimal hours is seven hours and 18 minutes.
Why does 7:38 become 7.63, but 7.63 converts back to 7:37:48?
7:38 is about 7.633333 decimal hours. Rounding it to two decimal places loses 12 seconds. Use more places if you need a closer round trip.
Does this calculate wages or overtime?
No. It only converts one elapsed duration. Follow the rounding and pay rules used by your timesheet or employer.
Is my input sent to a server?
No. Conversion runs in your browser. Save the TXT result if you need to keep it.
Documentation & further reading
Related tools
Timestamp converter
Convert integer Unix timestamps and known-offset dates, with UTC and IANA-zone display.
Time zones and UTC formatting
Resolve time zones and daylight-saving ambiguity, or format an instant in UTC.
Days between dates
Find out just how far apart two dates are.
Add or subtract dates
Add or subtract time from a chosen date.