# How to calculate hours worked, with breaks and decimal hours

> Subtract your start time from your end time, then take off unpaid breaks. Worked examples, overnight shifts and a minutes-to-decimal hours table.

Last updated 2026-11-23. https://hourfolio.app/guides/how-to-calculate-hours-worked/

**To calculate hours worked, subtract your start time from your end time, then subtract any unpaid breaks.** For example, 8:45 AM to 5:15 PM is 8 hours 30 minutes; take off a 30-minute unpaid lunch and you worked 8 hours. To turn minutes into decimal hours for pay, divide them by 60: 30 minutes is 0.5 hours. Add up each day to get your weekly total.

This guide walks through the math with examples, including overnight shifts and a conversion table.

## The formula for hours worked

Hours worked = end time − start time − unpaid breaks.

Paid breaks stay in your hours; only unpaid breaks come off. Work in a 24-hour clock to avoid AM and PM mistakes: 1:00 PM is 13:00, 5:15 PM is 17:15, and 11:00 PM is 23:00.

## How to calculate hours worked, step by step

1. Write the start and end times in 24-hour time.
2. Subtract the start time from the end time. If the end minutes are smaller than the start minutes, borrow 60 minutes from the hours.
3. Subtract unpaid breaks.
4. Convert the minutes to decimal hours by dividing by 60, if you need decimal hours for pay.
5. Repeat for each day and add the days together for the week.

## Example: a day shift with an unpaid lunch

You worked from 8:45 AM to 5:15 PM with a 30-minute unpaid lunch.

1. In 24-hour time: 08:45 to 17:15.
2. 15 minutes is less than 45, so borrow an hour: 17:15 becomes 16:75. Then 16:75 − 08:45 = 8 hours 30 minutes.
3. Take off the 30-minute lunch: 8 hours 0 minutes.
4. In decimal hours: 8.00.

A second example: 9:10 AM to 3:52 PM with a 15-minute paid break. 15:52 − 09:10 = 6 hours 42 minutes. The break is paid, so nothing comes off. 42 ÷ 60 = 0.70, so you worked 6.70 hours.

## Which breaks count as hours worked?

Paid breaks count as hours worked; unpaid breaks don't. In the United States, the Department of Labor says short rest breaks of about 5 to 20 minutes count as hours worked when an employer offers them. Meal periods, typically at least 30 minutes, when you're fully relieved from work, generally don't. Federal law doesn't require employers to give breaks, but some states do. See the Department of Labor's page on [breaks and meal periods](https://www.dol.gov/general/topic/workhours/breaks) and its list of [state labor laws](https://www.dol.gov/agencies/whd/state).

This is general information, not legal advice. Your employer's policy and your state's rules decide which of your breaks are paid.

## How to calculate an overnight shift

For a shift that ends the next day, add 24 hours to the end time before you subtract.

Example: 10:00 PM to 6:30 AM with a 30-minute unpaid break.

1. In 24-hour time: 22:00 to 06:30.
2. The end is earlier than the start, so add 24 hours: 06:30 becomes 30:30.
3. 30:30 − 22:00 = 8 hours 30 minutes.
4. Take off the 30-minute break: 8 hours, or 8.00 decimal hours.

Another way: count the hours to midnight (22:00 to 24:00 is 2 hours), then the hours after midnight (00:00 to 06:30 is 6 hours 30 minutes), and add them. If clocks change for daylight saving time during the night, count the real elapsed time: on the night of the spring change, a shift is one hour shorter than its clock times suggest, and on the night of the fall change it is one hour longer.

## How to convert minutes to decimal hours

Divide the minutes by 60 to get decimal hours. 45 minutes ÷ 60 = 0.75 hours, so 7 hours 45 minutes is 7.75 hours. To go back, multiply the decimal part by 60: 0.4 hours × 60 = 24 minutes.

Payroll and timesheets often use decimal hours because they multiply easily by an hourly rate. Don't write 7 hours 45 minutes as 7.45; that would underpay you by 18 minutes.

| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 1 | 0.02 | 25 | 0.42 |
| 2 | 0.03 | 30 | 0.50 |
| 3 | 0.05 | 35 | 0.58 |
| 5 | 0.08 | 36 | 0.60 |
| 6 | 0.10 | 40 | 0.67 |
| 10 | 0.17 | 42 | 0.70 |
| 12 | 0.20 | 45 | 0.75 |
| 15 | 0.25 | 48 | 0.80 |
| 18 | 0.30 | 50 | 0.83 |
| 20 | 0.33 | 54 | 0.90 |
| 24 | 0.40 | 55 | 0.92 |

Values are rounded to two decimal places. Every 6 minutes is exactly 0.1 hours, which is why some employers round time to 6-minute steps.

## Example: adding up a week and estimating pay

Add each day's decimal hours to get the week's total, then multiply by your hourly rate for gross pay.

| Day | Start | End | Unpaid break | Hours worked | Decimal |
|---|---|---|---|---|---|
| Monday | 8:45 AM | 5:15 PM | 30 min | 8 h 0 min | 8.00 |
| Tuesday | 9:00 AM | 5:15 PM | 30 min | 7 h 45 min | 7.75 |
| Wednesday | 8:00 AM | 5:00 PM | 30 min | 8 h 30 min | 8.50 |
| Thursday | 8:30 AM | 5:00 PM | 30 min | 8 h 0 min | 8.00 |
| Friday | 9:00 AM | 3:45 PM | 30 min | 6 h 15 min | 6.25 |

The week's total is 38.50 hours, or 38 hours 30 minutes. At $18 an hour, gross pay is 38.5 × $18 = $693.00 before taxes and deductions. Over 40 hours in a week, many US workers earn overtime; see [how to calculate overtime pay](https://hourfolio.app/guides/how-to-calculate-overtime-pay/).

## Does rounding change my hours?

Some employers round clock-in and clock-out times, often to the nearest 5, 6 or 15 minutes. With 15-minute rounding to the nearest, 7 minutes or less rounds down and 8 minutes or more rounds up. Under US federal rules, rounding is allowed when it averages out so that workers are paid for all the time they actually work over time (29 CFR 785.48). If your pay looks short, compare your own records with your pay stub; see [how to check your paycheck](https://hourfolio.app/guides/check-your-paycheck/).

## Let a calculator or app do the math

The free hours calculator adds up a week for you. Enter start and end times and unpaid breaks for each day, and it shows total hours in decimal and h:mm, overtime after 40 hours at 1.5×, and gross pay at your hourly rate. It runs in your browser.

[Free work hours calculator](https://hourfolio.app/tools/hours-calculator/)

Hourfolio: Work Hours Tracker does this math as you go. Clock in and out, or add a past shift, and Hourfolio subtracts unpaid breaks, handles overnight shifts by their real start and end times, applies overtime and shows hours as "8h 30m" with estimated gross pay. It can round times to 5, 6, 10, 15 or 30 minutes if your employer does, while keeping your real times. CSV exports list regular and overtime hours in decimal form, ready for a spreadsheet or a [timesheet](https://hourfolio.app/guides/timesheet-for-hourly-workers/). See all [features](https://hourfolio.app/features/) or the [FAQ](https://hourfolio.app/faq/).

Download Hourfolio: Work Hours Tracker on the App Store: https://apps.apple.com/app/id6818527374 · Google Play: https://play.google.com/store/apps/details?id=app.ebsm.hourfolio
