{{ summaryTitle }}
{{ summaryValue }}
{{ summarySubtitle }}
{{ badge.label }}
{{ durationSessionLiveText }}
Time duration inputs
Use Difference for end minus start; Add/Subtract need a base time and delta.
{{ startPreviewText }}
{{ endPreviewText }}
{{ basePreviewText }}
{{ deltaPreviewText }}
{{ warning }}
Enable for shifts where an earlier end time belongs to the next calendar day.
{{ params.cross_midnight ? 'Enabled' : 'Disabled' }}
{{ breakPreviewText }}
Keep Exact for raw math; pick 5, 15, 30, or 60 minutes for schedule rules.
Use Nearest for standard rounding; Up/Down force the final result to the next step.
Affects add/subtract clock output only; detail rows keep 24-hour audit values.
Optional: short export label such as Night shift handover.
Metric Value Copy
{{ row.label }} {{ row.value }}
Priority Action Why Copy
{{ row.priority }} {{ row.action }} {{ row.why }}

        
Customize
Advanced
:

Clock math looks simple until a span crosses midnight, a break has to be deducted, or a rounded handoff time must still point to the correct day. A wall-clock reading such as 06:45 is only a label on a 24-hour cycle. It does not say whether the moment belongs to today, tomorrow, or yesterday unless the date is known too.

Elapsed time answers a different question from clock shifting. Elapsed time measures the size of a span, such as the length of a shift or service window. Clock shifting starts from one time and moves forward or backward by a duration, such as finding the arrival time after a 75-minute trip. Both use hours, minutes, and seconds, but the result is interpreted differently.

Wall time
A clock label without a date, time zone, or daylight-saving rule attached.
Duration
A measured span, usually expressed as clock-style time, decimal hours, or total minutes.
Day offset
The extra note that says a shifted clock result landed on the same day, next day, or previous day.
The same labels can describe two different spans
Same-day read Overnight read 22:15 start 06:45 end 06:45 next day midnight

Midnight is the point where many wrong answers start. If an end time is earlier than a start time, the span can be negative because the times were entered in the wrong order, or it can be positive because the work continued into the next day. The clock labels alone cannot choose that interpretation for every situation.

Breaks and rounding add another layer. A 30-minute unpaid break is usually deducted after the raw span is measured, not before. Rounding to a 5, 15, 30, or 60 minute step can make a reported value easier to match to a schedule or payroll rule, but it also means the reported result is no longer the exact measured span.

Clock-only calculations are useful for schedules, logs, classroom periods, support coverage, parking windows, travel estimates, and shift handovers. They are not a substitute for full date-time arithmetic. Daylight-saving changes, time zones, leap seconds, and regional calendar rules require a real date and location context, not just a pair of clock readings.

How to Use This Tool:

Start with the operation that matches the question you need answered, then let the normalized previews catch shorthand or ambiguous entries before you copy the result.

  1. Use the timer controls when you want to measure a live span. Start, Pause, and Reset control the stopwatch, and Use fills the current elapsed time into the active calculation.
  2. Choose Difference for end minus start, Add duration to base for a forward clock shift, or Subtract duration from base for a backward clock shift.
  3. In difference mode, enter Start time and End time. Enable Allow overnight difference only when an earlier end time belongs to the next calendar day.
  4. Add a Break deduction when unpaid, paused, or excluded time should be removed from the measured span. Leave it blank when no deduction applies.
  5. In add or subtract mode, enter a Base time and Delta duration. Use the Result clock display setting when a 12-hour answer is easier to share, but keep the day offset with the answer.
  6. Choose a Rounding step and Rounding rule only when a schedule, billing, payroll, or handover convention requires it. Exact keeps the unrounded calculation.
  7. Add a Scenario label if the result will be exported or compared later, then review the ledger, notes, charts, and JSON before reusing the value elsewhere.

Interpreting Results:

The large answer is the primary result after the selected operation, break deduction, overnight setting, and rounding choice are applied. The badges summarize the raw span, net span, total minutes, day carry, rounding policy, or display mode so the headline answer is not separated from the assumptions that produced it.

For elapsed spans, read the Duration Ledger before copying the answer. It separates the entered times, normalized times, raw span, break deduction, net span, rounded span when applicable, decimal hours, total minutes, and clock carry. Decimal hours are often the safest value for spreadsheets, while the clock-style answer is easier for people to read.

For add and subtract operations, the Clock Ledger matters because a displayed clock time can hide a day boundary. 00:35:00 with a +1 day offset is not the same handoff as 00:35:00 on the same day. A previous-day result can look like an ordinary late-evening time unless the offset is included.

The notes tab flags the cases most likely to cause mistakes: negative spans, break deductions larger than the raw span, long shifts, large deltas, shorthand input that was normalized, and rounded values that differ from the exact result. Treat a high-priority note as a reason to re-check the inputs before exporting.

The chart tabs give a visual audit trail. The Clock Span Map places entered and computed clock anchors on one day-aware axis. The breakdown chart shows how the raw span, break, signed delta, exact result, and rounded result relate to one another. Chart images, CSV ledgers, DOCX reports, and JSON output are useful for sharing the calculation, but they do not add date or time-zone context that was not entered.

Technical Details:

The arithmetic uses a fixed 24-hour day. Each valid clock label is converted to seconds from midnight, each duration is converted to seconds, and the selected operation decides whether those seconds are compared or shifted. The displayed result is then formatted back as a duration or as a clock time with a day offset.

Difference mode has one important branch. If the end anchor is earlier than the start anchor and overnight handling is enabled, one day is added to the end anchor before the span is measured. If overnight handling is off, the negative span is preserved so the result can show an input-order problem instead of hiding it.

raw_span_seconds = end_seconds - start_seconds
carried_span_seconds = raw_span_seconds + 86400 when overnight is enabled and raw_span_seconds < 0
net_span_seconds = carried_span_seconds - break_seconds
shifted_total_seconds = base_seconds + signed_delta_seconds
display_clock_seconds = shifted_total_seconds modulo 86400
day_offset = floor(shifted_total_seconds / 86400)
Supported input forms and normalization behavior
Input type Accepted forms Important boundary
Clock time 08:30, 0830, 8:30 pm, 8pm, and seconds when supplied 24-hour entries may use 24:00 only when minutes and seconds are zero
Duration 01:15, 01:15:30, 75m, 1.25h, and mixed unit shorthand Duration parts must be non-negative, with minutes and seconds under 60 in clock-style entries
Rounding Exact, 1, 5, 10, 15, 30, or 60 minute steps with nearest, up, or down rules Rounding is applied after the main calculation, not to each input separately

Rounding uses the absolute size of the signed result, applies the selected step, and then restores the sign. That matters for negative spans because rounding up moves the magnitude to the next step rather than simply increasing the numeric value toward zero. In add and subtract mode, the rounded total is wrapped back onto the 24-hour clock after the rule has been applied.

The accepted 24:00 clock boundary is practical for schedule arithmetic because it names the end of a day. Many internet timestamp profiles are stricter and represent hours as 00 through 23. When a result will be used in a dated timestamp, convert an end-of-day 24:00 idea into the next date at 00:00 if the target system requires that form.

The calculation does not model daylight-saving gaps or repeated hours. A local clock can jump from 01:59 to 03:00, or repeat an hour when clocks move back, depending on the date and jurisdiction. Because only wall-clock labels and durations are provided, the safe interpretation is schedule arithmetic on a normal 86,400-second day.

Limitations and Privacy:

The calculator does not ask for location, calendar date, time zone, employee identity, or project data. Entered times are used in the browser to build the visible result, tables, charts, and downloads. The optional scenario label is for your own exported context and does not change the arithmetic.

Use a full date-time calculator when the exact real-world elapsed time crosses daylight-saving changes, time-zone boundaries, leap seconds, or calendar-date rules. Also confirm rounding policies against the rule you actually need to follow, because different workplaces and billing systems can round the same exact span in different ways.

Worked Examples:

Same-day shift

Start at 08:30 and end at 17:00 in difference mode. The raw and net span are 08:30:00, which is 8.5000 decimal hours or 510.00 total minutes before any rounding.

Overnight span with a break

Start at 22:15, end at 06:45, enable overnight handling, and deduct 00:30. The end is carried to the next day, the raw span is 08:30:00, and the net duration becomes 08:00:00.

Add a duration past midnight

Add 01:15 to a base time of 23:20. The displayed clock is 00:35:00, but the ledger records a +1 day offset. Keep both pieces when sharing the answer.

Subtract into the previous day

Subtract 00:45 from 00:20. The clock display becomes 23:35:00 with a -1 day offset, so it refers to the previous day rather than the same evening.

FAQ:

Why is my duration negative?

The end time is earlier than the start time while overnight handling is off, or the break deduction is larger than the measured span. Check the order first, then decide whether the end belongs to the next day.

When should I enable overnight handling?

Enable it when the start time is before midnight and the end time is after midnight on the next calendar day. Leave it off when an earlier end time should remain a warning sign.

Can I use shorthand like 90m or 1.5h?

Yes. Duration fields accept unit shorthand, and clock fields accept common compact or 12-hour forms. Review the normalized preview before trusting the result.

Why does the clock result need a day offset?

Clock faces repeat every 24 hours. The offset tells you whether the answer landed on the same day, the next day, or the previous day.

Can this account for daylight saving time?

No. Daylight-saving changes require a date and time zone. This calculator only works with wall-clock labels and elapsed durations.

Glossary:

Raw span
The direct end-minus-start result before break deduction or rounding.
Net span
The elapsed duration after break deduction, before optional rounding.
Signed delta
The duration applied to a base clock time, positive for add and negative for subtract.
Clock carry
The act of moving an earlier end time into the next day for an overnight span.
Rounding rule
The choice that decides whether a result moves to the nearest step, upward, or downward.

References: