Kalkulator

Work out the fuel cost of a trip from distance, efficiency and fuel price.

mi
mpg
$
Price per gallon (mpg mode) or per litre (l/100km mode).
ppl
Trip fuel cost —
Fuel used —
Cost each —

Results update as you type.

Shin wannan Kalkulator ya ba ka amsa madaidaiciya?

Game da wannan Kalkulator

A fuel cost calculator estimates what a journey costs in fuel from three numbers: the distance, your vehicle’s fuel efficiency and the price of fuel. In mpg mode it divides the distance by your miles-per-gallon to get gallons used, then multiplies by the price per gallon. In metric mode it multiplies distance ÷ 100 by your litres-per-100km figure to get litres, then multiplies by the price per litre.

For example, a 300-mile trip in a car doing 30 mpg with fuel at 3.50 a gallon uses 300 ÷ 30 = 10 gallons, costing 10 × 3.50 = 35. Split between two people under advanced options, that is 17.50 each.

Use it to budget a road trip, compare the running cost of two vehicles, decide whether to drive or take the train, or work out a fair share for carpoolers. Because real mileage varies with speed, load, traffic and terrain, treat the result as a solid estimate based on the efficiency figure you enter.

Tambayoyi da ake yi da yawa

Ta yaya ake ƙididdige farashin mai na tafiya?

A cikin hanya mpg: mai amfani da man fetur = distance / mpg, sa'an nan farashin = man fetur x farashin ga gallon. A cikin hanya metrically: lita = distance / 100 x (l/100km), sa'an nan farashin = lita x farashin ga lita.

Shin, salon tafiyar da mota na canza sakamakon?

Yanzu, za ka iya fara amfani da wannan azaman wani tsari na musamman na canzawa daga wani abu zuwa wani abu.

Ta yaya zan canza tsakanin mpg da littattafai a kowace kilomita 100?

Use the units setting under advanced options. Miles & mpg treats distance in miles and efficiency as miles per gallon; km & l/100km treats distance in kilometres and efficiency as litres per 100 km, with the price read per litre.

Yadda zan raba kudin mai tsakanin fasinjoji?

Ka ƙayyade adadin mutane a cikin zaɓuɓɓukan ci gaba. Kalkulator ɗin na raba kuɗin mai na tafiyar da ya yi daidai, don haka kowanne mai tafiyar yana ganin rabon su - mai amfani ga carpools da tafiyar hanya ta raba.

Menene yawan wutar lantarki da zan yi amfani da shi a cikin tafiyata?

The calculator shows the fuel used as well as the cost. In mpg mode it is distance ÷ mpg (gallons); in metric mode it is distance ÷ 100 × l/100km (litres). A 300-mile trip at 30 mpg uses 10 gallons.

Yaya zan iya kiyasta tafiyar da ta ke tafiya?

Enter the total distance for both legs, or double a one-way figure. Since cost rises directly with distance, a round trip simply costs twice a one-way trip at the same efficiency and fuel price.

❤️ Love Calculator.Free? Share

𝕏  X Facebook Reddit
API — amfani da wannan calculator daga code

Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full API docs →

Endpoint

GET https://calculator.free/api/v1/fuel-cost/

curl

curl "https://calculator.free/api/v1/fuel-cost/?distance=300&efficiency=30&price=3.5"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/fuel-cost/?" + new URLSearchParams({
    "distance": "300",
    "efficiency": "30",
    "price": "3.5"
  }));
const data = await r.json();
console.log(data.results);

Results are estimates for general guidance only, not financial, medical or tax advice.