Dates & time

Hours Calculator

Calculate a clock-time duration and subtract an unpaid break. When the end clock is earlier than the start, the overnight option adds one day; it does not add a day to equal clock times.

  • Explicit formulas and worked examples
  • Check your inputs, then calculate
  • Data is calculated in this browser only

Check the stated input format, calculation convention and limits before using the result.

Your inputs

Local calculation

Check the example inputs, then calculate. Your values stay in this browser.

A single shift spans less than 24 hours; this is wall-clock arithmetic without daylight-saving rules.

Calculation notes

Understand the Hours Calculator

Hours Calculator validates start time, end time, break minutes, end may fall on the next day before applying the displayed equation. A single shift spans less than 24 hours; this is wall-clock arithmetic without daylight-saving rules.

Formula and logic

What is the formula for the Hours Calculator?

Hours Calculator: paid minutes = end − start + overnight adjustment − break; hours = minutes / 60. Input definitions: start = Start time; end = End time; break = Break minutes; overnight = End may fall on the next day. Use the selected convention throughout the calculation.

Worked example

How can I reproduce the Hours Calculator example?

Hours Calculator baseline input: Start time: 09:00; End time: 17:30; Break minutes: 30; End may fall on the next day: not selected. Output: Decimal hours = 8 hours; Minutes = 480 minutes. Substitute these values into the displayed equation to reproduce the result.

How to read the result

How should I interpret the Hours Calculator result?

  • Read decimal hours with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  • Change one input at a time and use the equation to explain the result; do not mix unit, grade-scale, time-zone or rounding conventions across comparisons.
Limits and assumptions

What limits apply to the Hours Calculator?

  • A single shift spans less than 24 hours; this is wall-clock arithmetic without daylight-saving rules.
  • Break time must be non-negative and no longer than the shift.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Calculate a clock-time duration and subtract an unpaid break. When the end clock is earlier than the start, the overnight option adds one day; it does not add a day to equal clock times.
  2. Enter Start time, End time, Break minutes, End may fall on the next day in the stated format. Baseline values are for reproduction.
  3. Check the output unit and convention: Read decimal hours with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  4. Change one input and compare the result. A single shift spans less than 24 hours; this is wall-clock arithmetic without daylight-saving rules. Break time must be non-negative and no longer than the shift.

Hours Calculator: calendar conventions

Convert clock times to minutes before subtracting breaks. A 22:00–06:00 overnight shift spans 480 minutes; a 30-minute unpaid break leaves 450 minutes or 7.5 hours. Decimal 7.5 hours means 7 hours 30 minutes, not 7 hours 50 minutes. The result is a single wall-clock shift and does not apply overtime or daylight-saving adjustments.

paid minutes = end − start + overnight adjustment − break; hours = minutes / 60

The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.

From question to result

Continue with a related question

Explore all Dates & time tools and guides