Skip to content

Time Unit Converter: Seconds, Minutes, Hours, Days

Convert durations between milliseconds, seconds, minutes, hours, days, weeks, months and years, and split a duration into days, hours, minutes and seconds.

Version 2

Things to keep in mind:

  • The month (30.4375 days) and the year (365.25 days) are averages; the real number of days in a given calendar range can differ.
  • Special conventions such as legal deadlines, interest day counts or the 30-day payroll month are not applied.

Calculator

Value to convert

The duration to convert (up to 6 decimals, not negative).

The unit of the value you entered.

The unit for the main result. Equivalents in all common units are listed as well.

After the first calculation, the result updates automatically when you change a value.

Result

Enter the values and press Calculate to see the result here.

About this tool

This tool converts a duration between time units and splits the same duration into the form "1 day 3 hours 46 minutes 40 seconds".

Formula: result = value × (seconds per source unit) ÷ (seconds per target unit)

Definitions used:

  • 1 minute = 60 s, 1 hour = 3,600 s, 1 day = 86,400 s, 1 week = 7 days = 604,800 s
  • 1 year = Julian year = 365.25 days = 31,557,600 s (the conventional year used in astronomy and in averages)
  • 1 month = year ÷ 12 = 30.4375 days = 2,629,800 s (average month)

Breakdown: for a total of S seconds, days = ⌊S ÷ 86,400⌋, then hours = ⌊remainder ÷ 3,600⌋, then minutes = ⌊remainder ÷ 60⌋ and the remaining seconds (⌊ ⌋ means rounding down).

Example: 100,000 seconds = 100,000 ÷ 3,600 ≈ 27.77777778 hours. Breakdown: ⌊100,000 ÷ 86,400⌋ = 1 day, remainder 13,600 s → 3 hours, remainder 2,800 s → 46 minutes, remainder 40 seconds.

Months and years are average values; for real calendar month lengths (28–31 days) and leap years use the date tools.

Extra example: 1 year = 31,557,600 s = 525,960 min = 8,766 h = 365.25 days ≈ 52.17857143 weeks and 12 average months. The breakdown reads 365 days 6 hours 0 minutes 0 seconds.

How to read the result: the “Result” line is the value in the target unit you chose; the other lines show the same duration in all units. The “conversion factor” gives how many target units one source unit equals. The breakdown writes the duration as days, hours, minutes and remaining seconds. The month and year lines are averages; for the real span between two specific dates use the date tools.

How to use

  1. Enter the duration you want to convert.
  2. Select its unit under From unit.
  3. Select the unit you want the result in under To unit.
  4. Select Calculate; all units and the days/hours/minutes/seconds breakdown are shown as well.

Notes

The main result is rounded half-up (HALF_UP) to 8 decimals, the unit equivalents to 6 and the conversion factor to 10 decimals. In the breakdown days, hours and minutes are rounded down; the remaining seconds are rounded down to 3 decimals. Leap seconds are ignored.

Frequently asked questions

4 questions
  1. 100,000 s ≈ 1.157407 days; broken down it is 1 day 3 hours 46 minutes 40 seconds.

Next step

Related tools to continue your calculation.

  • Add or Subtract Days from a Date

    Add or subtract any number of days to a date and get the result date and its weekday. Useful for due dates, terms and delivery dates.

    Calculate
  • Full Month and Year Difference

    Calculate the completed whole years and whole months between two dates, the months beyond whole years, whole weeks and total days.

    Calculate
  • Age Components Calculator

    Break an age down into completed years, months and days from a date of birth, plus total months, weeks and days. Hours and minutes are not calculated.

    Calculate
All tools in Unit Converters