WeUtils.uk

Duration calculator

Enter a start and end time to get the duration.

Duration calculator between times

This tool works out the duration between a start time and an end time, in hours and minutes, plus the total minutes. It handles crossing midnight. Useful for shifts, working hours and time logs.

How it’s calculated

duration = end time − start time (if negative, +24 h)

If the end time is earlier than the start (a night shift), it’s assumed to cross midnight and 24 hours are added.

Frequently asked questions

What if the shift crosses midnight? It’s handled correctly: e.g. 22:00 to 06:00 is 8 hours.

Does it give total minutes? Yes, alongside the hours-and-minutes format.

Does it include seconds? It works in hours and minutes to keep it simple.