Skip to main content
Home›Everyday›Hours and Time Calculator

Hours and Time Calculator

Work out the hours and minutes between two times, including shifts past midnight and breaks, add up a list of times and convert to decimal hours.

Checked by the SumAtlas teamUpdated 11 October 2026SourcesHow we check our figuresIndependent: not a government website

Your details: Your times

Your times
Work out
More optionsOptional. The defaults suit most people; change these if your situation is different.
Clock styleOptional
CurrencyOptional

Free to use. Your details are not saved to an account.

Your results

Your summary

Time between8:00hours
Worked8:00
Break0:30

From 09:00 to 17:30 is 8 hours 30 minutes. Less a 30-minute break, that is 8 hours, or 8.00 decimal hours.

8.00 decimal hours480 minutes

Based on your figures

Your results in detail

Total span8:30
Break30 mins
Worked (decimal)8.00
Week (5 days)40:00 (40.00)
What we assumed
Midnight
A finish at or before the start is read as the next day
Break
Taken off the total, as an unpaid break
Decimal hours
Minutes ÷ 60, rounded to 2 places (7:45 = 7.75)

Not right for you? Change it under More options.

How the time splits

Worked8:00
Break0:30

Over a week, month and year

5 days a week like this one.

ItemHoursDecimal
A day8:008.00
A week40:0040.00
A month (average)173:20173.33
A year (52 weeks)2080:002080.00

Worth knowing

Filling in a timesheet?

The timesheet calculator adds up a whole week day by day, with overtime and pay. To check your holiday, see the holiday entitlement calculator.

Guide

How the calculation works, with fixed examples, then answers to common questions.

THE TIME GUIDE

How to work out hours and minutes

Time does not add up like ordinary numbers: there are 60 minutes in an hour and 24 hours in a day. This guide shows how to find the time between two times, deal with shifts past midnight and breaks, add up a list of times and turn hours and minutes into decimal hours for a timesheet.

1In brief

The short answer

  • Subtract the start from the finish; if the minutes go negative, borrow 60 from the hours.
  • If the finish is earlier than the start, the time runs past midnight: add 24 hours to the finish.
  • Decimal hours = minutes ÷ 60, so 7 hours 45 minutes is 7.75.
  • Take unpaid breaks off the total before working out pay.
8:00
09:00 to 17:30, less 30 minutes
7:15
22:00 to 06:00, less 45 minutes
0.75
45 minutes in decimal hours
40:00
Five 8-hour days
2Method

Hours between two times

Write both times in the 24-hour clock, then take the start from the finish. Do the minutes first. If the finish minutes are smaller than the start minutes, add 60 to them and take 1 from the hours.

From 09:00 to 17:30
  1. Minutes30 − 030
  2. Hours17 − 98
Time between8 hours 30 minutes
3Night shifts

Shifts past midnight

When the finish time is earlier than the start, the shift has crossed midnight. Add 24 hours to the finish time, then subtract as usual. The calculator does this automatically whenever the finish is at or before the start.

A night shift from 22:00 to 06:00 with a 45-minute break
  1. 06:00 + 24 hours30:00
  2. 30:00 − 22:008:00
  3. Less the break−0:45
Time worked7 hours 15 minutes

Shifts over 24 hours

A finish time alone cannot show a shift longer than a day. For those, add up the hours of each day with “Add up hours and minutes”.

4Breaks

Taking off breaks

Enter any unpaid break in minutes and the calculator takes it off. A long day shift from 07:30 to 19:30 with a 60-minute break is 12 hours on site but 11 hours worked. Paid breaks should not be taken off, so leave the break at 0 if yours is paid.

5Decimals

Hours and minutes to decimal hours

Payroll systems and many timesheets use decimal hours, where 0.5 is half an hour. To convert, divide the minutes by 60 and add them to the hours. To go back, multiply the decimal part by 60.

Minutes as decimal hours (rounded to 2 places)
MinutesDecimal
50.08
100.17
150.25
200.33
250.42
300.50
400.67
450.75
500.83
550.92

The timesheet calculator does this for a whole week, day by day, with overtime.

6Watch out

The 7.30 trap

7:30 (hours and minutes)
Means
7 hours 30 minutes
Decimal
7.50
7.30 (decimal hours)
Means
7 hours 18 minutes
Decimal
7.30

Writing 7.30 on a decimal timesheet when you mean half past seven loses 12 minutes of pay. Always check which format the form expects.

7Adding

Adding up hours and minutes

Add the hours and the minutes separately, then turn each 60 minutes into an hour. To take time away, subtract the minutes first, borrowing an hour if needed. In the calculator, start a line with a minus to take it away.

7:30 + 8:15 − 0:45
  1. 7:30 + 8:1515:45
  2. 15:45 − 0:4515:00
Total15 hours (15.00)
8Totals

From a day to a week and a year

Multiply a day’s hours by the days you work. Five 8-hour days make 40 hours a week, and 52 weeks of that is 2,080 hours a year. A 9-to-5 day with a 30-minute unpaid lunch is 7 hours 30 minutes, or 37 hours 30 minutes over five days. The calculator shows a day, a week, an average month (52 weeks ÷ 12) and a year.

9Pay

Working out pay

Pay is decimal hours × hourly rate. Use decimal hours, not hours and minutes, or the answer will be wrong.

8 hours at £12.71 an hour (the UK National Living Wage from April 2026)
  1. Decimal hours8.00
  2. × £12.71£101.68
Five days£508.40

This is pay before tax. Choose £, $ or € under More options. To see holiday entitlement for your hours, try the holiday entitlement calculator.

10Clocks

24-hour and 12-hour clocks

The calculator reads both. In the 12-hour clock, 12am is midnight and 12pm is midday, so a shift from 9pm to 5am is 21:00 to 05:00 in the 24-hour clock. You can type 09:00, 9.30, 1730 or 5:30pm, and choose how times are shown under More options.

11Rules

Breaks and working hours rules

In the UK, adult workers usually have the right to one uninterrupted 20-minute rest break if they work more than 6 hours a day, and it does not have to be paid. Most workers cannot be made to work more than 48 hours a week on average, normally over 17 weeks, unless they opt out.

In the US, the federal rule is that most hourly employees get overtime at one and a half times their regular rate for hours over 40 in a workweek. Contracts and local laws can give more.

12Tools

Times in a spreadsheet

Spreadsheets store times as fractions of a day. With a start in A1 and a finish in B1, =MOD(B1-A1, 1) gives the time between them, even past midnight. Format the cell as [h]:mm to show totals over 24 hours, and multiply by 24 to get decimal hours.

13Watch out

Common mistakes

  • Subtracting times as decimals, such as 17.30 − 9.45 = 7.85, instead of 7 hours 45 minutes.
  • Forgetting that a night shift crosses midnight.
  • Taking off a paid break, or forgetting an unpaid one.
  • Rounding each day before adding, which can add up to several minutes a week.

For days rather than hours, use the date calculator.

14Summary

Key numbers

60
Minutes in an hour
1,440
Minutes in a day
÷ 60
Minutes to decimal hours
2,080
Hours in a year of 40-hour weeks
20 min
UK rest break after 6 hours
48
UK average weekly hours limit
Questions

Frequently asked

How do I work out the hours between two times?

Take the start time from the finish time. If the minutes go below zero, borrow 60 minutes from the hours. From 09:00 to 17:30 is 8 hours 30 minutes.

How do I calculate hours worked past midnight?

Add 24 hours to the finish time before you subtract. From 22:00 to 06:00 is 8 hours. The calculator does this whenever the finish is at or before the start.

How do I take off a break?

Enter the unpaid break in minutes. A 9:00 to 17:30 day with a 30-minute break is 8 hours worked.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes 0.5, 45 minutes 0.75, and 20 minutes about 0.33. So 7 hours 45 minutes is 7.75 hours.

Why do 7.30 hours and 7:30 differ?

7:30 is 7 hours 30 minutes, which is 7.5 decimal hours. Typing 7.30 into a pay sheet that expects decimals would pay for only 7 hours 18 minutes.

How do I add up hours and minutes?

Add the hours and the minutes separately, then turn every 60 minutes into an hour. 7:30 + 8:15 = 15:45. Choose "Add up hours and minutes" to do this for up to eight times.

Can I subtract time?

Yes. Start a line with a minus, such as −0:45, to take that time away from the total.

What formats can I type?

Times as 09:00, 9.30, 1730 or 5:30pm. Durations as 7:30, 7h 30m, 45m, 90 min or decimal hours such as 7.5.

How many hours is 9 to 5?

8 hours, or 7 hours 30 minutes after a 30-minute unpaid lunch break. Five days of that is 37 hours 30 minutes a week.

Am I entitled to a break at work?

In the UK, adult workers usually have the right to one uninterrupted 20-minute rest break if they work more than 6 hours a day. It does not have to be paid. Other countries have their own rules.

How do I work out pay for my hours?

Multiply the decimal hours by the hourly rate. Add your rate under More options to see pay for a day and a week, before tax.

Good to know

Results are rounded to the nearest minute, and decimal hours to 2 places. Pay is shown before tax.