StubMath
HomeTools › Time to Decimal Calculator

hh:mm → decimal · payroll-ready

Time to Decimal Calculator

Enter hours and minutes; get decimal hours the way payroll systems want them — two decimals for the timesheet, four for the audit trail, and pay if you add a rate.

Updated for TY2026 Last reviewed Jul 28, 2026 96 public checks ✓ 0 external requests
TIME → DECIMALSTUBMATH · TY2026
TIME ENTERED 7:45 
DECIMAL HOURS7.75
EXACT (4 DP)7.7500
MINUTES ALONE0.7500
PAY @ $18.00/H$139.50

Decimal = hours + minutes ÷ 60, rounded to 2 dp (payroll standard). Rounding of the punch time itself is your employer's policy — see the 7-minute rule below.

Estimates for personal planning — not tax, legal, or payroll advice. Every number above is gross pay unless a line says otherwise; the formula, its boundaries, and its test cases are published below.

How it works

// the page default
decimal = 7 + 45 ÷ 60 = 7 + 0.75 = 7.75
pay     = 7.75 × $18.00        = $139.50

Minutes to decimal chart (:01–:59)

MinDecMinDecMinDecMinDec
:010.02:160.27:310.52:460.77
:020.03:170.28:320.53:470.78
:030.05:180.30:330.55:480.80
:040.07:190.32:340.57:490.82
:050.08:200.33:350.58:500.83
:060.10:210.35:360.60:510.85
:070.12:220.37:370.62:520.87
:080.13:230.38:380.63:530.88
:090.15:240.40:390.65:540.90
:100.17:250.42:400.67:550.92
:110.18:260.43:410.68:560.93
:120.20:270.45:420.70:570.95
:130.22:280.47:430.72:580.97
:140.23:290.48:440.73:590.98
:150.25:300.50:450.75:601.00

The 7-minute rounding rule

Employers may round punch times to the nearest quarter hour: the first 7 minutes of a quarter round down, the last 7 round up — 8:07 becomes 8:00, 8:08 becomes 8:15. That practice is legal only if it averages out and doesn't systematically shortchange you (29 CFR §785.48(b)). This converter never rounds your input — it converts exactly what you type.

Why payroll uses decimal hours

Wages multiply. 7 hours 45 minutes at $18 is not “7.45 × 18” — that error underpays you $5.40. Payroll systems convert minutes to hundredths of an hour first (45 ÷ 60 = 0.75), then multiply. Two decimals is the industry convention; the 4-decimal row is here for audits.

A full week, converted

The conversion matters most in aggregate. A week of 8:10, 7:55, 8:20, 8:05, and 7:50 punches is 8.17 + 7.92 + 8.33 + 8.08 + 7.83 = 40.33 hours — over the 40-hour line, so the last 0.33 h is overtime. Read as “8.10 + 7.55 + …” it would total 39.80 and appear to owe none. Same timesheet, opposite conclusion.

Decimal hours vs industrial minutes

Some timekeeping systems display industrial minutes — hundredths of an hour rather than sixtieths. In that system “7.75” and “7:45” are the same duration, which is exactly what this converter produces. If your system shows a value between 0 and 100 for the minutes portion, it is already in industrial minutes and needs no conversion.

From the public test suite

assert timeToDecimal(7:45).decimal == 7.75 
assert timeToDecimal(7:20).decimal == 7.33 
assert timeToDecimal(8:07, $25).pay == 202.92 // no input rounding 
// 36 cases · 96 assertions · runs on every deploy — see all

Sources

Rounding practices29 CFR §785.48(b)

Built and maintained by Ethan Chen, independent developer. No credential is claimed that we don't have — what this page offers instead is a published formula and a public test suite.

Related tools

Use it in your work

Embed this calculator

The credit link inside is nofollowed, per Google's widget-link guidance.

<iframe src="https://stubmath.com/embed/time-to-decimal/" width="420" height="487" loading="lazy" title="Time to Decimal Calculator — StubMath"></iframe>

Cite this calculator

Writing about pay? Cite the tool the way you'd cite any source.

Chen, Ethan. “Time to Decimal Calculator.” StubMath, 2026, stubmath.com/time-to-decimal-calculator/. Accessed 28 Jul 2026.