Toolvore

Decimal Hours Converter

Convert decimal hours and signed durations in batches with explicit rounding and CSV or JSON downloads.

This tool runs entirely in your browser. Your data is never uploaded, never stored, and never leaves your device.

Convert decimal hours and signed H:MM:SS durations in batches, with explicit precision, exact decimal parsing and row-specific errors.

How to use it

  1. 1Choose decimal hours to duration or the reverse direction.
  2. 2Select duration resolution and decimal-hour places.
  3. 3Paste one value per line and review errors and non-wrapping hour totals.
  4. 4Download all rows as CSV or JSON.

Example

Input
1.30 decimal hours
Output
01:18:00

1:30 in duration mode instead equals 1.5 hours.

What happens to your data

Conversions happen locally without sending or saving entered values. Downloads contain the current rows and selected precision assumptions.

Last updated October 2026

Decimal hours and hours-and-minutes notation look similar but mean different things: 1.30 hours is 1 hour 18 minutes, while 1:30 is 1 hour 30 minutes. This decimal hours converter makes the input format explicit and converts in both directions, including negative durations and totals longer than one day.

Use one value or paste a batch. You can choose whole-second or millisecond duration output and the decimal-hour precision, see per-row errors and download CSV or JSON. It is a duration converter, not a payroll calculator or a clock-time comparison tool.

How it works

Choose the direction before entering data. Decimal hours to duration accepts plain decimal numbers such as 1.30, -0.5 or 25.125. It does not interpret a decimal point as a minutes separator. An hour has 60 minutes and 3,600 seconds, so multiplying the fractional hour by those units gives the actual duration. The example 1.30 × 60 gives 78 minutes: 01:18:00.

Duration to decimal hours accepts H:MM or H:MM:SS, with an optional leading plus or minus sign and up to three fractional-second digits. The sign applies to the whole duration: -0:30 means negative thirty minutes, not an unsigned duration. Minutes and seconds must be two digits between 00 and 59. Hours do not wrap at 24, so 25:07:30 is accepted and becomes 25.125 hours. A value such as 1:90 is rejected rather than quietly normalized.

Decimal arithmetic uses integer ratios derived from the original characters. Rounding therefore does not depend on first converting the entered decimal to a binary floating-point value. Duration output is nearest whole second or nearest millisecond; decimal-hour output permits up to 0, 2, 4, 6, 9 or 12 decimal places. Exact halfway values round away from zero. For example, 0:00:18 is exactly .005 hours, so at two places its output is .01; the negative equivalent is -.01. Trailing zeroes are removed because this is value conversion, not a measurement-precision claim.

Both displayed forms are independently derived from the original input. A rounded duration may therefore appear different from the decimal-hour display when you deliberately select coarse time precision and fine decimal precision. The tool never feeds one already-rounded display into the other. A rounding carry updates the minutes and hours correctly, and a rounded zero is unsigned. For a consistent exchange, agree on the required resolution before copying the output.

The magnitude is capped at 999,999 hours; decimal input has at most 16 whole digits and 12 decimal places, and entered duration hours have at most seven digits before the overall magnitude check. Exponent notation, grouping commas, localized decimal commas, dates, timezones and arithmetic expressions are outside the accepted grammar. A batch can contain 500 nonblank rows and 50,000 characters. Empty rows are skipped; error rows retain their original line numbers.

The first 25 rows are previewed, but downloads contain all processed rows and errors. CSV protects formula-leading cells with an apostrophe, so use JSON when exact signed strings must be re-imported without that safeguard. Inputs and results live only in this browser tab; there is no upload, persistent history or input in the page URL. Editing data or precision clears the old answer and its download controls. This converter applies no overtime, employment, billing or statutory rounding policy.

Worked example: A decimal is not a minutes separator

Input
1.30 decimal hours
Result
01:18:00

By contrast, duration 1:30 converts to 1.5 decimal hours. These are different inputs.

Common use cases

  • Translate a decimal-hours export into readable durations without confusing hundredths with minutes.
  • Convert H:MM entries into decimal values for a spreadsheet import.
  • Review signed corrections or project totals exceeding 24 hours.
  • Export a batch with precision assumptions and row-specific errors.

Frequently asked questions

Is 1.30 hours the same as 1 hour 30 minutes?+

No. 0.30 hour × 60 is 18 minutes, so 1.30 hours is 01:18:00. Enter 1:30 in duration mode to get 1.5 decimal hours.

Will 25 hours become 1 AM?+

No. This is a duration, not a clock reading. It remains 25:00:00 and is not wrapped at midnight.

How are negative durations and halfway rounding handled?+

A minus sign applies to the entire duration. Nearest exact ties round away from zero: an exact -.005 hours becomes -.01 at two decimal places. Negative values that round to zero are displayed as unsigned zero.

Why might the two displayed forms not match exactly?+

Each is rounded from the original value at its own selected resolution. For example, a subsecond amount can round to zero whole seconds while a sufficiently precise decimal-hour display remains nonzero. Use the resolution required by the receiving system.

Does this determine payable hours or legal rounding?+

No. It performs unit conversion only and does not know an employer's rules, breaks, overtime, contract or legal requirements. Apply those separately.