# How to calculate overtime pay: the 40-hour rule and examples

> US federal law pays overtime at 1.5 times the regular rate after 40 hours in a workweek. How to calculate it, with worked examples and daily overtime.

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

**Under the US Fair Labor Standards Act (FLSA), covered non-exempt employees must be paid at least 1.5 times their regular rate for every hour over 40 in a workweek.** To calculate it, multiply your hourly rate by 1.5 to get the overtime rate, multiply that by your overtime hours, and add it to your pay for the first 40 hours. At $20 an hour, 46 hours in a week pays 40 × $20 + 6 × $30 = $980.

This is general information, not legal advice. Rules depend on your job, your state and your contract. The official source is the US Department of Labor's [Fact Sheet #23: Overtime Pay Requirements of the FLSA](https://www.dol.gov/agencies/whd/fact-sheets/23-flsa-overtime-pay) and its [overtime pay page](https://www.dol.gov/agencies/whd/overtime).

## The federal overtime rule in short

The FLSA sets the federal baseline for overtime in the United States:

- **The threshold is 40 hours in a workweek.** Hours over 40 are overtime.
- **The rate is at least time and a half,** 1.5 times your regular rate of pay.
- **A workweek is a fixed, regularly recurring period of 168 hours,** seven consecutive 24-hour periods. It can start on any day and at any hour, and doesn't have to match the calendar week.
- **Each workweek stands alone.** Averaging hours over two or more weeks is not allowed, even if you're paid every two weeks.
- **There is no federal daily overtime.** The FLSA doesn't require overtime for working more than 8 hours in a day, or for weekends and holidays as such.

Not every job is covered. Some employees are exempt from overtime, for example many salaried managers and professionals who meet the Department of Labor's tests. Your regular rate can also include more than your base hourly rate, such as some bonuses and shift differentials, which raises your overtime rate.

## States can add daily overtime

Some states have their own overtime laws, and where state and federal law both apply, the rule that gives the worker more applies. A few states have daily overtime. California is the best-known example: its Labor Commissioner says overtime at 1.5× applies after 8 hours in a workday (up to 12), double time applies after 12 hours in a workday, and there are special rules for the seventh consecutive day of work in a workweek. See California's [overtime FAQ](https://www.dir.ca.gov/dlse/faq_overtime.htm). For other states, start from the Department of Labor's [state labor laws](https://www.dol.gov/agencies/whd/state) page and your state labor office.

## How to calculate overtime pay, step by step

1. **Add up your hours for the workweek.** Use the hours you actually worked, without unpaid breaks. [How to calculate hours worked](https://hourfolio.app/guides/how-to-calculate-hours-worked/) shows how.
2. **Split them into regular and overtime hours.** Under the weekly rule, the first 40 hours are regular and the rest are overtime.
3. **Find your overtime rate.** Hourly rate × 1.5.
4. **Calculate each part.** Regular hours × hourly rate, and overtime hours × overtime rate.
5. **Add them together** for your gross pay for the week, before taxes and deductions.

## Example 1: weekly overtime

You earn $20 an hour and worked 46 hours this workweek.

- Regular pay: 40 hours × $20 = $800.00
- Overtime rate: $20 × 1.5 = $30.00 an hour
- Overtime pay: 6 hours × $30 = $180.00
- Gross pay: $800 + $180 = **$980.00**

Another way to get the same number: pay all 46 hours at $20 ($920), then add the half-time premium for the 6 overtime hours (6 × $10 = $60). Pay stubs sometimes show it this way.

## Example 2: biweekly pay, two different weeks

You earn $20 an hour, are paid every two weeks, and worked 50 hours in week one and 30 hours in week two. That's 80 hours over the pay period, but each workweek counts separately.

| Workweek | Hours | Regular | Overtime | Pay |
|---|---|---|---|---|
| Week 1 | 50 | 40 × $20 = $800 | 10 × $30 = $300 | $1,100 |
| Week 2 | 30 | 30 × $20 = $600 | 0 | $600 |
| Pay period | 80 | | | **$1,700** |

If the two weeks were wrongly averaged to 40 hours each, the paycheck would be $1,600: $100 short.

## Example 3: daily and weekly overtime together

Where daily overtime applies, hours over 8 in a day are overtime even when the week stays under 40. Say you earn $20 an hour and work 10 hours Monday to Thursday and 6 hours on Friday, 46 hours in all.

- Daily overtime: 2 hours on each of the four 10-hour days = 8 overtime hours.
- Regular hours: 8 × 4 + 6 = 38. That's under 40, so there's no extra weekly overtime.
- Gross pay: 38 × $20 + 8 × $30 = $760 + $240 = **$1,000.00**

Under the weekly rule alone, the same 46 hours would pay $980. Hours paid as daily overtime are not counted a second time toward weekly overtime. This example uses one overtime rate; California's double time after 12 hours and seventh-day rules would change the result for longer days.

## How overtime works in Hourfolio

Hourfolio: Work Hours Tracker calculates overtime for each job from three settings in the job editor's Overtime section:

- **Daily:** overtime after this many hours in a day. The default is 8.
- **Weekly:** overtime after this many regular hours in a week. The default is 40.
- **Overtime rate:** time and a half (1.5×) or double time (2×). The default is 1.5×.

Set a threshold to 0 to turn it off. **If your job only has federal weekly overtime, set Daily to 0** so only hours over 40 a week count. Under Pay period, set **Workweek starts** to the day your employer's workweek begins.

How Hourfolio counts it:

- Daily overtime is counted per calendar day, midnight to midnight in the job's time zone, adding up all of that job's shifts that day. An overnight shift's hours are split at midnight.
- Weekly overtime counts regular hours from midnight on the day your workweek starts. Hours already counted as daily overtime don't count again, as in Example 3.
- Overtime is counted per job. Hours at two different jobs don't add up toward one threshold.
- Overtime is worked out across your full history before a report is cut, so a pay period that starts mid-week still gets the right overtime.
- Each job has one overtime rate. Tiered rules, such as double time after 12 hours or seventh-day rules, aren't modeled.
- With Premium, night, weekend and holiday pay raise the hourly rate first, and overtime multiplies the raised rate.
- Each shift keeps the hourly rate and overtime settings it was recorded with, so set overtime up before you start tracking. Changing a job's overtime settings applies to new shifts. For night, weekend and holiday pay and time rounding, Hourfolio offers to update saved shifts that aren't marked paid.

Daily and weekly overtime are free in Hourfolio. The Timesheet shows overtime hours for each shift and each period, next to estimated gross pay. The Live Activity shows a bar toward overtime, and the Week widget stacks overtime on each day's bar. CSV exports have separate regular and overtime hour columns and the overtime multiplier. See all [features](https://hourfolio.app/features/), or check a pay stub against your hours with [Paycheck check](https://hourfolio.app/guides/check-your-paycheck/).

## Try it in the free calculator

The free hours calculator works out a week in your browser: enter start and end times and unpaid breaks for each day, and it shows total hours, overtime after 40 hours a week at 1.5×, and gross pay at your hourly rate.

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

Hourfolio gives estimates based on the rules you enter. If your employer's overtime differs from what you expect, ask your payroll department, and contact the Department of Labor's Wage and Hour Division or your state labor office if it isn't resolved. Questions about the app are answered in 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
