Back to calculator Use calculator
California LocalizedGenerated accuracy model review: 2026-05-06
California Overtime Calculator accuracy and testing
This page documents how Calwarden builds trust for this calculator: source notes, regression-style default tests, limitations, assumptions, unit handling, rounding, and visible change history.
Formula source
- Ordinary daily pay = min(hours, 8) x rate + min(max(hours - 8, 0), 4) x rate x 1.5 + max(hours - 12, 0) x rate x 2. Optional seventh-day pay = min(day 7 hours, 8) x rate x 1.5 + max(day 7 hours - 8, 0) x rate x 2.
Test cases
Default input regression check
Generated from the checked-in default inputs and calculate function.
Inputs
- Regular Hourly Rate: 30 $/hr
- Day 1 Hours: 8 hr
- Day 2 Hours: 8 hr
- Day 3 Hours: 8 hr
- Day 4 Hours: 8 hr
- Day 5 Hours: 8 hr
- Day 6 Hours: 0 hr
- Day 7 Hours: 0 hr
- Apply Seventh-Day Flag: No
Expected outputs
- Estimated Gross Pay: $1,200.00
Known limitations
- This tool does not determine exemption status, alternative workweek eligibility, weekly overtime, split shifts, meal/rest premiums, prevailing wage, union rules, or industry-order exceptions.
Assumptions
- The model uses daily overtime only and does not automatically add separate weekly overtime adjustments.
- Day 7 treatment applies only when the user turns on the simplified seventh-consecutive-day flag.
- Inputs are hours worked, not scheduled hours or paid leave hours.
- Defaults are planning examples, not live current rates.
- The calculation is deterministic and runs client-side only.
Unit handling
- Regular Hourly Rate accepts values in $/hr.
- Day 1 Hours accepts values in hr.
- Day 2 Hours accepts values in hr.
- Day 3 Hours accepts values in hr.
- Day 4 Hours accepts values in hr.
- Day 5 Hours accepts values in hr.
- Day 6 Hours accepts values in hr.
- Day 7 Hours accepts values in hr.
- Apply Seventh-Day Flag accepts Yes/No values.
- Estimated Gross Pay is displayed as currency.
Rounding rules
- Number displays use up to 2 decimal places in the calculator UI.
- Currency outputs are displayed with standard US dollar formatting.
- Input precision follows configured step values where provided.
Version history
1.0.0 - 2026-05-06
Generated accuracy and testing page from the current california-overtime-calculator calculator definition.
Change log
2026-05-06
Published default regression test documentation and metadata fallbacks for California Overtime Calculator.
Calculator transparency
Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.