Back to calculator Use calculator
EV & CarsGenerated accuracy model review: 2026-05-06
EV Road Trip Cost Planner 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
- EV cost = trip energy with buffer * charger rate + session fees. Stops = trip miles / usable range.
Test cases
Default input regression check
Generated from the checked-in default inputs and calculate function.
Inputs
- Trip Distance: 720 mi
- EV Efficiency: 3.2 mi/kWh
- Charging Rate: 0.42 $/kWh
- Session Fee: $1.5
- Usable Range per Stop: 210 mi
- Energy Buffer: 12%
- Gas Comparison MPG: 30 MPG
- Gas Price: 4.2 $/gal
Expected outputs
- EV Trip Cost: $110.34
- Charging Stops: 3
- Gas Comparison Cost: $100.80
Known limitations
- This workflow is a planning aid. Validate assumptions, rates, legal/compliance obligations, vendor quotes, and local policies before acting.
Assumptions
- All values are user-entered planning assumptions.
- Calculations run locally in the browser.
- Saved artifacts are stored only when a signed-in user explicitly saves them.
Unit handling
- Trip Distance accepts values in mi.
- EV Efficiency accepts values in mi/kWh.
- Charging Rate accepts values in $/kWh.
- Session Fee accepts values in $.
- Usable Range per Stop accepts values in mi.
- Energy Buffer accepts values in %.
- Gas Comparison MPG accepts values in MPG.
- Gas Price accepts values in $/gal.
- EV Trip Cost is displayed as currency.
- Gas Comparison 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 ev-road-trip-cost-planner calculator definition.
Change log
2026-05-06
Published default regression test documentation and metadata fallbacks for EV Road Trip Cost Planner.
Calculator transparency
Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.