Fuel Cost Calculator

Enter distance, fuel economy and gas price to instantly calculate fuel cost and the amount of fuel needed. Supports reverse calculation, one-way/round trips, cost splitting and an EV energy mode.

Last updated: 2026/10/16 Calculator Feedback & bug reports
Calculation mode
Vehicle type
km
km/L
JPY/L
people
Trip type

Result

0JPY Fuel cost
0L Fuel needed
0JPY Per person

How to Use

1

Choose mode and vehicle

Pick "Calculate fuel cost" or "Range from budget". For an electric car, choose "EV" to switch to energy mode.

2

Enter the numbers

Enter distance, fuel economy and gas price. You can also choose one-way/round trip and the number of people to split with.

3

Check and copy the result

Fuel cost, fuel needed and the per-person amount appear in real time. Use "Copy result" to share it easily.

About the Fuel Cost Calculator

A free tool that calculates the fuel cost and the amount of fuel needed from just three inputs: distance, fuel economy (km/L) and gas price. It can also reverse-calculate how far you can drive on a full tank, handle one-way and round trips, split the cost among several people, and compute electricity cost for an EV using energy economy (km/kWh). All calculations run entirely in your browser, so your inputs are never sent to any server.

Features

  • Real-time calculationFuel cost and fuel amount are calculated instantly as you type.
  • Reverse & cost splitReverse-calculate range from a budget, choose one-way/round trips and split costs in one tap.
  • EV energy modeCalculate electricity cost using EV energy economy (km/kWh) and price (JPY/kWh).
  • Privacy protectedAll processing happens in your browser. Your data is never sent to a server.

Use Cases

  • Estimate gas cost before a trip or drive
  • Split travel (fuel) costs with friends
  • Track monthly commuting fuel costs
  • Find out how far one full tank takes you
  • Compare EV electricity cost with a gasoline car

FAQ

What is the formula for fuel cost?
Fuel cost = distance ÷ fuel economy (km/L) × gas price (JPY/L). For example, 300 km at 15 km/L and 170 JPY/L gives 300 ÷ 15 × 170 = 3,400 JPY.
What if I do not know my fuel economy (km/L)?
Check your car manual or catalog (WLTC figure), or use the full-tank method: distance driven ÷ liters refueled. A typical passenger car is around 10–20 km/L.
Can it calculate how far I can drive on a budget?
Yes. Choose the "Range from budget" mode and enter your budget (full-tank amount), fuel economy and price to get the driving range. Selecting round trip also shows the one-way reachable distance.
Can it calculate electricity cost for an EV?
Yes. Select "Electric (EV)" as the vehicle type to switch to energy mode and calculate cost from energy economy (km/kWh) and price (JPY/kWh). It is great for comparing with a gasoline car.
Is my data stored or sent anywhere?
No. All calculations happen only in your browser, and your inputs are never sent to or stored on any server.