Back to calculator
California LocalizedGenerated accuracy model review: 2026-05-06

California Sick Leave Accrual 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

  • Estimated available sick leave = min(starting balance + hours worked x sick hours earned / hours worked per accrual, annual cap) - sick hours used, floored at zero.

Test cases

Default input regression check

Generated from the checked-in default inputs and calculate function.

Inputs

  • Hours Worked: 120 hr
  • Sick Hours Earned: 1 hr
  • Hours Worked per Accrual: 30 hr
  • Starting Balance: 0 hr
  • Sick Hours Used: 0 hr
  • Annual Cap: 40 hr

Expected outputs

  • Estimated Available Sick Leave: 4 hr

Known limitations

  • This tool does not determine eligibility, frontloading compliance, carryover, waiting periods, local ordinance requirements, or employer-policy compliance.

Assumptions

  • Default accrual is 1 hour per 30 hours worked.
  • Annual cap default is 40 hours and is user-editable.
  • A more generous local ordinance or employer policy may override the default assumptions.
  • Defaults are planning examples, not live current rates.
  • The calculation is deterministic and runs client-side only.

Unit handling

  • Hours Worked accepts values in hr.
  • Sick Hours Earned accepts values in hr.
  • Hours Worked per Accrual accepts values in hr.
  • Starting Balance accepts values in hr.
  • Sick Hours Used accepts values in hr.
  • Annual Cap accepts values in hr.
  • Estimated Available Sick Leave is displayed in hr.

Rounding rules

  • Number displays use up to 2 decimal places in the calculator UI.
  • 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-sick-leave-accrual-calculator calculator definition.

Change log

2026-05-06

Published default regression test documentation and metadata fallbacks for California Sick Leave Accrual Calculator.

Calculator transparency

Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.

Use calculator