Back to calculator
Legal & ComplianceGenerated accuracy model review: 2026-05-06

PTO 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

  • Projected balance = current balance + eligible hours x accrual rate - planned use, limited by the entered cap if any.

Test cases

Default input regression check

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

Inputs

  • Eligible Hours: 2,080 hr
  • Accrual Rate: 0.05 PTO hr/work hr
  • Current PTO Balance: 24 hr
  • Planned PTO Use: 40 hr
  • Balance Cap: 160 hr

Expected outputs

  • Projected PTO Balance: 88 hr
  • PTO Accrued: 104 hr
  • Hours Over Cap: 0 hr

Known limitations

  • This page documents the checked-in calculator logic and does not certify results for every real-world edge case.
  • Use the result as a planning estimate unless the calculator page states a stricter purpose.

Assumptions

  • This calculator does not provide legal advice and does not create an attorney-client relationship.
  • Jurisdiction, contract language, service method, holidays, emergency orders, and agency rules can change the real deadline.
  • Inputs are processed locally in the browser and are not stored by Calwarden.

Unit handling

  • Eligible Hours accepts values in hr.
  • Accrual Rate accepts values in PTO hr/work hr.
  • Current PTO Balance accepts values in hr.
  • Planned PTO Use accepts values in hr.
  • Balance Cap accepts values in hr.
  • Projected PTO Balance is displayed in hr.
  • PTO Accrued is displayed in hr.
  • Hours Over Cap 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 pto-accrual-calculator calculator definition.

Change log

2026-05-06

Published default regression test documentation and metadata fallbacks for PTO 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