EV Range and Energy Consumption Calculator

Estimate EV range and battery consumption from speed, temperature, elevation and vehicle data. Compare steady driving with EPA city and highway cycles.

#EPA HWFET #EPA UDDS #EV range #HVAC #longitudinal dynamics #regenerative braking

This EV range calculator estimates the battery energy needed for a journey and the distance available before your chosen charge reserve. Engineers can use it for vehicle comparisons and early design studies; students can follow the force and energy balance; drivers can explore why the same car travels different distances in different conditions.

Start with usable battery capacity, total loaded vehicle mass, drag coefficient, frontal area and tyre rolling resistance. The starting charge and arrival reserve define your energy budget. Enter a capacity availability percentage if ageing or cold weather reduces the usable energy you actually have. The 60 kWh default is an illustrative passenger car, not a specification for a particular model.

Choose steady speed to investigate EV range vs speed, or select the EPA UDDS city or HWFET highway driving pattern. These are the official one-second speed traces, including stops. The calculator scales the energy per cycle to your road distance, representing repeated driving of that kind. It does not reproduce an EPA certification result, a combined fuel-economy label or a WLTP range rating. A partial final cycle is represented by average cycle consumption.

Enter the difference between the destination and starting elevations. This becomes one uniform road slope over the stated road distance. A route that climbs and then descends should be calculated as separate legs: using only its net elevation can miss braking losses and regeneration limits. Positive wind means headwind. Local absolute pressure and outdoor temperature determine dry-air density.

Cabin climate control can be switched off, estimated from temperature, or entered as a measured electrical load. The winter default follows a published Leaf auxiliary-load relationship; its adjustable cooling slope is an illustrative assumption. Heat-pump performance, sunshine, humidity and cabin warm-up can change the actual demand. Adjust the HVAC settings to your vehicle, and reduce effective regeneration when the battery is cold or nearly full.

The electric car energy consumption calculator reports net battery energy, consumption in both Wh/km and Wh/mile, trip time, recovered braking energy and charge on arrival. The speed plots show selected-temperature predictions as points over two continuous comparison-temperature curves, even when a city or highway cycle is selected. Coincident temperatures remain visible. Their range uses your available capacity and reserve.

Results describe repeated conditions with constant efficiencies. They exclude charging losses, detailed battery chemistry, traffic prediction, changing weather and cumulative hill profiles. An arrival charge below your reserve means the trip needs more energy than your selected budget. A net-charging descent has no finite depletion range: its range card shows a dash while trip energy, recovery, time and valid arrival charge remain visible. Generator output and net battery charging have separate limits; regeneration can power accessories before charging the battery. Compare results with measured DC energy from your own vehicle and retain a practical margin.

How it is calculated

Longitudinal energy balance

This is a backward energy calculation, using the force terms in Iora & Tribioli (2019), attached source s2, p. 3, Eq. (1). For each interval the distance is Δs=vˉΔt\Delta s=\bar v\Delta t and wheel work is

ΔWw=[mgCrrcos⁡θ+12ρCdA(v+w)∣v+w∣+mgsin⁡θ]Δs+12meff(v22−v12).\Delta W_w=[m g C_{rr}\cos\theta+\tfrac12\rho C_d A(v+w)|v+w|+mg\sin\theta]\Delta s+\tfrac12 m_{eff}(v_2^2-v_1^2).

Positive wind is a headwind. The signed aerodynamic term also handles a tailwind faster than the car. The road angle satisfies sin⁡θ=Δh/L\sin\theta=\Delta h/L because L is road distance. Effective rotating mass affects kinetic energy only.

Battery traction power is Pd=max⁡(Pw,0)/ηdP_d=\max(P_w,0)/\eta_d. Available generator DC power is Pa=min⁡(max⁡(−Pw,0)ηr,Pg,max)P_a=\min(\max(-P_w,0)\eta_r,P_{g,max}). Let PsP_s be HVAC plus base accessory demand. Accepted recovery at the DC bus is Pr=min⁡(Pa,Ps+Pchg,max)P_r=\min(P_a,P_s+P_{chg,max}), giving net battery power Pb=Pd+Ps−PrP_b=P_d+P_s-P_r. The battery charging cap therefore applies after accessories, while a separate generator cap limits total recovered electrical power. Recovered energy at the DC bus includes both accessory supply and battery charging; net energy into the battery during braking is reported separately. Regeneration acts on total negative wheel power, after road resistance; it is never credited against the full kinetic-energy loss independently. Summing interval power times duration gives DC-terminal energy. Endpoint kinetic energy is exact per interval; drag uses interval mean speed.

Driving patterns and range

Steady mode has constant speed without launch or parking. EPA UDDS and HWFET retain every official one-second sample (attached s4/s5); interval means preserve the speed-trace integral. Their per-cycle consumption is scaled by trip distance, including a fractional average final cycle. These are exploratory energy estimates, not certification tests or WLTP results. Current capacity is usable capacity times availability. Range is energy between starting charge and reserve divided by consumption. For nonpositive net discharge, only the depletion-range value is unavailable (shown as a dash); trip energy, regeneration, time and valid arrival charge remain visible.

Temperature and HVAC

Dry-air density is p/(RT)p/(R T), with R=287.05R=287.05 J/(kg·K). Pressure stays constant; use local absolute pressure. Celsius degree increments are bridged explicitly to kelvin. Outdoor Fahrenheit input is converted by the usual offset equation. Heating and cooling use adjustable electrical W/K slopes, separate thresholds and caps. With the defaults, heating below 20 °C adds 5800/35 W per kelvin, capped at 5800 W, plus 200 W base accessories. This reproduces the winter auxiliary model in s2, p. 6. Cooling defaults are illustrative. Manual mode accepts measured HVAC electrical power.

Independent comparisons

DOE/INL Leaf reference cases compare measured mean battery power at 45 and 60 mph and ANL UDDS/HWFET consumption (s3, pp. 2–3). These use total test mass 3927 lb = delivered 3595 lb plus 332 lb, with explicit approximate Leaf parameters from the modelling literature: Cd 0.28, A 2.3 m², Crr 0.012, traction efficiency 80%, base 200 W and effective regeneration 65%. These are declared modelling assumptions, not fitted coefficients or a validated Leaf preset. Allowances are ±15% for steady/highway cases and ±20% for city driving; the UDDS prediction is about 17% high and HWFET about 7% high. The HVAC reference checks are exact tests of a published correlation, not vehicle measurements.

The DOE constant-speed table's stated DC Wh/mi does not consistently follow its listed charge-energy row. Battery output energy divided by distance also differs from charge-input consumption. Accordingly, the constant-speed checks use the independently stated mean DC power row, without changing the equations to fit the inconsistent consumption entries.

Assumptions

  • Default vehicle: an illustrative 60 kWh usable, 1800 kg loaded passenger EV; these numbers do not identify an OEM model. Vehicle inputs are editable.
  • Newtonian rolling, aerodynamic, gravity and kinetic-energy equations are applied here. Air is dry; gravity is 9.80665 m/s². No fitted range correction is used.
  • The full journey has one uniform grade, constant wind, pressure and ambient temperature. Elevation is destination minus start, not cumulative climbing. Range repeats that grade and driving pattern.
  • Traction and regeneration efficiencies are constant effective values. Total generator DC output and net battery charging power have separate caps. The illustrative default generator limit is 100 kW; the battery cap applies after accessories. Unaccepted wheel braking energy is absorbed by friction brakes. Cold/full-pack restrictions are entered through the battery charging cap and recovery settings; there is no automatic SOC-dependent controller.
  • Capacity availability represents temperature and ageing together; it scales usable energy once. Battery voltage, internal resistance, state-dependent capacity and thermal transients are excluded. The model stops at the user's reserve; manufacturer buffers are already excluded from usable capacity.
  • HVAC is a steady electrical load. Its winter default follows s2; cooling slope, heating/cooling caps and thresholds are adjustable assumptions. There is no cabin warm-up, sunshine, humidity, defrost, COP map or battery-conditioning model. When a cap is reached, cabin comfort is not guaranteed.
  • EPA speed traces are prescribed exactly as published. Wheel-power warnings do not derate speed. Cycle scaling is statistical, so it does not claim to track an arbitrary partial cycle.
  • The schematic uses explicitly labelled metric units. Charts use their labelled axis units. The catalog SI/US switch converts supported physical input/result units; Wh/km and Wh/mi are both provided. Outdoor temperature has its own Celsius/Fahrenheit selector.

Where it applies

Use for first-order passenger-EV comparisons on firm roads, 5–160 km/h steady speed, −30 to +45 °C, and uniform road slopes up to about 15% rise per road distance. This is not a navigation, certification, braking-distance or battery-safety tool. The sweep spans 10–160 km/h; its 20 °C and −10 °C curves retain the selected capacity availability, HVAC mode and route. Turning HVAC off also turns it off for comparison curves. Selected-temperature predictions are plotted as points every 10 km/h over the continuous 20 °C and −10 °C curves; coincident points remain visible above a comparison line.

For rolling hills, calculate each climb/descent separately. A constant net descent can return energy, so it has no finite battery-depletion range; the range card shows a dash while trip energy and valid arrival charge remain visible. Net recovered energy is negative battery consumption, not zero range. A prediction above 100% charge is invalid: lower starting charge or the net charging cap; for a battery that fills mid-descent, split the leg and set the charging cap to zero after it fills. Gaps in speed-range curves likewise mark nonpositive consumption. Near-full packs may accept much less charging power: reduce the net battery charging cap using vehicle data. At a zero charging cap, regeneration can still power accessories, subject to the generator limit. The power-cap and cabin-load warnings flag conditions that a prescribed trace cannot resolve.

Use DC-terminal measurements when comparing consumption; wall-plug charging losses are excluded. The approximate Leaf benchmark tolerances expose model uncertainty rather than guarantee accuracy for another vehicle. City-cycle energy is especially sensitive to power-dependent efficiency and brake blending. No BMW i3 dataset was imported or claimed as validation. Keep a journey margin and check predictions against your own car and conditions.

References

  • EPA. Official one-hertz UDDS and HWFET schedules, retrieved 25 October 2026. https://www.epa.gov/vehicle-and-fuel-emissions-testing/dynamometer-drive-schedules ; https://www.epa.gov/sites/default/files/2015-10/uddscol.txt ; https://www.epa.gov/sites/default/files/2015-10/hwycol.txt
  • Iora, P.; Tribioli, L. (2019). Effect of Ambient Temperature on Electric Vehicles’ Energy Consumption and Range: Model Definition and Sensitivity Analysis Based on Nissan Leaf Data. World Electric Vehicle Journal 10(1), 2. Open access: https://doi.org/10.3390/wevj10010002 (attached s2, pp. 3–7).
  • DOE / INL / AVTA. 2011 Nissan Leaf VIN 0356: Advanced Vehicle Testing – Baseline Testing Results. pp. 1–3. https://www.energy.gov/sites/default/files/2014/02/f8/2011_nissan_leaf_fs.pdf (attached link s3). ANL dynamometer data context: https://www.anl.gov/taps/downloadable-dynamometer-database
  • Fiori, C.; Ahn, K.; Rakha, H. A. (2016). Power-based electric vehicle energy consumption model: Model development and validation. Applied Energy 168, 257–268. https://doi.org/10.1016/j.apenergy.2016.01.097 (bibliographic context; full text not used).

Inputs

InputSymbolUnitDefault
Driving pattern
EPA traces include stops and acceleration. They are repeated to scale to your trip distance; this does not reproduce an EPA label test.
driveSteady speed
Steady driving speedv_cruisekm/h100
Trip road distanceL_tripkm100
Destination minus starting elevation
Positive uphill; negative downhill. Applied as one uniform slope, not cumulative ascent. For hills, calculate separate legs.
H_tripm0
Usable battery capacity when new
Use accessible DC energy, excluding the manufacturer's hidden buffers; not gross nameplate energy.
E_usablekWh60
Available capacity today
Combined temperature and ageing factor. Enter 90 for 90% of the stated usable capacity; no automatic cold-capacity penalty is applied.
availability%100
Starting chargeSOC_start%100
Arrival reserveSOC_reserve%10
Total vehicle mass with people and cargom_vehiclekg1800
Aerodynamic drag coefficientC_d0.28
Frontal areaA_frontm^22.3
Rolling resistance coefficient
Dry, firm road estimate. Change for your tyres and road; excludes snow, standing water and slip.
C_rr0.01
Extra effective mass for rotating inertia
Added only to acceleration inertia, not weight or rolling resistance.
rotating%3
Battery-to-wheel traction efficiency
Average DC-terminal to wheel efficiency. Does not include charging losses or an additional battery capacity loss.
drive_eff%90
Wheel-to-DC-bus regeneration efficiency
Effective recoverable fraction after friction-brake blending and generator/inverter losses. Recovered power can supply accessories and charge the battery.
regen_eff%65
Maximum generator DC output
Separate generator/inverter output limit before accessories. The default is an illustrative 100 kW; enter your vehicle's limit. Battery charging is limited separately after accessory demand.
P_gen_maxkW100
Maximum net battery charging power
Limit on power actually charging the battery after HVAC and base accessories have been supplied. Set to zero to prevent battery charging while allowing regeneration to power accessories.
P_reg_maxkW50
Available wheel traction power
Only a feasibility warning. The speed trace is prescribed and is not reduced to satisfy this limit.
P_wheel_maxkW150
Base electrical accessories, excluding HVACP_auxW200
Outdoor temperature scale
Temperature has a separate selector; length, speed and mass follow the catalog's SI/US switch.
temp_scaleCelsius
Outdoor temperatureT_C°C20
Outdoor temperatureT_F°F68
Local absolute air pressure
Use station pressure, not sea-level corrected pressure. Constant along the modelled route.
p_stationkPa101.325
Headwind (+) or tailwind (−)windkm/h0
Cabin climate controlclimateTemperature-based estimate
Measured HVAC electrical loadP_manualkW2
Heating starts below
Heating and cooling thresholds remain in Celsius, independently of the outdoor-temperature selector.
T_heat°C20
Cooling starts aboveT_cool°C24
Heating electrical load per degree
Default 5800 W / 35 K follows Iora & Tribioli's Leaf winter auxiliary model, with the 200 W base entered separately. Reduce for a heat pump; use measurements where possible.
H_heatW/K165.71428571428572
Cooling electrical load per degree
Illustrative adjustable slope, not a fitted vehicle correlation; solar gain and humidity are excluded.
H_coolW/K100
Maximum electrical heating loadP_heat_maxkW5.8
Maximum electrical cooling loadP_cool_maxkW3

Results

With the default inputs above, the calc gives:

ResultValue
Estimated range above reserve363 km
Battery energy consumption149 Wh/km
Battery energy consumption per mile239 Wh/mi
Trip battery energy14.88 kWh
Predicted arrival charge75.2 %
Trip driving time60 min
Recovered braking energy, including accessories0 kWh
Net energy into battery during braking0 kWh
Trip accessory and HVAC energy0.2 kWh
HVAC electrical load0 W
Mean speed including stops100 km/h

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

Published winter auxiliary load at −15 °C

Source: Iora & Tribioli (2019), DOI 10.3390/wevj10010002, p. 6: total auxiliary load including heating. Checks the published linear correlation, not a measured vehicle result.

Inputs: Outdoor temperature = -15 °C; the others as above.

ResultSourceThis calc
Total accessory electrical load6,000 W6,000 W

Published mild-weather load with Fahrenheit input

Source: Iora & Tribioli (2019), DOI 10.3390/wevj10010002, p. 6: HVAC off at 20 °C; 200 W base electrical accessories.

Inputs: Outdoor temperature scale = Fahrenheit; the others as above.

ResultSourceThis calc
Total accessory electrical load200 W200 W
Outdoor temperature in Celsius20 °C20 °C

Leaf measured battery power at 45 mph

Source: DOE/INL 2011 Nissan Leaf VIN 0356 baseline tests, https://www.energy.gov/sites/default/files/2014/02/f8/2011_nissan_leaf_fs.pdf p. 3, mean DC battery power 9.2 kW at 45 mph and mean ambient 23 °C. ±15% screening allowance for constant-efficiency/Crr simplification and omitted launch/track variation. Test mass is 3595 + 332 lb, p. 1 and notes. Parameters documented in Method; no fit. The DC Wh/mi and charge-energy rows are not consistently defined, so they are not used as battery-output references.

Inputs: Total vehicle mass with people and cargo = 1,781 kg; Rolling resistance coefficient = 0.012; Battery-to-wheel traction efficiency = 80 %; Cabin climate control = Off; Arrival reserve = 0 %; Usable battery capacity when new = 17.7 kWh; Steady driving speed = 72.42 km/h; Outdoor temperature = 23 °C; the others as above.

ResultSourceThis calc
Mean battery power over the driving pattern9.2 ± 1.38 kW9.377 kW

Leaf measured battery power at 60 mph

Source: DOE/INL 2011 Nissan Leaf VIN 0356 baseline tests, https://www.energy.gov/sites/default/files/2014/02/f8/2011_nissan_leaf_fs.pdf p. 3, mean DC battery power 16.0 kW at 60 mph, ambient 24 °C. Same explicit model parameters as 45 mph; ±15% model-screening allowance, not measurement uncertainty. No parameters adjusted to match this value.

Inputs: Total vehicle mass with people and cargo = 1,781 kg; Rolling resistance coefficient = 0.012; Battery-to-wheel traction efficiency = 80 %; Cabin climate control = Off; Arrival reserve = 0 %; Usable battery capacity when new = 17.6 kWh; Steady driving speed = 96.561 km/h; Outdoor temperature = 24 °C; the others as above.

ResultSourceThis calc
Mean battery power over the driving pattern16 ± 2.4 kW16.455 kW

ANL Leaf city-cycle battery consumption

Source: DOE/INL 2011 Nissan Leaf VIN 0356 baseline tests, https://www.energy.gov/sites/default/files/2014/02/f8/2011_nissan_leaf_fs.pdf p. 2, UDDS 200.4 DC Wh/mi without accessories. ±20% screening allowance for absent efficiency map, tyre speed dependence and brake blending. Prediction is about 17% high; do not interpret a passing screening check as a precise Leaf calibration. Base vehicle electrical demand remains 200 W. ANL/AVTA test-context source: https://www.anl.gov/taps/downloadable-dynamometer-database

Inputs: Total vehicle mass with people and cargo = 1,781 kg; Rolling resistance coefficient = 0.012; Battery-to-wheel traction efficiency = 80 %; Cabin climate control = Off; Driving pattern = EPA UDDS — city; Arrival reserve = 0 %; Usable battery capacity when new = 24 kWh; the others as above.

ResultSourceThis calc
Battery energy consumption per mile200.4 ± 40.08 Wh/mi235.2 Wh/mi

ANL Leaf highway-cycle battery consumption

Source: DOE/INL 2011 Nissan Leaf VIN 0356 baseline tests, https://www.energy.gov/sites/default/files/2014/02/f8/2011_nissan_leaf_fs.pdf p. 2, HWFET 230.2 DC Wh/mi without accessories. Same model inputs as the city check, no fit; ±15% screening allowance. Prediction is about 7% high. The reference is DC battery discharge, not wall energy.

Inputs: Total vehicle mass with people and cargo = 1,781 kg; Rolling resistance coefficient = 0.012; Battery-to-wheel traction efficiency = 80 %; Cabin climate control = Off; Driving pattern = EPA HWFET — highway; Arrival reserve = 0 %; Usable battery capacity when new = 24 kWh; the others as above.

ResultSourceThis calc
Battery energy consumption per mile230.2 ± 34.53 Wh/mi246.7 Wh/mi

EPA city trace time and published mean speed

Source: EPA UDDS official one-second trace (attached s4) ends at 1369 s. Iora & Tribioli (2019), s2 p. 7, FUDS mean speed vav = 32 km/h; rounded, ±1 km/h. This checks drive-trace interpretation independently of vehicle-energy assumptions.

Inputs: Driving pattern = EPA UDDS — city; the others as above.

ResultSourceThis calc
Duration of one driving pattern1,369 s1,369 s
Mean speed including stops32 ± 1 km/h31.53 km/h

EPA highway trace time and distance

Source: EPA HWFET official one-second trace (attached s5) ends at 765 s. Independent published HWFET distance 10.25 miles, Table I, Sizing Dynamic Wireless Charging for Light-Duty Vehicles, ORNL: https://www.osti.gov/servlets/purl/1356902 . ±0.03 km covers the published rounded distance (EPA sample integration gives about 10.2567 miles).

Inputs: Driving pattern = EPA HWFET — highway; the others as above.

ResultSourceThis calc
Duration of one driving pattern765 s765 s
Distance of one driving pattern16.496 ± 0.03 km16.507 km

Review regression: regeneration powers HVAC before net charging cap

Source: Independent reviewer scenario supplied in this conversation: 10 km road distance, −500 m elevation, 60 km/h, 3 kW manual HVAC plus 0.2 kW base accessories, 2 kW net battery charging cap. The reviewer independently identified 6.485 kW available regeneration, enough to supply the 3.2 kW loads and charge the battery at 2 kW. Constant-speed travel lasts 1/6 h, so net trip energy is −1/3 kWh and bus recovery is 5.2/6 kWh. The original calculation discharged at +1.2 kW.

Inputs: Trip road distance = 10 km; Destination minus starting elevation = -500 m; Steady driving speed = 60 km/h; Starting charge = 50 %; Cabin climate control = Known electrical HVAC load; Measured HVAC electrical load = 3 kW; Maximum net battery charging power = 2 kW; the others as above.

ResultSourceThis calc
Mean battery power over the driving pattern-2 kW-2 kW
Trip battery energy-0.3333 kWh-0.3333 kWh
Recovered braking energy, including accessories0.8667 kWh0.8667 kWh
Predicted arrival charge50.556 %50.556 %
Steady-speed battery consumption curve [26]-0.03333 kWh/km-0.03333 kWh/km

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...