Every hourly worker in the US has seen time and a half on a pay stub, and most have never had anyone explain it properly. It is one line of maths, but it hides inside a week of hours, a base rate, and a set of rules that change from state to state. I build pay calculators for a living now, so let me walk through the formula the way I coded it.
The formula
Time and a half means your hourly rate multiplied by 1.5. If you earn $20 an hour, an overtime hour pays $30. That is the whole formula:
overtime rate = hourly rate × 1.5 The hard part is never the multiplication. It is deciding which hours count as overtime in the first place.
Which hours are overtime?
Under the federal Fair Labor Standards Act, overtime kicks in after 40 hours in a workweek. Work 45 hours at $20 an hour and the maths looks like this:
- 40 regular hours × $20 = $800
- 5 overtime hours × $30 = $150
- Total: $950
A common mistake is to apply the 1.5 multiplier to the whole week. It only applies to the hours past the threshold. Another common mistake is to count the week as Monday to Sunday. The law says a workweek is any fixed seven-day period your employer defines, and it does not have to start on a Monday.
The part that surprised me
When I started coding the overtime calculator, I assumed the federal rule was the whole story. It is not. A handful of states add daily overtime on top of the weekly rule. California pays time and a half after 8 hours in a single day, and double time after 12. Alaska pays it after 8 hours a day too. Colorado uses 12 hours a day or 40 a week, whichever pays the worker more.
That changed how I built the tool. Instead of one rule, the calculator needs a table of rules, one per state, and the right rule has to be picked before any maths happens. A worker in Texas and a worker in California can work identical shifts and be owed different amounts, and both answers are correct.
Where the formula breaks down in real life
Three edge cases keep catching people out.
First, the weighted average. If you work two jobs for the same employer at different rates — say $18 on the till and $22 in the warehouse — your overtime rate is not 1.5 times either one. It is 1.5 times the weighted average of the two. Payroll software gets this right; most people doing it by hand do not.
Second, bonuses and shift differentials. A non-discretionary bonus gets folded into your regular rate before the 1.5 is applied, which pushes the overtime rate up a little. A $100 weekly bonus spread over 40 hours adds $2.50 to the regular rate, so the overtime rate rises from $30 to $33.75.
Third, salaried non-exempt workers. Being on a salary does not automatically mean no overtime. If you are non-exempt, your salary is converted back to an hourly rate — usually salary divided by 40 hours a week — and the 1.5 multiplier applies from there.
Why I bothered coding it
I kept seeing workers guess. They would multiply their whole week's pay by 1.5, or forget the daily rule entirely, or trust a number on a stub they could not reproduce. A calculator that shows each step — regular hours, overtime hours, the rate, the total — lets anyone check the maths against their own stub in about a minute.
That is the whole point of the tool I run: you can try the same week through mytimecardcal.com and see every line of the working, not just the final number.
Time and a half is simple once you see it. The formula is one line. Knowing which hours it applies to is the actual skill — and that is the part worth checking every single week.
