Date & Time Tools
Decimal Time Converter
Convert HH:MM or HH:MM:SS to decimal hours and back. Batch a timesheet column for payroll, billing, and spreadsheet exports.
Converter mode
Enter HH:MM or HH:MM:SS to see the decimal-hour value used by payroll and billing systems.
Decimal precision
Two decimal places is the payroll standard. Use more for billing or scientific work.
Examples: 7:30, 07:27, 1:45:30, 38:15. Values above 24 hours are allowed for weekly totals.
Common conversions
How decimal hours work
- The math: decimal hours equal the total seconds divided by 3600. One minute is 0.0166... of an hour; one second is 0.000277... of an hour. The calculation is the same in every payroll system.
- Quarter hours: 15 minutes is 0.25 hours, 30 minutes is 0.5 hours, 45 minutes is 0.75 hours. These four values cover most rounded-shift entries.
- Rounding to two places: payroll systems usually store decimal hours to two decimal places. 7:27 rounds to 7.45 and 7:28 rounds to 7.47, so the difference of a single minute is two hundredths of an hour.
- Weekly totals: values above 24 hours are intentional in this tool. A 38:15 weekly total converts to 38.25 decimal hours, exactly what a wage spreadsheet expects.
When to use which mode
- Time to decimal: you have an HH:MM value from a clock-in app or schedule and your payroll system wants the decimal column.
- Decimal to time: your payroll export shows 7.45 hours and you need to verify how that lands on the clock for a manual timesheet correction.
- Batch: you have a whole column of times from a CSV or spreadsheet and want the matching decimal column plus the weekly total in one paste.
- Decimal minutes: some billing systems track minutes rather than hours; the result card shows both.
How to use
- Pick a mode at the top: Time to decimal for a single HH:MM value, Decimal to time to invert, or Batch to convert a column of times at once.
- Choose the decimal precision (2, 3, or 4 places). Two is the payroll default; pick higher for billing or scientific work.
- Type a single time like 7:30 or a decimal like 7.5, or paste a column of timesheet lines into the batch input. Results update on every keystroke.
- Read the decimal hours, decimal minutes, total seconds, and HH:MM:SS rows in the result panel. In batch mode the aggregated total appears at the top.
- Use Copy summary in single-value modes, or Copy decimals and Copy as table in batch mode, to paste straight into a spreadsheet or payroll export.
About this tool
Decimal Time Converter turns a clock-style time entry like 7:30 or 7:27:00 into the decimal-hour value used by every payroll system, time-tracking app, and billable-hours spreadsheet (7.5 and 7.45 respectively), and inverts the same conversion when you need to verify a decimal export against the original timesheet. The math is the same in every system: total seconds divided by 3600 gives decimal hours, and decimal hours times 3600 gives total seconds; the tool just makes the conversion fast, copy-ready, and consistent across single values and full columns. The Time to decimal mode accepts HH:MM, HH:MM:SS, or even bare-hour entries, allows totals above 24 hours (a 38:15 weekly total is intentionally valid and converts to 38.25), and reports decimal hours, decimal minutes, and total seconds so you can copy whichever column your downstream system expects. The Decimal to time mode handles dot and comma decimal styles, rounds to the nearest second, and returns both the full HH:MM:SS and the minutes-rounded HH:MM form for timesheets that only track to the minute. The Batch mode is the practical workhorse: paste a column of HH:MM lines from a clock-in app, a CSV export, or a printed schedule, and the tool returns a matching decimal column ready to paste into Excel, Google Sheets, or Numbers, plus the aggregated weekly total in both HH:MM:SS and decimal form. Decimal precision is user-selectable at two, three, or four decimal places: two is the payroll standard, three matches some billing systems, and four covers scientific reporting. Quick examples cover the conversions support teams answer the most (1:30 to 1.5, 1:45 to 1.75, 7:27 to 7.45, 0:45 to 0.75, and the inverse from 1.5, 1.75, 7.45, 0.25), and the explainer panels lay out the formula, the four common quarter-hour values, and which mode fits which workflow. Everything runs locally in your browser using deterministic IEEE 754 arithmetic, so the timesheets, schedules, and wage values you paste here never leave your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Hours Calculator
Time card calculator with breaks, daily and weekly overtime, and pay.
Open tool
Date & TimeTime Duration Calculator
Add and subtract durations in HH:MM:SS, units, or decimal form.
Open tool
CalculatorHourly to Salary Converter
Convert pay between hourly, weekly, biweekly, monthly, and annual rates.
Open tool
Date & TimeWorking Days Calculator
Business-day count with custom weekends and a holidays list.
Open tool
Date & TimeUnix Timestamp Converter
Convert epoch timestamps to dates and back.
Open tool