Time duration: how long between two times, without the mental arithmetic

Working out the gap between two times looks easy until the minutes do not line up. Nine fifteen to five forty is not eight hours and twenty-five minutes by any shortcut — it is eight hours and twenty-five minutes by careful subtraction, and the careful part is borrowing an hour when the end minutes are smaller than the start minutes. This calculator does that borrowing for you, and it also handles durations that cross midnight, which is where most people go wrong by hand.

Take a shift from 09:15 to 17:40. Subtract the hours first: 17 minus 9 is 8 hours. Subtract the minutes: 40 minus 15 is 25 minutes. The duration is 8 hours and 25 minutes. Now take a night shift from 22:30 to 06:15 the next morning. The end time is smaller than the start time, so the shift crosses midnight: from 22:30 to midnight is 1 hour 30 minutes, and from midnight to 06:15 is 6 hours 15 minutes, giving 7 hours 45 minutes in total. The calculator treats the second time as the following day when it is earlier than the first, which is the assumption that matches how night shifts actually work.

Durations are also the basis for pay. An 8 hour 25 minute shift at £15 an hour is 8.4167 hours times £15, which is £126.25 — and the decimal hours are where the money hides, because 25 minutes is 0.4167 of an hour, not 0.25. The same conversion matters for billing, for overtime, and for annual leave, where a day of leave is usually 7.5 hours rather than 8. Keep the minutes honest and the money follows.

If you are adding durations rather than subtracting times — a journey with two legs, or a project with three phases — add the minutes first and carry every 60 minutes into an hour. It is the same borrowing, run in reverse, and it is the step that most people skip when they add 45 minutes and 30 minutes and get 75 minutes instead of 1 hour 15 minutes.

Please note: This calculator gives a general estimate for 2026/27 using the figures shown on this page. It is not tax, legal, mortgage or financial advice. Rules, thresholds and your own circumstances can change the result, so check the figures that matter with a qualified adviser before you act on them.