Time Duration Calculator Guide: Calculate Hours, Minutes & Days (2026)
Quick Answer
To calculate time duration, subtract the start time from the end time. If spanning midnight, add 24 hours. For 9:15 AM to 5:45 PM: (17:45 − 9:15) = 8 hours 30 minutes. For multi-day duration, count the days × 24 hours and add remaining hours. According to the Bureau of Labor Statistics (2025), the average American works 7.9 hours on workdays.
Calculating Hours Between Two Times
The most common time duration task is finding how many hours and minutes passed between two clock times. The process is straightforward once you understand 24-hour format.
24-Hour vs 12-Hour Format
The 12-hour format (AM/PM) is common in the US but causes confusion when calculating durations. The 24-hour format (also called military time) eliminates ambiguity entirely. PM hours are simply the 12-hour time plus 12: 3:00 PM becomes 15:00, 11:30 PM becomes 23:30.
To calculate duration in 24-hour format, subtract start from end:
| Start Time | End Time | 24-Hour Conversion | Duration |
|---|---|---|---|
| 9:00 AM | 5:00 PM | 09:00 → 17:00 | 8 hours |
| 9:15 AM | 5:45 PM | 09:15 → 17:45 | 8 hours 30 min |
| 10:30 AM | 2:15 PM | 10:30 → 14:15 | 3 hours 45 min |
| 7:45 AM | 12:00 PM | 07:45 → 12:00 | 4 hours 15 min |
Handling Midnight Crossings
When a shift or work period spans midnight, a naive subtraction gives a negative result. The fix: add 24 hours to the end time before subtracting.
Example: 10:00 PM to 6:00 AM (night shift). Convert to 24-hour: 22:00 to 06:00. Since 06:00 < 22:00, add 24: 06:00 + 24:00 = 30:00. Duration = 30:00 − 22:00 = 8 hours.
This is a surprisingly common payroll error. According to the American Payroll Association, time calculation mistakes are among the top 5 most common payroll errors, costing businesses an estimated $8 billion annually in overpayments and compliance penalties.
Calculating Days Between Two Dates
Date duration calculations have a subtle but important distinction: do you include or exclude the end date?
Simple Date Math
The cleanest method is to count the total days elapsed. From January 1 to January 31 is 30 days elapsed (exclusive of end date) or 31 days (inclusive). The right answer depends on context:
- Billing and subscriptions: Typically exclusive — a 30-day subscription from Jan 1 ends on Jan 30, not Jan 31.
- Event countdown: Inclusive — “how many days until the conference?” includes the conference day itself.
- Age calculation: The convention is exclusive of the birthday (you turn 30 on day 10,957 of your life, not day 10,958).
Business Days vs Calendar Days
For project deadlines and contract terms, the distinction between calendar days and business days matters. Business days exclude weekends and public holidays. The US has 10 federal holidays per year, meaning a typical year has roughly 261 business days out of 365 calendar days.
A 30-calendar-day deadline starting on a Monday contains approximately 22 business days. A “net 30” payment term in the US typically means 30 calendar days, not business days — though the contract should specify this explicitly.
According to a 2024 survey by Billtrust, 68% of invoice disputes involved confusion over payment terms, including calendar vs business day miscalculations.
Time Unit Conversions
Converting between time units is essential for payroll, project planning, and data analysis. Here are the exact conversion factors:
| Unit | In Seconds | In Minutes | In Hours |
|---|---|---|---|
| 1 minute | 60 | 1 | 0.01667 |
| 1 hour | 3,600 | 60 | 1 |
| 1 day | 86,400 | 1,440 | 24 |
| 1 week | 604,800 | 10,080 | 168 |
| 1 month (30 days) | 2,592,000 | 43,200 | 720 |
| 1 year (365 days) | 31,536,000 | 525,600 | 8,760 |
Note that “month” is approximate because months vary from 28 to 31 days. For precise calculations, always work with specific dates rather than assuming 30 days per month. Similarly, a year is 365 days except leap years (366 days), which occur every 4 years with exceptions for century years.
The movie Rentfamously calculates “525,600 minutes” in a year. That’s exactly correct for a non-leap year: 60 × 24 × 365 = 525,600.
Calculating Work Hours for Payroll
Payroll systems use decimal hours, not hours-and-minutes format. Converting is straightforward but tripping over the step is extremely common.
Converting Hours:Minutes to Decimal
Divide the minutes portion by 60 and add to the hours:
| Hours:Minutes | Calculation | Decimal Hours |
|---|---|---|
| 7:30 | 7 + (30 ÷ 60) | 7.50 |
| 7:45 | 7 + (45 ÷ 60) | 7.75 |
| 8:15 | 8 + (15 ÷ 60) | 8.25 |
| 6:20 | 6 + (20 ÷ 60) | 6.33 |
| 9:48 | 9 + (48 ÷ 60) | 9.80 |
Overtime Calculations
Under the Fair Labor Standards Act (FLSA), non-exempt employees are entitled to 1.5× their regular rate for hours worked beyond 40 per week. Some states (California, for instance) also require daily overtime for hours over 8 in a single day.
Example: An employee works 46.5 hours at $20/hour. Regular pay: 40 × $20 = $800. Overtime pay: 6.5 × $30 = $195. Total: $995. The US Department of Labor recovered over $274 million in back wages in 2024 for overtime violations — many caused by simple time calculation errors.
Lunch Deductions
Most employers deduct unpaid lunch breaks from total work hours. The standard approach: calculate total time from clock-in to clock-out, then subtract the unpaid break time. An employee who works 8:00 AM to 5:00 PM with a 30-minute unpaid lunch has worked 8.5 hours total minus 0.5 hours = 8.0 billable hours.
Time Zones: Global Meeting Scheduling
Remote work has made time zone math a daily reality. Getting it wrong means missed meetings and frustrated colleagues.
Understanding UTC Offsets
Every time zone is defined by its offset from Coordinated Universal Time (UTC). New York is UTC–5 in winter (EST) and UTC–4 in summer (EDT). London is UTC+0 in winter (GMT) and UTC+1 in summer (BST). Tokyo stays fixed at UTC+9 year-round — Japan does not observe daylight saving.
To schedule a meeting across zones: convert all times to UTC, then convert to each participant’s local time. A 3:00 PM New York (EDT, UTC–4) meeting = 19:00 UTC = 8:00 PM London (BST, UTC+1) = 4:00 AM Tokyo (JST, UTC+9 the next day). Tokyo participants would not appreciate that meeting time.
Daylight Saving Time Impact
Daylight Saving Time (DST) shifts clocks forward in spring and back in fall — but not all countries observe it, and those that do change on different dates. The US, Canada, and most of Europe observe DST, but on slightly different schedules. This creates “transition windows” where the offset between US and European cities temporarily changes by 1 hour.
A Harvard Business Review analysis found that productivity dips measurably in the week following DST transitions, with a 5.7% increase in workplace injuries reported in that week. Poor scheduling during transition periods amplifies these effects.
Best tools for cross-timezone scheduling: World Time Buddy, Every Time Zone, and Google Calendar (which automatically adjusts for each attendee’s local time zone when you add them to an event).
Practical Scheduling Windows
For global teams, overlap hours are limited. New York (EST) and London (GMT) share about 5 working hours per day in winter. New York and Singapore share almost none during standard business hours — one team is always outside 9–5. Toggl Track’s 2024 remote work report found that teams spanning more than 9 time zones spend 34% more time on async communication to compensate for the lack of meeting overlap.
Top 5 Time Calculation Mistakes
These are the errors that show up most often in payroll disputes, missed meetings, and project deadline failures:
1. Forgetting midnight crossings.Subtracting 22:00 from 06:00 gives –16, not 8. Always add 24 to the end time when a shift spans midnight before doing the subtraction.
2. AM/PM confusion in 12-hour format. 12:00 AM is midnight, not noon. 12:00 PM is noon. These are the two most counterintuitive entries in 12-hour time. When in doubt, convert to 24-hour format: midnight = 00:00, noon = 12:00.
3. Not accounting for Daylight Saving Time.A meeting set for “every Monday at 10 AM EST” actually shifts during daylight saving. If you schedule in a fixed UTC time, local times change. If you schedule in local time, the UTC equivalent changes. Know which your software uses.
4. Mixing up elapsed vs remaining time.“The project has 14 days elapsed” and “the project has 14 days remaining” are opposite statements but use the same number in different contexts. Always clarify which direction you’re counting from.
5. Using calendar months as 30-day months.“Add 3 months” to January 31 is not April 30 on every calendar. February is 28 or 29 days, making March 31 the correct answer — not April 30. Always use date arithmetic tools rather than adding fixed day counts when working with months.
Need to calculate time between two times or dates?
Use the Free Time Duration Calculator →Frequently Asked Questions
How do you calculate hours between two times?
Convert both times to 24-hour format, then subtract the start time from the end time. For example, 9:15 AM to 5:45 PM is 17:45 − 09:15 = 8 hours 30 minutes. If the end time is earlier than the start (spanning midnight), add 24 hours to the end time before subtracting.
How do you calculate the number of days between two dates?
Subtract the earlier date from the later date. Whether you include or exclude the end date depends on your use case — event planning typically includes it, while billing typically excludes it. Our time duration calculator handles both cases.
How do I convert hours and minutes to decimal for payroll?
Divide the minutes by 60 and add to the whole hours. For example, 7 hours 45 minutes = 7 + (45 ÷ 60) = 7.75 hours. Multiply by your hourly rate to get gross pay. This decimal format is standard for payroll software.
How many seconds are in a day?
There are 86,400 seconds in a day: 60 seconds × 60 minutes × 24 hours = 86,400. A week has 604,800 seconds, and a standard 365-day year has 31,536,000 seconds.
How do time zones affect scheduling across countries?
Time zones are defined by their UTC offset. When scheduling across zones, convert to UTC first, then to each local time. Daylight saving time — observed in about 70 countries but on different schedules — can shift offsets by 1 hour seasonally. Tools like World Time Buddy and Google Calendar handle these conversions automatically.
What is the difference between elapsed time and remaining time?
Elapsed time is how much time has passed from a start point to now. Remaining time is how much time is left until a future endpoint. Elapsed = now − start. Remaining = end − now. Mixing these up is a common scheduling error in project management.