DATE & TIME CALCULATOR

Time Duration Calculator

Measure time between two dates and times, subtract breaks, and convert the result to decimal hours. Use the timeline and examples for work, travel, projects, and everyday planning.

Elapsed Time & Breaks

Measure the interval between two dates and times.

Start date and time

End date and time

Break adjustment

Subtract break from totalShow both elapsed and net time after break.

Results update when you select Calculate. For overnight intervals, set the end date to the following day.

Quick examples

Your time breakdown will appear here

Enter the start and end date and time, optionally subtract a break, then calculate to see elapsed time, net time, charts, and a detailed breakdown.

Hours & minutesDecimal hoursNet durationTimeline

What Does Elapsed Time Mean?

Elapsed time is the amount of time between a starting point and an ending point. It can measure a work shift, the gap between appointments, a journey, or time spent on a project. Because this calculator uses dates as well as clock times, it can handle overnight intervals and periods spanning several days.

For date-based questions, use the Date Calculator; for a person's calendar age, see the Age Calculator. This tool focuses on elapsed clock time and can also subtract a break to estimate net working time.

◷

Elapsed time

The complete interval between the start and end timestamps.

−

Net duration

Elapsed time minus an unpaid or otherwise excluded break.

↗

Decimal hours

A decimal representation useful for timesheets, invoices, and spreadsheets.

How to Use the Calculator

  1. Choose the start date and enter the start time.
  2. Choose the end date and enter the end time. For overnight work, the end date should be the following day.
  3. Enter any break duration in minutes and decide whether to subtract it.
  4. Select Calculate duration to generate the elapsed-time report.

The result is committed when you calculate, so editing a field does not silently change the report already displayed. Calculate again to apply your revised inputs.

The Time Duration Formula

Elapsed duration = End date and time − Start date and time
Net duration = Elapsed duration − Deducted break

Internally, the difference between the two timestamps is converted into minutes. Whole hours are the number of complete 60-minute blocks; the remainder is the minutes left over. Decimal hours are calculated by dividing total minutes by 60.

ConversionFormulaExample
Minutes to hoursMinutes ÷ 60150 ÷ 60 = 2.5 hours
Hours to minutesHours × 603.25 × 60 = 195 minutes
Minutes to daysMinutes ÷ 1,440720 ÷ 1,440 = 0.5 day
Net minutesElapsed minutes − break minutes510 − 30 = 480 minutes

Time Duration Examples

These examples show how a duration can be expressed in clock format, total minutes, and decimal hours.

StartEndElapsedTotal minutesDecimal hours
9:00 AM10:30 AM1h 30m901.5
9:00 AM5:30 PM8h 30m5108.5
1:15 PM2:00 PM45m450.75
10:00 PM6:00 AM next day8h4808
8:00 AM8:00 AM next day24h1,44024

Clock Time and Decimal Hours

Clock format expresses a duration as hours and remaining minutes, such as 7 hours 45 minutes. Decimal hours express the same duration as a single decimal number: 7.75 hours. The minutes are not the digits after a decimal point—45 minutes is three-quarters of an hour, not 0.45 hours.

Clock format7h 45m7 full hours + 45 minutes
=
Decimal hours7.75465 total minutes ÷ 60

This distinction matters when entering hours into payroll systems or spreadsheets. If your timesheet requests decimal hours, convert the entire duration rather than typing the minute value after the decimal.

How Breaks Affect Net Working Time

A break adjustment can help estimate paid or productive time when the break should not be included in the total. For example, a shift from 9:00 AM to 5:30 PM lasts 8 hours 30 minutes. Subtracting a 30-minute unpaid lunch produces 8 hours of net time. Whether a break is paid depends on the applicable workplace policy and local rules; the calculator only performs the arithmetic.

Overnight Shifts and Multi-Day Durations

When a shift begins before midnight and ends after midnight, use the correct end date. For example, 10:00 PM on Monday to 6:00 AM on Tuesday is an eight-hour interval. Entering both times against Monday would make the end appear earlier than the start, so the calculator asks you to select Tuesday explicitly. This approach also supports longer periods spanning several dates.

Calendar dates and clock times can be affected by time-zone changes. This calculator uses the local date-time values you enter and does not automatically interpret travel between time zones or daylight-saving transitions. For those scenarios, consult the time-zone calculator.

Practical Uses for Time Duration

Work and payroll

Estimate shift length, breaks, and decimal hours before following your employer's timesheet rules.

Project tracking

Compare time spent on tasks and convert logged minutes to billable hours.

Travel and events

Measure time between departure and arrival, including overnight journeys.

Study and routines

Track focused sessions, exercise periods, appointments, and other scheduled activities.

Common Mistakes to Avoid

Frequently Asked Questions

How do I calculate hours and minutes between two times?

Enter the start and end date and time, then select Calculate duration. The result reports the complete elapsed hours and remaining minutes.

How do I calculate time across midnight?

Set the end date to the following day and enter the end time. The calculator will then measure the full interval.

What is 8 hours and 30 minutes in decimal hours?

Thirty minutes is 30 ÷ 60 = 0.5 hour, so 8 hours 30 minutes equals 8.5 decimal hours.

How many minutes are in a day?

A standard 24-hour day contains 1,440 minutes (24 × 60).

Can I subtract lunch or other breaks?

Yes. Enter the break duration in minutes and enable the break subtraction switch. The report shows both elapsed time and net time.

Does this calculator calculate payroll?

It calculates duration and a net-time estimate, but it does not determine overtime, legal break requirements, rounding policies, or payroll eligibility.

Does 7.45 hours mean 7 hours and 45 minutes?

No. Decimal 7.45 hours equals 7 hours plus 0.45 × 60 = 27 minutes. Seven hours and 45 minutes is 7.75 decimal hours.

Does it account for daylight saving time?

No. It uses the local date-time values entered. If the interval crosses a daylight-saving or time-zone transition, use a time-zone-aware tool and verify the actual timestamps.

Can I calculate a duration longer than 24 hours?

Yes. Choose the correct start and end dates. The result includes total hours, total minutes, decimal days, and other duration measures.

Why does changing an input not update the result immediately?

The result stays unchanged until you select Calculate duration. This keeps the displayed report tied to a deliberate calculation.

Note: Results are mathematical estimates based on the local dates and times entered. They are not payroll, legal, or time-zone advice. Verify workplace policies and timestamp conventions before using results for official records.