The Overtime Formula for Google Sheets (2026)
Copy-paste Google Sheets formulas that split hours into regular, time and a half and double time, handle unpaid breaks, and total a full week.
The Short Version
A weekly overtime sheet needs four columns and three formulas. Put total paid hours in one cell, your rate in another, and let the sheet split the week at 40. If you would rather skip the spreadsheet entirely, the overtime pay chart does the same job for sixteen rates at once.
The Sheet Layout
| Cell | Contents |
|---|---|
| B1 | Hourly rate, e.g. 18.50 |
| B2 | Total paid hours for the week |
| B3 | Regular hours |
| B4 | Overtime hours |
| B5 | Gross pay |
The Three Formulas
Regular hours (B3):
```
=MIN(B2,40)
```
Overtime hours (B4):
```
=MAX(0,B2-40)
```
Gross pay (B5):
```
=ROUND(B3*B1 + B4*B1*1.5, 2)
```
At $18.50 and 47 paid hours the sheet returns 40 regular hours, 7 overtime hours, and $934.25 gross. The ROUND wrapper matters: without it, fractional cents accumulate across a year of pay periods and your totals stop matching payroll.
Turning Clock Times Into Hours
If you log start and end times as text like 07:00 and 19:30, Sheets stores them as fractions of a day. Convert with:
```
=(C2-B2)*24 - D2
```
Where C2 is the end time, B2 the start time, and D2 the unpaid meal period in hours (0.5 for a 30-minute lunch). Format the result cell as a plain number, not duration, or the multiplication downstream will misbehave. A shift crossing midnight needs:
```
=IF(C2 ``` For California-style daily rules, add a per-day row and split each day rather than the week: ``` =MIN(E2,8) ' regular hours that day =MAX(0,MIN(E2,12)-8) ' 1.5x hours =MAX(0,E2-12) ' 2x hours ``` Then total the three columns for the week and price them at 1x, 1.5x, and 2x. The double time calculator is a faster sanity check on the same numbers. If part of the week is paid at a premium rate, overtime must be based on the weighted average. Compute total straight-time earnings, divide by total hours, and use that as the regular rate: ``` =ROUND((F2 + F3) / (E2 + E3), 4) ``` Then the overtime premium is that regular rate times 0.5 times the overtime hours, added to the straight-time total. Keep four decimal places on the regular rate — rounding it to cents before multiplying is where blended-rate sheets drift. The weighted average overtime guide walks through the full method. Working in Excel instead? The Excel overtime formula guide covers the same logic with Excel syntax and a downloadable structure.Adding Double Time
Blending a Shift Differential
Three Mistakes That Break Overtime Sheets
Sources and further reading
Every rule in this guide traces back to a primary source. Verify the current text before acting on it — wage rules change.
- Fact Sheet #23: Overtime Pay Requirements of the FLSA — U.S. Department of Labor
- Fact Sheet #21: Recordkeeping Requirements under the FLSA — U.S. Department of Labor
About the author
Payroll & Labor Law Researcher
Javed builds and maintains the overtime calculators on this site and reads the underlying statutes so you do not have to. He tracks FLSA regulations, state wage orders and annual minimum-wage changes across all 50 states, and rewrites every rule into plain English with a worked example.
- FLSA overtime rules
- State wage & hour law
- Regular rate calculations
- Payroll compliance
Reviewed by Overtime Pay Calculator USA Editorial Team. Every guide is checked line by line against primary sources — the Fair Labor Standards Act, U.S. Department of Labor fact sheets and opinion letters, and each state labor department's current wage order — before it is published, and again whenever rates change. Read our editorial policy or report a correction.
Cite this page
Using these figures in an article, policy document or training deck? Copy a ready-made citation. Attribution with a link is all we ask.
- Plain text
Overtime Pay Calculator USA. "The Overtime Formula for Google Sheets (2026)." 2026. https://overtimepaycalculatorusa.com/blog/overtime-formula-google-sheets-2026 (accessed September 5, 2026). - APA
Overtime Pay Calculator USA. (2026). The Overtime Formula for Google Sheets (2026). Retrieved September 5, 2026, from https://overtimepaycalculatorusa.com/blog/overtime-formula-google-sheets-2026 - HTML link
<a href="https://overtimepaycalculatorusa.com/blog/overtime-formula-google-sheets-2026">The Overtime Formula for Google Sheets (2026)</a> — Overtime Pay Calculator USA
Calculate Your Overtime Pay
Ready to see how much overtime pay you've earned? Use our free calculator with state-specific rules built in.
Use CalculatorRelated Articles
Film Overtime Pay: Daily Guarantees vs Actual Hours Worked
Check a film crew day guarantee against actual hours, overtime tiers and contract terms. Worked examples distinguish hourly guarantees from flat day rates.
How to Calculate Triple-Time Pay: Rate, Premium and Worked Examples
Calculate a promised triple-time rate with hours × hourly rate × 3. Separate full earnings from the extra premium and avoid multiplying holiday rates automatically.
How to Calculate Overtime Percentage: Hours, Payroll Share and Premium
Calculate overtime hours as a percentage of total hours, distinguish payroll share from the 50% premium, and compare employee and team figures correctly.
