Formula and method
Keep battery-use and grid-use energy boundaries separate when calculating efficiency and a gasoline-energy equivalent.
Grid consumption = grid kWh / miles × 100
Battery efficiency = miles / battery kWh
MPGe = 33.7 / grid kWh per mile
Understanding your inputs
- Measured travel distance
- Enter mi. Accepted input range: 0.000001–1000000.
- Measured battery energy used
- Enter kWh. Accepted input range: 0.000001–1000000.
- Metered grid energy for same replenishment
- Enter kWh. Accepted input range: 0.000001–1000000.
Worked example
Example inputs: Measured travel distance: 200 mi; Measured battery energy used: 60 kWh; Metered grid energy for same replenishment: 70 kWh. Grid electricity per 100 miles: 35.000 kWh/100 mi. Independent companion modules use their separately labelled inputs.
Example inputs
- Measured travel distance
- 200 mi
- Measured battery energy used
- 60 kWh
- Metered grid energy for same replenishment
- 70 kWh
Default result: Grid electricity per 100 miles: 35.000 kWh/100 mi.
Assumptions
- Use consistent units and measurements from the same operating point.
- Displayed example quantities demonstrate arithmetic and are not prescriptions.
Limitations
- MPGe is an energy equivalence, not operating cost or full-cycle efficiency. The displayed 33.7 kWh/US gal is the rounded convention.
Common mistakes
- Entering an outside dimension when the field requires a pitch, internal or effective dimension.
- Treating supplied rates, coefficients, quotes or appraisals as a live database.
- MPGe is an energy equivalence, not operating cost or full-cycle efficiency. The displayed 33.7 kWh/US gal is the rounded convention.
Sources and methodology
Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.
- US EPA — automotive efficiency reporting ↗
MPGe compares energy with a gasoline-equivalent energy quantity; this implementation explicitly rounds that quantity to 33.7 kWh. Grid/battery energy boundaries, prices and loss fractions are declared inputs.
- NIST — SI conversion factors ↗
Declared mechanical horsepower, length, mass, volume and pressure unit conversions; dimensional calculations are derived independently.
Frequently asked questions
What does this ev result represent?
Keep battery-use and grid-use energy boundaries separate when calculating efficiency and a gasoline-energy equivalent.
Which application limits should I check?
MPGe is an energy equivalence, not operating cost or full-cycle efficiency. The displayed 33.7 kWh/US gal is the rounded convention.
Can I reuse the displayed example as a specification?
Use the example to understand the arithmetic. Replace all assumptions with measurements, applicable manufacturer specifications or current transaction quotes.