How to calculate overtime: the formula, worked examples and the best tools
The federal rule, the regular rate, state daily rules and six tools that do the math for you.
Short answer: multiply the employee's regular rate of pay by 1.5, then by the hours worked over 40 in the workweek, and add that to the pay for all straight-time hours. At $20 an hour and 46 hours in a week, that is 40 × $20 = $800, plus 6 × $30 = $180, so $980. Two things change the result: the regular rate includes nondiscretionary bonuses, commissions and shift premiums, and some states count overtime by the day, like California after 8 hours.
If you would rather not do it by hand every week, Homebase is the best start for a small hourly team: its time clock is free for one location and up to 10 employees, and custom overtime rules with alerts come with its Plus plan, at $70 per location per month. Gusto fits when you want overtime paid inside payroll, and QuickBooks Time has California settings built in. We compared six tools on their overtime rules, their link to payroll and what 10 employees really cost, then wrote the ten-step method and the traps that make overtime wrong.
The ranking is editorial: a sponsored placement is always flagged on its card, and no affiliate link changes a score.
6 tools that calculate overtime for you
This guide follows US federal law (FLSA) and US state rules. How overtime works. Under the federal Fair Labor Standards Act (FLSA), a nonexempt employee earns at least one and a half times their regular rate for every hour over 40 in a workweek. The workweek is a fixed, recurring period of 168 hours, seven consecutive 24-hour periods, that you choose once. The regular rate is not always the hourly wage: it is total pay for the week, including nondiscretionary bonuses, commissions and shift differentials, divided by hours worked. Some states add daily rules: California pays one and a half after 8 hours in a workday and double after 12.
What to ask of a tool. It should let you set your workweek, apply the rules of every state you employ people in, fold bonuses into the regular rate or pass the hours to a payroll tool that does, and warn you before overtime happens. The column below is our cost for a team of 10 hourly employees, at list price. Jibble is also worth a look if you only need the hours: its tracker is free for unlimited users and calculates overtime from the work schedules you set, but approving timesheets for payroll by pay period is a Premium feature. For the wider market, see our ranking of time and attendance software.
| Best for | Our cost for 10 hourly employees | Free plan | Team size | Visit | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | Homebase | Best for small hourly teams on one location | $70/mo on Plus for overtime rules and alerts; Basic $0 | 4.3/5 | Free Basic plan for 1 location and up to 10 employees | ✓ | 1 to 10 hourly staff, one site | Visit → |
| 2 | Gusto | Best when overtime must land in payroll | $169/mo on Simple with time tracking; $200 on Plus | 4.1/5 | Simple $49/month + $6 per person (payroll in one state) | — | Teams that want payroll included | Visit → |
| 3 | QuickBooks Time | Best for California daily overtime and double time | $120/mo on Time Premium | 4.0/5 | Time Premium $20/month base + $10 per user per month (base includes 1 admin) | — | California employers, QuickBooks users | Visit → |
| 4 | Connecteam | Best free option for deskless teams | $0 up to 10 users, manager included; then $29/mo up to 30 | 4.0/5 | Free for up to 10 users | ✓ | Field teams of 5 to 30 | Visit → |
| 5 | Deputy | Best for shift-based businesses with several sites | $65/mo on Core (annual view) | 3.9/5 | Lite $5, Core $6.50, Pro $9 per user per month (annual view) | — | Shift teams on several sites | Visit → |
| 6 | Clockify | Best free timesheet to count overtime hours | $54.90/mo on Standard (annual) | 3.6/5 | Free for up to 5 users | ✓ | Office teams, rare overtime | Visit → |
Is your tool missing from this page? Email us: hello@hackceleration.com
Homebase
Homebase is a scheduling and time clock app built for hourly teams. Employees clock in on a phone or a shared tablet, and the timesheet sorts their hours into regular and overtime as the week goes on. On the Plus plan, you set the rules once: overtime after 40 hours a week, after 8 hours a day where your state requires it, and the extra California settings for double time and the seventh day. Plus also alerts managers before someone crosses into overtime, while there is still time to change the schedule.
The price is what puts it first for a small team. The Basic plan costs $0 for one location and up to 10 employees, with the time clock and timesheets. Essentials is $30 per location per month, or $24 billed annually, with unlimited employees. The overtime and break preferences and the overtime alerts are listed from Plus, at $70 per location per month or $56 billed annually. If you also want Homebase to run payroll, the add-on is $49 a month plus $6 per employee paid, so a 10-person team pays $109 a month for payroll on top of the plan, $179 with Plus, and the overtime hours flow into the pay run without retyping. Homebase currently gives the first 6 months of payroll and the Plus plan free.
The catch is in the setup, not the price. Overtime and break preferences are settings you choose on Plus, and a lunch left as paid time pushes a 40-hour week over the line. Run one test week, and check one real timesheet by hand against the formula below, before you trust the totals. More on the market in our Homebase alternatives and our ranking of employee scheduling software.
- Free plan for one location and up to 10 employees
- Overtime rules by week or by day, with California settings, on Plus
- Alerts before an employee reaches overtime, on Plus
- Payroll add-on at $49/month + $6 per employee paid
- ✓Overtime counted at the time clock, not after the fact
- ✓Unlimited employees from $30 per location per month
- ✓Payroll add-on carries overtime hours into pay
- ✗The free plan stops at one location and 10 employees
- ✗Overtime rules and alerts start on Plus, at $70 a month
- ✗Break settings must be right, or overtime alerts go wrong
Gusto
Gusto is a payroll service first. Its time tools track hours, and once hours are approved they sync to payroll, where Gusto calculates the overtime and the taxes on it. Approved hours lock, so the figure that reaches the paycheck is the one a manager signed off.
The pricing unit is the person paid. Simple costs $49 a month plus $6 per person and runs payroll in one state, so 10 employees cost $109 a month. Simple does not list time tracking among its features: Gusto's time tools come with the Time & Attendance Plus add-on, $6 per person per month after a free trial, so $169 a month for 10 people with hours tracked in Gusto. Plus costs $80 a month plus $12 per person, $200 a month for the same 10 people, includes time tracking and scheduling, and is the plan for teams that work in more than one state. Compare the full payroll market in our ranking of small business payroll software, or see the best alternatives to Gusto. If you run pay by hand for now, our guide on how to do payroll covers each step.
The limit: Gusto starts from payroll, so its warnings come when you approve hours, later than a time clock that alerts during the shift. Pair it with your schedule, and read the payroll alerts before you approve.
- Overtime calculated from approved hours inside payroll
- Approved hours sync to payroll automatically
- Taxes on overtime pay filed with the payroll
- Simple plan: $49/month + $6 per person
- ✓One tool from timesheet to paycheck
- ✓Approved hours lock before payroll
- ✓Clear per-person pricing
- ✗Simple covers payroll in one state only
- ✗Alerts come at approval, not during the shift
- ✗Time tracking on Simple costs $6 more per person
QuickBooks Time
QuickBooks Time, the former TSheets, comes with detailed overtime settings. Weekly overtime defaults to 40 hours, daily overtime to 8 hours and daily double time to 12 hours, and a California option adds the seventh consecutive day of the workweek. For custom cases, such as different rules for one worker, its pay rate engine lets an admin build rules that override the company settings. Two overtime alerts per person, one daily and one weekly, warn before the hours turn into cost.
The price is a base fee plus a fee per user. Time Premium costs $20 a month with one admin included, plus $10 per user per month, so 10 employees come to $120 a month at list price. Elite costs $40 a month plus $12 per user. Introductory discounts apply to the base fee only, and the per-user fee is most of the bill for a team.
The catch: the daily overtime setting is a separate checkbox. Switched on outside a state with daily rules, it puts overtime on every shift over 8 hours, even for people under 40 hours a week. The fix is to uncheck daily overtime and set the start of the week to match your workweek. If you use QuickBooks accounting, our timesheet software ranking covers the other tools that sync with it.
- Daily overtime, double time and seventh-day rule for California
- Weekly overtime default at 40 hours
- One daily and one weekly overtime alert
- Pay rate engine for custom rules per worker
- ✓A California option built in
- ✓Syncs hours to QuickBooks payroll and accounting
- ✓Custom rules for one worker or one group
- ✗$120 a month for 10 employees at list price
- ✗Discounts apply to the base fee only
- ✗Daily overtime switched on by mistake inflates pay
Connecteam
Connecteam is an all-in-one app for teams that do not sit at a desk: time clock, scheduling, chat and forms on the employee's phone. Its overtime rules are threshold rules, set in the company policies: after a number of hours in a day, in a week, in a pay period, or after a number of consecutive days worked. That covers federal weekly overtime, California's daily rule and union contracts that pay extra after the fifth day in a row.
The pricing works by blocks of users. The free Small Business Plan covers up to 10 users, and its FAQ words it as businesses with fewer than 10 employees: count the manager's own account. Operations Basic costs $29 a month billed yearly, or $35 billed monthly, for the first 30 users, then $0.80 per extra user per month on yearly billing. Setting a different pay rate per job is included in the free Small Business Plan; on paid plans, it starts on Advanced, at $49 a month billed yearly. A crew of 25 pays the same $29 as a crew of 11 on Basic, which makes it cheap for teams between 11 and 30 people.
The limit: the free Small Business Plan does not include the payroll integration; exporting approved hours starts on Basic. Test the export to your payroll before the first pay period. Weighted overtime, the average rate when someone works two jobs at two rates, needs the pay rates feature turned on. See how it compares in our Connecteam alternatives.
- Free Small Business Plan up to 10 users
- Overtime rules by day, week, pay period or consecutive days
- Flat $29/month for up to 30 users on yearly billing
- Pay rates per job on the free plan, and from Advanced on paid plans
- ✓Built for phones and field crews
- ✓Consecutive-day rules out of the box
- ✓Very low cost between 11 and 30 users
- ✗Past 10 users, pay rates per job wait for the $49 Advanced plan
- ✗Weighted overtime needs extra setup
- ✗Payroll integration starts on Basic, not on the free plan
Deputy
Deputy builds overtime into the schedule. Pay rules set a daily threshold, after which the rule's rate applies, and can combine daily and period overtime. By default it counts daily and weekly overtime on the calendar day and the calendar week, which is the first thing to check against your own workweek. Labor law compliance is listed from the Lite plan, and advanced labor law compliance from Core.
The pricing is per user. Lite is $5, Core $6.50 and Pro $9 per user per month in the annual view, against $5.50, $7.25 and $10 on monthly billing. Monthly plans carry a minimum spend of $30 per invoice, so a team of four on Lite pays $30, not $22. For 10 employees on Core, count $65 a month in the annual view. Payroll is an add-on in the US on annual Core and Pro plans, listed at $8 per user per month plus a $49 monthly base fee, with both fees varying by business size.
The limit: Deputy's rules are powerful, and the setup takes longer than Homebase. Rounding changes the hours that cross 40, so check which plan carries automatic timesheet rounding before you move. Compare it with others in our Deputy alternatives.
- Daily and period overtime pay rules
- Labor law compliance from the Lite plan
- Overtime counted on the calendar week by default
- Payroll add-on $8 per user + $49 per month
- ✓Overtime visible while you build the schedule
- ✓Per-user price from $5
- ✓Fits several sites and roles
- ✗$30 minimum per invoice on monthly plans
- ✗Longer setup than simpler apps
- ✗Payroll costs extra
Clockify
Clockify is a time tracker, not a payroll tool. Its attendance report shows each person's daily start and end time, breaks, overtime and time off, which gives you the overtime hours to feed into your pay calculation. Turning those hours into pay, with the half-time premium and state rules, is the job of your payroll tool; the Clockify integration with Zapier can pass the hours on to it.
The free plan covers up to 5 users. The attendance and overtime report comes with the Standard plan, at $5.49 per seat per month billed annually, or $6.99 billed monthly: $54.90 a month for 10 people on annual billing. Basic, at $3.99 per seat billed annually, does not list it.
The limit: Clockify counts hours, and pay is computed in payroll. It suits office teams where overtime is rare. For hourly crews, the tools above do more. Other options in our Clockify alternatives.
- Free plan for up to 5 users
- Attendance and overtime report on Standard
- Standard at $5.49 per seat billed annually
- Kiosk and timesheet modes
- ✓Cheap and quick to start
- ✓Good for project and office time
- ✓Overtime hours in one report
- ✗Counts overtime hours; pay is computed in payroll
- ✗Overtime report needs the paid Standard plan
- ✗Built for project time more than shifts
How to calculate overtime, step by step
The same formulas work in Excel or Google Sheets, one row per employee and per workweek. With hours worked in B2, the hourly rate in C2 and the week's nondiscretionary bonuses in D2, the regular rate in E2 is =(B2*C2+D2)/B2, the overtime premium in F2 is =MAX(0,B2-40)*E2*0.5, and the week's pay is =B2*C2+D2+F2. The ten steps below give the right figure for an hourly or salaried nonexempt employee under federal law, then add the state layer. Each step has a worked example you can redo with your own numbers.
The 10 steps
Check who is owed overtime
Overtime is owed to nonexempt employees. Most exempt executive, administrative and professional employees must earn a salary of at least $684 a week, which is $35,568 a year, and pass a duties test as well. Hourly employees are nonexempt in almost every case. Decide this per person before you count a single hour: a wrong category repeats its error every week.
Fix your workweek
The workweek is a fixed and regularly recurring period of 168 hours: seven consecutive 24-hour periods. It can start any day and any hour, but it stays the same. Overtime is counted per workweek, not per pay period: with biweekly payroll, you still check each week on its own. Write the start day and hour in your handbook, and set the same one in your time clock.
Count the hours actually worked
Add up the hours worked in the workweek. Paid time off for vacation, holidays or sickness is paid, but it is not part of the regular rate under federal law. Bona fide meal breaks, typically 30 minutes or more with the employee relieved of duty, generally need not be paid as work time, while work you did not ask for but allowed is work time. A 46-hour week gives 6 overtime hours.
Compute the regular rate
Divide the total pay for the week by the hours worked, after adding nondiscretionary bonuses, commissions and shift differentials. Example: $18 an hour for 45 hours, plus a $90 weekly production bonus. Total straight-time pay is 45 × $18 + $90 = $900, and the regular rate is $900 ÷ 45 = $20, not $18. Discretionary bonuses, gifts and expense reimbursements stay out.
Add the half-time premium
The FLSA method pays straight time for all hours, then adds half the regular rate for each overtime hour. In the bonus example: $900 already covers all 45 hours at straight time, the premium is 5 × $20 × 0.5 = $50, and the week pays $950. Paying $18 × 1.5 on the 5 hours instead would give $945: $5 short every week, for every employee on that bonus.
Average two pay rates
When someone works two jobs at two rates in the same week, the regular rate is the weighted average. Example: 30 hours at $20 and 15 hours at $30. Straight-time pay is $600 + $450 = $1,050 for 45 hours, the regular rate is $1,050 ÷ 45 = $23.33, the premium is 5 × $23.33 × 0.5 = $58.33, and the week pays $1,108.33.
Handle salaried nonexempt staff
For a salaried nonexempt employee, divide the weekly salary by the number of hours it is meant to cover. A $1,000 salary for a 40-hour week gives a $25 regular rate, and 45 hours pay $1,000 + 5 × $37.50 = $1,187.50. If the salary is meant to cover a fixed 45-hour week, the extra hours are already paid at straight time, and only the half is owed: a $405 salary for 45 hours gives a $9 rate, and 5 overtime hours add 5 × $4.50 = $22.50.
Salaried with fluctuating hours
Some salaried nonexempt employees work hours that change every week for a fixed salary. Under the fluctuating workweek method (29 CFR 778.114), the salary already pays every hour at straight time, so only the half is added: divide the salary by the hours actually worked, then pay half that rate for each hour over 40. Example: $900 for 55 hours gives $900 ÷ 55 = $16.36, a premium of $8.18 an hour, 15 × $8.18 = $122.70, so $1,022.70 for the week. The method needs a clear agreement that the salary covers all hours, hours that really vary, the full salary even in short weeks, and a rate that never falls below the minimum wage. Some states do not permit it: check before you use it.
Piece-rate pay
For pay by the piece, the regular rate is the piece earnings divided by all hours worked, and each overtime hour adds half that rate. Example: 450 pieces at $2 in a 45-hour week make $900, a regular rate of $900 ÷ 45 = $20, and a premium of 5 × $20 × 0.5 = $50: $950 in total. Add any nondiscretionary bonus to the piece earnings before you divide. Some states set their own method for piece-rate workers.
Apply your state's rules
Federal law is the floor. In California, hours over 8 and up to 12 in a workday pay one and a half times the regular rate, hours over 12 pay double, and on the seventh consecutive day of a workweek the first 8 hours pay one and a half and the rest double. A 14-hour day at $28 pays 8 × $28 + 4 × $42 + 2 × $56 = $224 + $168 + $112 = $504. Daily and weekly overtime are counted so that the same hour is never paid twice. Alaska, Nevada and Colorado also count overtime by the day; Colorado pays time and a half after 12 hours in a workday or 12 consecutive hours, or after 40 in the week, whichever pays more. Alaska and Nevada apply their own conditions: check your state labor office before you set up a tool.
8 traps that make overtime wrong
The formula is short. What breaks it is a setting, a price rule or a habit. These are the ones that cost real money, with the numbers.
The 8 traps
Averaging two weeks
Averaging hours over two or more weeks is not permitted. A 50-hour week followed by a 30-hour week is 80 hours over the pay period, but week one still has 10 overtime hours. At $20 an hour, that is $100 of premium that disappears if your payroll only looks at the 80 hours.
Unpaid breaks counted as work
If your time clock does not know a break is unpaid, a one-hour lunch on five days adds 5 hours to the week, and a 40-hour employee shows 45 hours and 5 hours of overtime: at $20 an hour, $150 paid for time nobody worked. Set breaks as unpaid in the tool, and check one timesheet by hand.
A workweek that does not match the tool
Deputy counts weekly overtime on the calendar week by default, and QuickBooks Time lets you set the start of the week in its company settings. If your handbook starts the week on a different day than the tool, overtime is counted on the wrong 168 hours, and someone who worked a long Sunday can be shifted from one week to the next.
Daily overtime switched on where it is not owed
In QuickBooks Time, daily overtime is a separate setting. Left on, it adds overtime on every shift over 8 hours, for employees under 40 hours a week. Outside states with daily rules, that is pay you do not owe. Turn daily overtime on only for the states that require it.
Gusto's Simple plan covers one state
Simple runs payroll in one state at $49 a month plus $6 per person: $109 for 10 people. Hire one person in a second state and you need Plus, at $80 a month plus $12 per person: $200 a month for the same 10. Price the plan for where you will employ people next year, not today.
Homebase is free for one location only
The Basic plan covers one location and up to 10 employees. A second shop means a paid plan per location: Essentials at $30 per location per month makes $60 for two sites, or $48 billed annually. Still cheap, but budget it before you open.
Deputy's minimum on monthly plans
Deputy's monthly Lite, Core and Pro plans carry a minimum spend of $30 per invoice. Four employees on monthly Lite at $5.50 would be $22: you pay $30. For a very small team, a free plan elsewhere costs less.
Only the half counts for the overtime deduction
For tax years 2025 through 2028, the federal deduction for qualified overtime compensation covers up to $12,500 a year, or $25,000 on a joint return, and phases out above $150,000 of modified adjusted gross income, $300,000 for joint filers. Only the half of time and a half that the FLSA requires qualifies: a premium owed only under state law, such as California's daily overtime in a week under 40 hours, or under a contract, does not count, and neither, in general, do weekend and holiday premiums. Pay double time and still only half the regular rate counts. An employee at $20 an hour with 5 overtime hours a week for 50 weeks earns $7,500 of overtime pay, but only $2,500 of it, the half, counts toward the deduction. Show the premium as its own line on the pay stub so the amount is easy to report.
Calculating overtime · Questions people ask
Is overtime paid for weekends and holidays?
Not as such under federal law. The FLSA does not require overtime pay for work on Saturdays, Sundays, holidays or regular days of rest: only the hours over 40 in the workweek count. Time and a half on a holiday is a company policy or a union contract, and when you pay it, that premium does not raise the regular rate.
Can an employee agree to give up overtime pay?
No. The overtime requirement may not be waived by agreement between the employer and the employee, even in writing. An employee who works unapproved overtime is still owed it: you can discipline the person for breaking a rule, but you still pay the hours.
Is there a limit on how many overtime hours someone can work?
Not under federal law for adults. There is no limit in the FLSA on the number of hours employees aged 16 and older may work in a workweek, as long as each overtime hour is paid. Limits come from state law for some jobs, union contracts and the rules for workers under 16.
What is time and a half for $15 an hour?
$22.50 an hour: $15 × 1.5. A 45-hour week at $15 pays 40 × $15 = $600, plus 5 × $22.50 = $112.50, so $712.50. The federal floor matters here too: the federal minimum wage is $7.25 an hour, so no overtime hour can pay less than $10.875 under federal law, and a state with a higher minimum wage raises that floor.
Can I give comp time instead of overtime pay?
No, not in the US private sector. Giving a nonexempt employee time off later instead of overtime pay is illegal there, even if the employee would rather have the time, because the overtime requirement cannot be waived by agreement. What you can do is shorten another day in the same workweek, so the week stays at 40 hours: overtime is counted week by week.
Is overtime calculated by day or by week?
By week under federal law: only the hours over 40 in the workweek count, and two weeks cannot be averaged. A few states add a daily count, such as California after 8 hours in a workday and Colorado after 12. Where both apply, the employee gets whichever count pays more, and the same hour is never paid twice.
How do you convert a salary to an hourly rate for overtime?
Divide the salary by the hours it is meant to cover. A $52,000 yearly salary is $1,000 a week; for a 40-hour week, the regular rate is $25 and each overtime hour pays $37.50. For an employee paid twice a month, multiply the semimonthly salary by 24 and divide by 52 to get the weekly figure first.
How is overtime calculated for tipped employees?
On the full minimum wage, not on the cash wage. When an employer takes a tip credit, the overtime rate is 1.5 × $7.25 = $10.875 under federal law, and the tip credit cannot be larger for an overtime hour than for a straight-time hour. With the $2.13 federal cash wage and the $5.12 tip credit, each overtime hour pays $10.875 − $5.12 = $5.755 in cash, not 1.5 × $2.13 = $3.20. States with a higher minimum wage raise these numbers.
How does overtime work outside the US?
Differently, so do not reuse the FLSA formula. In the UK, employers do not have to pay workers for overtime, but average pay for all hours worked must not fall below the National Minimum Wage; the employment contract sets any overtime rate. In Canada, the Canada Labour Code gives federally regulated workplaces a standard of 8 hours a day and 40 a week, and hours beyond it pay at least 1.5 times the regular wage, or time off at 1.5 hours per hour worked; other employers follow the rules of their province or territory. Elsewhere, start from the national labor authority.
Get the next ranking in your inbox
New comparisons of payroll, HR and time tracking tools, with prices checked on the vendors' pages. See the whole market in our payroll software ranking the payroll software pricing index and the time and attendance software pricing index. Read how we handle your address in our privacy policy.