Time-to-Decimal Converter

The Time-to-Decimal Converter changes mixed periods-days, hours, minutes, and seconds-into two precise outputs: decimal-day value and total seconds. Use it to standardize time data for spreadsheets, payroll, scientific logs, or project tracking.


You also use this calculator to convert decimal time to days, hours, minutes, and seconds here!

Need a real-time countdown for a project or goal? Try the Time Until Calculator to see the exact time left from now or a specified start date.
AM/PM to Military Time Converter - Converts standard time into spoken and numeric military time.
Need to track the time between two events? Use the Date Difference Calculator to get results in days, weeks, or structured year/month/day format.

Time Units to Decimal Format

Days d
Hours h
Minutes min
Seconds s
Decimal Rounding #

Results:

Decimal Days d
Seconds s

Calculator

  1. enter each time part in its box; blank or negative entries are treated as 0
  2. choose the number of decimal places for rounding (0-20) of the result

Result

  1. period expressed as a fractional day
  2. same span in whole seconds

Example Conversions
23 days, 12 hours, 5 minutes, 6 seconds
With the whole day's amount of 23, you don't have to do anything, and it becomes the amount before the decimal point;
23 days = 23.0 days in decimal format.
There are 24 hours in a day.
Convert the hours to decimal days by dividing the 12 hours by 24;
12 ÷ 24 = 0.5
Twelve hours in a decimal day equals 0.5 days.
There are 1440 min in a day.
Convert the minutes to a decimal day format by dividing the 5 minutes by 1440;
5 ÷ 1440 = 0.0034722
5 minutes equals 0.0034722 in decimal days
Convert the seconds to decimal days by dividing the 6 seconds by 86400 (there are 86400 seconds in a day)
6 ÷ 86400 = 0.000069444
6 seconds in decimal day format = 0.0000694
Add all the results together;
23 + 0.5 + 0.0034722 + 0.0000694 = 23.50354
23 days, 12 hours, 5 minutes, 6 seconds = 23.50354 in decimal format
In decimal format, 23 days, 12 hours, 5 minutes, 6 seconds = 23.50354 days.
Converting Decimal Days to Seconds
There are 86400 seconds in a day.
Multiply 23.50354 days by 86400 ;
23.50354 * 86400 = 2030705.856 rounded to 2030706
There are 2030706 seconds in 23.50354 decimal days.
If you have any questions or comments please Contact Us
Privacy Policy
© 1998, VmNet.