๐Ÿ“Time duration calculator

โœ“ Tested & verified Updated: How this works

Time duration

Time between

โ€”h:mm

Given in hours and minutes, and in decimal hours โ€” the two are not the same number.

  • Decimal hoursโ€”
  • Minutesโ€”
  • Secondsโ€”
  • In wordsโ€”

One thing a month worth timing

Monthly

One thing a month worth measuring or capping with a clock โ€” a payroll trap, a nap length, a meeting that never gets added up. Two sentences and the tool.

Free, no account. One click unsubscribes and deletes your address.

Try also

How long is it between two times?

The TimerPlan duration calculator gives the gap between two clock times in five forms at once โ€” h:mm, decimal hours, minutes, seconds and words โ€” because the same eight and a half hours is written 8:30 on a clock, 8.5 on a timesheet and 510 minutes in a scheduling tool. Getting the right form is usually more of a problem than getting the right number.

A second time earlier in the day than the first is read as crossing midnight rather than as a negative span, so 22:00 to 06:00 is eight hours. Subtraction alone gives minus sixteen, which is what a spreadsheet returns unless it has been told the dates.

Nothing here is rounded. The exact figure is what any rounding policy should be checked against, and rounding belongs on a timesheet rather than in the arithmetic.

The forms this page produces, and where each one belongs:

FormExampleUsed by
h:mm8:30Clocks, rotas, anything read by a person
Decimal hours8.5Payroll, invoices, hourly rates
Minutes510Scheduling systems, parking, cooking
Seconds30 600Video and audio, frame counts
Words8 hours 30 minutesReading aloud, writing up

The middle two are where the arithmetic goes wrong most often: 8:30 typed into a decimal field claims eight hours and eighteen minutes, and 8.5 read as a clock time is not a time at all.

With an unpaid break and a number of days, this becomes the hours calculator; a week of shifts is the time card calculator. To go the other way โ€” a start time plus a length โ€” use the time calculator, and to convert a raw number of seconds or minutes into every other unit, the seconds to minutes converter does it in one step.

Frequently asked questions

Why does the calculator assume the second time is later?

Because that is what people mean when they enter two times without dates: a shift, a flight, a stretch of sleep. Reading it forwards handles overnight spans correctly and never produces the negative number that betrays a simple subtraction. If you genuinely want the gap backwards, swap the two boxes โ€” the answer is the twenty-four-hour complement of it.

How many hours is 9 to 5, really?

Eight, and with an unpaid lunch it is usually seven and a half โ€” which is why the phrase is a description of office hours rather than a count of paid ones. Enter 9:00 am and 5:00 pm here and you get 8:00 exactly, in decimal 8.0; the hours calculator takes the break off, which is the number that matters on a form.

Can I get the answer in seconds?

It is there alongside the others. Seconds are the form that matters for video, audio and anything measured in frames โ€” one second is 24, 25 or 30 frames depending on the format, so a duration in seconds converts straight into a frame count while one in hours and minutes does not.

Does this work across dates?

Only across one midnight โ€” the calculator works on clock times, not calendar dates. That covers shifts, sleeps and flights within a day of each other, which is nearly everything people ask a duration calculator for. Multi-day spans are a date question rather than a time question and deserve a calendar tool.

How this works

Both times are parsed into minutes past midnight, accepting 12-hour, 24-hour and four-digit forms and applying the two rules of the 12-hour clock โ€” 12:00 AM is midnight, 12:00 PM is noon. The difference is taken forwards, adding a day when the end is earlier than the start, so an overnight span comes out positive and correct. That single minute count is then rendered five ways: hours and minutes by integer division and remainder, decimal hours by dividing by sixty, plain minutes as they are, seconds by multiplying, and a spelled-out form for reading aloud. Because every form comes from the same number, they cannot disagree with each other. No rounding is applied at any stage.

Worked example

With From 9:00 am, To 5:30 pm, this page works out โ€” h:mm. Given in hours and minutes, and in decimal hours โ€” the two are not the same number.

Sources:

One duration, five forms

h:mm for reading and for checking against memory.

Decimal for payroll, invoices and anything with a rate attached.

Minutes and seconds for scheduling systems, video and audio, where hours are not the unit.