EV battery lease allowance calculator

Calculate distance remaining and energy remaining with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Choose the currency for these amounts. Changing it keeps your numbers and does not convert exchange rates.

Use distance remaining and energy remaining to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Distance allowance (km)
20000
Actual distance (km)
22000
Energy allowance (kWh)
4000
Actual energy (kWh)
4500
Distance excess rate (USD/km)
0.1
Energy excess rate (USD/kWh)
0.05
Distance remaining (km)
0
Energy remaining (kWh)
0
Excess charge (USD)
$225.00

Try another scenario

Distance allowance (km)
15000
Actual distance (km)
14000
Energy allowance (kWh)
3000
Actual energy (kWh)
3500
Distance excess rate (USD/km)
0.2
Energy excess rate (USD/kWh)
0.1
Distance remaining (km)
1000
Energy remaining (kWh)
0
Excess charge (USD)
$50.00
Calculation method

Calculation method

Distance remaining (km)

max(0,allowance−actual).

Energy remaining (kWh)

max(0,allowance−actual).

Excess charge (USD)

max(0,distance−allowance)×distance rate+max(0,energy−allowance)×energy rate.

Symbols and units
a
Distance allowance (km)
b
Actual distance (km)
c
Energy allowance (kWh)
d
Actual energy (kWh)
e
Distance excess rate (USD/km)
f
Energy excess rate (USD/kWh)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Separate mileage and energy contract excess rates; the entered contract must charge both additively. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. All numeric values must be finite. Lists contain at most 100 records; required lists must be nonempty. Rates, probabilities and fractions are entered as fractions, not percentages; fractions must be between 0 and 1. Use a single consistent user-selected currency for all amounts; no exchange-rate conversion.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.