Alaska's daily overtime rule: the one most calculators get wrong
Most overtime calculators only know one rule: 40 hours a week, then time and a half. That is the federal rule, and for most states it is the only rule. Alaska is not most states.
Alaska pays overtime on a daily basis too. Work more than 8 hours in a single day and the extra hours are overtime at 1.5x your regular rate, even if the week stays under 40 hours. Work more than 40 hours in the week and the same rate applies. The worker gets whichever of the two calculations pays more, not both added together.
Here is a real example. Say you work four 10-hour days, 40 hours total. Under the federal rule alone, that is zero overtime. Under Alaska law, each day has 2 overtime hours, so 8 of those 40 hours are paid at time and a half. That is a meaningful difference on a paycheque, and it is exactly the kind of thing a generic calculator misses.
Coding it was simple once I understood it. The rule is two separate counters: one per day, one per week. For each day, hours over 8 go into the overtime bucket. Then the weekly total is checked: if the week's non-overtime hours are over 40, the excess moves into the overtime bucket too. The tricky part is not double counting. A 10-hour day in a 50-hour week should not be counted twice. So the code works out daily overtime first, then checks the week against what is left.
There are a couple of details that matter. The daily rule applies to employers with four or more employees, and it does not cover everyone: executive, administrative and professional employees are exempt, along with a handful of other categories. I made the calculator say this on the page rather than silently assuming the rule applies, because a wrong answer presented confidently is worse than no answer.
Alaska is not the only state with a daily rule. California has one, and Nevada and Colorado have their own versions with different thresholds and conditions. But Alaska is the one I see most calculators get wrong, because it is easy to copy the federal rule into a state page and never notice the daily trigger. When I built the Alaska page on mytimecardcal.com, the daily rule was the whole point of the page. A state page that just repeats the federal rule is not useful to anyone in that state.
If you build calculators, the lesson is boring but worth repeating: read the state law, not the summary of the state law. The difference between daily and weekly overtime is one sentence in the statute and one whole paycheque in real life.