Pay regular hours straight, hours past 40 at time-and-a-half, and hours past 60 at double time. MIN and MAX split the hours into bands so each is paid at the right multiplier.
The example
65 hours at $20/hr across three bands.
| A | B | |
|---|---|---|
| 1 | Hours | Gross |
| 2 | 65 | $1,600 |
The formula
The formula:
How it works
How it works:
MIN(hours, 40)isolates the regular band, paid at the base rate.MEDIAN(hours-40, 0, 20)clamps the 1.5× band to between 0 and 20 hours.MAX(hours-60, 0)takes only the hours above 60 for the 2× band.- Add the three pieces — each set of hours is paid exactly once at its correct multiplier.
MEDIAN as a clamp: MEDIAN(x, low, high) is a neat way to bound a value between two limits — it returns x when in range, the low when below, the high when above. Perfect for capping a pay band at 20 hours without nested IFs.
Try it: interactive demo
Hours and base rate.
Variations
Simple 1.5x over 40
One overtime tier:
Double over 8/day
Daily OT:
Overtime hours only
Count OT hours:
Pitfalls & errors
Bands must not overlap. MEDIAN clamps the middle band so hours aren’t double-counted across tiers.
Know your rules. Overtime law varies (weekly vs daily, 1.5× vs 2×) — match your jurisdiction.
Base rate consistency. Use the regular hourly rate; blended rates need a separate calculation.
Practice workbook
Frequently asked questions
How do I calculate tiered overtime pay in Excel?
How does MEDIAN clamp a pay band?
What about simple overtime over 40 hours?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class