CB
CalcBeacon
CB
Everyday tool

Time Difference Calculator

Calculate the duration between two times, including overnight ranges and optional break deduction.

Overnight friendlyHandles times that pass midnight.
Break awareSubtract unpaid minutes if needed.
Fast outputHours, minutes and decimal hours together.
Quick start

Enter the start time and end time. If the end time is earlier than the start time, the calculator assumes the range continues past midnight. You can also subtract an unpaid break.

Hours
0h
Minutes
0m
Total minutes
0
Decimal hours
0.00
Enter two times to calculate the difference.

FAQ

Does this handle overnight shifts?

Yes. If the end time is earlier than the start time, the calculator rolls the end time into the next day.

Can I subtract a break?

Yes. Enter break length in minutes and it will be removed from the total.

Related tools

Guide

How this time difference calculator works

The calculator converts both times into minutes from midnight, then subtracts the start value from the end value. If the end value is smaller, it assumes the time range passes midnight and adds 24 hours.

That makes it practical for shifts, journeys, study blocks, appointments and daily planning.

Example

Example use case

From 22:30 to 06:15 is 7 hours 45 minutes. If you remove a 30 minute unpaid break, the working time becomes 7 hours 15 minutes.

Tool guide

How to use the time difference calculator

Use this page for quick time maths when you need a clear answer in both clock time and decimal hours. That is especially useful when a payroll or billing system uses decimals instead of hours and minutes.

The page also supports internal linking into CalcBeacon's broader time and work tool family, which helps users move from basic time maths to work-hour and timesheet tasks.

Best time to use itFor work shifts, appointments, study sessions, travel durations and routine planning.
Common mistakesForgetting break minutes, mixing AM and PM, or not realising the range crosses midnight.
Helpful next stepCheck the decimal-hour result if you need the number for billing or payroll.

Related links

Copied to clipboard