Back to calculator Use calculator
Shipping, Ecommerce & WarehouseGenerated accuracy model review: 2026-05-06
Stockout Cost 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
- Stockout cost = lost units * contribution margin per unit + expedite cost + admin hours * labor cost per hour + reputation allowance.
Test cases
Default input regression check
Generated from the checked-in default inputs and calculate function.
Inputs
- Lost Units: 220 units
- Contribution Margin per Unit: $14
- Expedite or Recovery Cost: $650
- Admin Hours: 6 hr
- Labor Cost per Hour: 32 $/hr
- Reputation or Recovery Allowance: $500
Expected outputs
- Estimated Stockout Cost: $4,422.00
- Lost Contribution Margin: $3,080.00
- Admin Labor Cost: $192.00
Known limitations
- These calculators do not forecast demand automatically, fetch live provider rates, optimize warehouse layout, model taxes, or replace review of your contracts, carrier invoices, WMS data, accounting policies, or operations plan.
Assumptions
- All demand, service, storage, labor, packaging, shipping, software, and handling values are user-entered assumptions.
- No current carrier rates, 3PL fee cards, marketplace rules, or provider-specific costs are hardcoded.
- Results are deterministic planning estimates and are not operations, accounting, tax, legal, or carrier-contract advice.
- Calculations run locally in the browser without uploading private inventory, customer, order, or warehouse data.
Unit handling
- Lost Units accepts values in units.
- Contribution Margin per Unit accepts values in $.
- Expedite or Recovery Cost accepts values in $.
- Admin Hours accepts values in hr.
- Labor Cost per Hour accepts values in $/hr.
- Reputation or Recovery Allowance accepts values in $.
- Estimated Stockout Cost is displayed as currency.
- Lost Contribution Margin is displayed as currency.
- Admin Labor Cost 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 stockout-cost-calculator calculator definition.
Change log
2026-05-06
Published default regression test documentation and metadata fallbacks for Stockout Cost Calculator.
Calculator transparency
Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.