date-time calculator
Time to Decimal Calculator
Convert hours, minutes, and seconds to decimal hours and back.
Time arithmetic
Convert time and decimal hours
Result
Enter time values and choose Calculate.
Formula version 1.0.0 · Date and time-zone rules are excluded.
How to use this calculator
- Choose the conversion direction.
- Enter hours/minutes/seconds or decimal hours.
- Select Calculate.
- Review both normalized time and decimal hours.
Symbols and units
| Symbol | Meaning | Unit or domain |
|---|---|---|
decimal hours | Total seconds divided by 3,600 | Hours |
h:m:s | Normalized time duration | Hours, minutes, seconds |
Checked examples
Time to decimal
Inputs: 1 h 30 m 0 s
Calculation: 1 + 30/60
Result: 1.5 hours
Thirty minutes is half an hour.
Check: time-basics.test.ts — converts to decimal
Decimal to time
Inputs: 2.25 hours
Calculation: 2.25 × 3600 = 8100 seconds
Result: 2:15:00
A quarter hour is 15 minutes.
Check: time-basics.test.ts — converts from decimal
Assumptions, rounding, and limits
- Conversion uses 60 minutes per hour and 60 seconds per minute.
- Decimal-to-time rounds to the nearest whole second.
- No payroll rounding rule is applied.
- Negative decimal durations retain their sign.
Frequently asked questions
Is 1 hour 30 minutes 1.30 hours?
No. It is 1.5 hours because 30/60 = 0.5.
How are fractional seconds handled?
Decimal hours are rounded to the nearest whole second for the time display.
Is this payroll decimal time?
It is mathematical conversion only; employer rounding rules may differ.
Sources and review
- BIPM: SI Brochure — Accepted units of time and SI second
- W3C: Date and Time Formats — 24-hour time notation
- Formula version
- time.decimal@1.0.0
- Formula review
- Equatara formula review
- Editorial review
- Equatara editorial review
- Last verified
- 2026-10-25
- Applicability
- Global clock arithmetic without dates, zones, payroll, or legal rules.
- Next review
- On material change or by 2028-10-25.
Related calculators
Found a problem?
Report a formula, result, example, source, or accessibility issue through the calculator correction process. Do not include sensitive input values.