Time Duration Calculator: Hours, Minutes, Days & Seconds

Time Duration Calculator

Measure the exact time between two clock times or full date-and-time stamps, or add and subtract a duration. See the result as days, hours, minutes, seconds, weeks, and decimal totals all at once.

Real Duration Presets

📝Duration Inputs

Used in date-time and add/subtract modes.

Used in date-time mode only.

Subtracted from the measured duration.

Add / Subtract Mode Duration

Total duration 0 days, hours, minutes, seconds
Total hours 0 decimal hours
Total minutes 0 whole and decimal
In weeks / days 0 weeks and day count

🔢Unit Constants Used

60Seconds per minute
3600Seconds per hour
86400Seconds per day
604800Seconds per week

🔄This Duration In Every Unit

UnitWhole CountDecimal ValueHow It Is Derived
Enter values above to see this duration converted into every unit.

📏Time Unit Conversion Table

1 Of ThisSecondsMinutesHoursDays
Second10.016670.0002780.0000116
Minute6010.016670.000694
Hour3,6006010.041667
Day86,4001,440241
Week604,80010,0801687
Month (30 d)2,592,00043,20072030
Year (365 d)31,536,000525,6008,760365

🗂Named Duration Comparison Grid

Named DurationWeeksDaysHoursMinutesSeconds
Coffee break (15 min)0.00150.01040.2515900
Lunch hour (1 hr)0.0060.04171603,600
Feature film (2h 22m)0.01410.09862.3671428,520
Work day (8 hr)0.04760.333848028,800
Full day (24 hr)0.14291241,44086,400
Fasting 16:8 (16 hr)0.09520.6671696057,600
Two-week sprint21433620,1601,209,600
45-day project6.4286451,08064,8003,888,000
Calendar year (365 d)52.1433658,760525,60031,536,000

Formula And Method Breakdown

Build timestampsEach date and time becomes a JavaScript Date from year, month – 1, day, hour, minute, and second so no time zone shift is applied.
Raw differencetotal milliseconds = end − start. Divide by 1000 and floor to get whole seconds.
Overnight ruleIn time mode, if the end clock time is earlier than start, one day (86400 s) is added so the shift crosses midnight.
Decomposedays = floor(total / 86400); hours = floor(remainder / 3600); minutes = floor(remainder / 60); seconds = remainder % 60.
Whole-unit totalstotalHours = total / 3600, totalMinutes = total / 60, totalDays = total / 86400, totalWeeks = total / 604800.
Add / subtractnewTime = start ± (days×86400 + hours×3600 + minutes×60 + seconds) × 1000, then re-read the resulting date and clock.
Break deductionAny paused minutes are converted to seconds and subtracted before the final decomposition and totals.

📋Common Duration Reference

ScenarioTypical SpanIn HoursIn Minutes
Short meeting30 minutes0.530
Standard shift8 hours8480
Overnight sleep7h 30m7.5450
Cross-country flight5h 30m5.5330
Fasting window16 hours16960
Marathon cutoff6 hours6360
Two-day trip48 hours482,880

💡Practical Time Tips

Overnight tip: When an end clock time reads earlier than the start, the calculator assumes the span crosses midnight and adds a full day. Switch to the absolute option if both times share one calendar day.
Decimal tip: Payroll and billing often want decimal hours, not hours and minutes. Divide the total minutes by 60, so 90 minutes becomes 1.5 hours and 20 minutes becomes 0.33 hours.

There are times when you look around the room after a meeting and aren’t sure whether it ended fifteen minutes ago or forty-five. Sometimes time gets all slippery: it expands in boring meetings, and dissapears in interesting discussions. When it comes down to it, time is something you must treat like a hard, measurable thing. It’s the currency for your paycheck. And that’s where this calculator come into play.

Need to know how long it will take to fly from Los Angeles to New York? Want to see if you stayed over by more than half an hour at lunch? Just plug it in and let the math take care of it. The catch is knowing what exactly you’re plugging in, and making sure it reflect reality instead of hope.

How to Calculate Time Accurately

Watches are designed to work with time measured in minutes and hours. That’s how people tend to think about time. But the math behind it is much more detailed. There are three thousand six hundred seconds in an hour and eighty-six thousand four hundred in a day. When you’re measuring a brief period of time, those second become incredibly important. If you need to make travel allowances on a tight schedule or bill by the quarter-hour, miss out on those little numbers and you might lose your mind. Or your cash.

The app will crunch the answer down at the same time into seconds, minutes, hours and even days. You don’t need to do any mental math, which tends to fail in high-pressure situations. That leads into another potential trap: overnight work shifts. If you start a shift at 10pm and finish at 6am, a quick calculation might make it seem like you worked almost no time, or even less than zero time.

That’s why the calculator treat an end time before the start time as spanning a whole day. So it adds one day to the period. It reasons that the event must of crossed midnight. Otherwise, your schedule would appear to be that you had spent less than no time working. It solves that problem. And it does so based off the assumption that we’re all living on the same daily cycle which resets at midnight, although none of us necessarily live that way exactly.

Just ensure that the date matches up with whatever schedule you want to track… Particularly if what you’re tracking is entirely contained in a given calendar day. Another point of confusion is decimal hours, especially when used for payroll purposes. If you worked one hour and thirty minutes, you might want to charge 1:30. But that would mean only thirty seconds into the first hour. Thirty minutes equals 0.5, which means half an hour. Ninety minutes is 1.5 hours.

That chart on the page do a good job of illustrating this; how much of an hour equals how many standard billing increments. It may sound small, but every thirty minutes that rounds up adds another hour to your weekly total without you realizing it. If you understand this translation, you’ll be able to audit your own timesheet and make sure your employer/client is paying you for exactly what you did.

But it’s not just about measuring the distance between two known time; adding and subtracting time can be equally helpful. Need to know how many more days until your 45-day project ends that began today? The calculator moves them both forward for you. Or want to add three weeks of buffer to next Friday’s deadline? It’ll tell you what time that puts it back from now. No more guessing at different length months or leap years. Concrete timestamps out of abstract planning.

When you think about how long something takes, you tend to just consider the work time and not all the transition times. The break deduction function let you remove meeting or lunch breaks from the overall duration. That helps clean up the picture so you can see where you were actualy working. And, although seemingly minor, this sort of thing add up when you’re looking for ways to make the most of your day.

After all, time is limited and merciless. When you treat it as a quantity instead of a vague concept, you start taking charge of what you do with it. The calculator does that: it makes time concrete. It makes it something tangible, something you can act upon.

Time Duration Calculator: Hours, Minutes, Days & Seconds