Fuel Refill and Tank Range

Calculate using the labelled inputs: Fuel Refill and Tank Range.

Initial fuel (liters)
11
Fuel after refill (liters)
51
Remaining tank space (liters)
4
Refill cost
71.20
Estimated range before refill (km)
137.5
Estimated range after refill (km)
637.5
Maximum addition from the initial level (liters)
44

Calculation and assumptions

initial_liters=capacity·initial_pct/100; after=initial_liters+added; cost=round(added·price,2); range=100·liters/consumption.

An addition exceeding free capacity is rejected, rather than billed and silently capped. Range assumes constant entered consumption and all fuel usable: no reserve, traffic, weather or dashboard calibration model. Volumes, fill percentage, consumption and price allow six decimals. Cost rounds once to cents, halves away from zero. Zero addition and zero price are valid. Only liters and km are used; no current pump price is supplied. In one chosen two-decimal currency; no taxes or current market rates are supplied.

Frequently asked questions

How is the result calculated?

initial_liters=capacity·initial_pct/100; after=initial_liters+added; cost=round(added·price,2); range=100·liters/consumption.

What assumptions apply?

An addition exceeding free capacity is rejected, rather than billed and silently capped. Range assumes constant entered consumption and all fuel usable: no reserve, traffic, weather or dashboard calibration model. Volumes, fill percentage, consumption and price allow six decimals. Cost rounds once to cents, halves away from zero. Zero addition and zero price are valid. Only liters and km are used; no current pump price is supplied. In one chosen two-decimal currency; no taxes or current market rates are supplied.

How precise are the results?

Monetary totals use two decimal places with the stated rounding rule; other numbers show up to ten significant digits. Display precision does not improve input accuracy.

Also try:

Back to category →