ForHosting KIT · Travel & geography

Trip fuel volume calculator

500 km at 7.5 L/100 km burns 37.5 litres, which is 9.9065 US gallons or 8.2488 imperial gallons. Enter the distance and your economy in L/100 km, km per litre, US or imperial mpg to see how much fuel leaves the tank. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Distance
500
Economy
7.5
You get
Distance unit
Km
Distance km
500
Distance mi
310.6856
Economy unit
l_per_100km

This trip fuel volume calculator turns a planned distance and a known fuel economy into the liters and gallons of fuel the journey will burn. Enter distance in kilometers or miles, choose how economy is stated — liters per one hundred kilometers, kilometers per liter, US miles per gallon, or imperial miles per gallon — and the engine returns fuel volume in liters, US gallons, and imperial gallons with a short formula tag for audits. The arithmetic is fully deterministic: for liters per one hundred kilometers, fuel equals distance in kilometers times economy divided by one hundred; for kilometers per liter, fuel equals distance divided by economy; for miles per gallon, gallons equal miles divided by economy and convert to liters with the international gallon constants. Small checks you may already know include five hundred kilometers at seven point five liters per one hundred kilometers yielding thirty-seven point five liters, and three hundred miles at thirty US miles per gallon yielding ten US gallons. The path uses only finite arithmetic with no network calls, no sampling, and no date-dependent shortcuts.

What the fuel volume tells you

Trip fuel volume answers a single practical question: given how far you will drive and how efficiently the vehicle uses fuel, how much fuel must leave the tank. Drivers, fleet dispatchers, and travel apps need that number before estimating cost, comparing routes, or deciding whether a fill-up is enough for the next leg. This calculator does not invent economy from speed or elevation; it trusts the economy value you supply and applies the matching closed-form identity for the selected unit system.

If you need fuel cost in currency, multiply the returned volume by your local price outside this tool; if you need remaining range from a partial tank, invert the same identities with tank liters rather than trip distance. This page stays focused on the volume identity so worksheets, APIs, and browser demos share one stable contract.

Where fuel-volume checks fit in planning, fleets, and software

Road-trip planners meet this calculation when a map shows five hundred kilometers of highway and the car handbook lists seven or eight liters per one hundred kilometers, and the only remaining step is tank volume before budgeting stops. Fleet operators batch the same formula across vehicles with different mpg stickers to size depot fuel orders or to flag routes that exceed a daily allowance.

Travel and expense products call the contract from scripts when a user picks a destination and the app must show expected liters without shipping a full routing stack. Students and driving instructors use it to connect the textbook idea of consumption rate with a concrete number of liters for a weekend journey, including the classic three hundred miles at thirty miles per gallon example that yields ten US gallons.

Product and education tools use the dual liter and gallon outputs when audiences mix metric and US customary units in the same classroom or marketplace. Pair it with unit converters when you only need distance or volume translation, and with other travel helpers when you are building a small lab of free, deterministic planning tools for trips, fuel, and logistics.

Road-trip fuel planning

Estimate liters or gallons needed for a planned highway or city trip from distance and your car’s L/100km or MPG rating.

Fleet and depot orders

Batch trip distances and per-vehicle economy figures to size fuel purchases and flag high-burn routes.

What does the trip fuel volume calculator cost?

It is free in your browser on this page.

How is fuel volume computed from L/100km?

Gallons are derived from liters using fixed international constants.

What happens if economy is zero or negative?

Zero or negative fuel economy is not meaningful for estimating trip fuel volume.

Can I use US miles per gallon?

The response still includes liters and imperial gallons.

Does this tool estimate fuel cost in money?

No. It only returns volume (liters and gallons). Multiply by your local price per liter or gallon outside this calculator if you need cost.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/travel/trip-fuel-volume

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/travel/trip-fuel-volume \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"distance":500,"economy":7.5}'
{
  "distance": 500,
  "economy": 7.5
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "travel.trip_fuel_volume",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_abs1000000000
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Zero or negative economy is rejected with invalid_input because a non-positive efficiency does not define a meaningful tank requirement.

What trip fuel volume means and what the response contains

The response echoes the normalized distance and economy, the resolved distance_unit and economy_unit, distance converted to both kilometers and miles for dual-unit readers, fuel_liters, fuel_gallons_us, fuel_gallons_imp, the precision used, a method tag trip_fuel_volume, and a compact formula string describing the path taken. There is no approximate Monte Carlo path and no live traffic feed: the engine either builds a finite volume inside the supported numeric range or rejects the input with invalid_input. Rejected cases include missing distance or economy, non-finite values, magnitudes above the documented ceiling, non-positive distance, and any economy that is zero or negative, because dividing by zero efficiency or scaling with a negative burn rate is not a valid trip plan.

How distance and economy are read and how units stay consistent

Optional leading plus signs and scientific notation on numeric strings are allowed when they parse as finite decimals; embedded spaces, hex prefixes, and non-numeric tokens are rejected with a clear message so a bad cell does not become a wrong tank estimate. After validation the engine converts distance into both kilometers and miles using the exact international mile, then computes volume in liters using the matching formula, and finally reports US and imperial gallons with the fixed constants three point seven eight five four one one seven eight four liters per US gallon and four point five four six zero nine liters per imperial gallon. The preferred fields are distance for the trip length and economy for the fuel-economy figure, but aliases such as dist, trip_distance, fuel_economy, consumption, and mpg are accepted so spreadsheets, query strings, and typed forms can reuse the same contract. economy_unit selects the interpretation: l_per_100km is the default metric consumption rate, km_per_l is the reciprocal efficiency common on some dashboards, mpg_us or mpg is United States miles per gallon, and mpg_imp is the larger imperial gallon used in UK historical ratings. distance_unit may be km or mi; when omitted it defaults to kilometers for the two metric economy modes and to miles for both mpg modes so a quick form fill does not silently mix systems. An optional precision field, with aliases decimals and dp, chooses how many decimal places to expose, defaulting to four and capped at fifteen so JSON goldens stay stable. Pair the free browser run on this page with the priced API when you need the identical mathematical result inside an automated pipeline without re-implementing gallon constants yourself.

Where fuel-volume checks fit in planning, fleets, and software

On this page the work runs entirely in your browser; through the API each successful lookup costs $0.002, failed validation is not charged, and nothing is stored after the response returns. That split — free interactive exploration and a priced, identical API — matches the rest of the KIT tier-A catalog and lets you move from a dashboard demo to an automated pipeline without changing the mathematical result.

Deterministic fixtures for apps

Generate reproducible fuel_liters and gallon fields for booking tools, expense demos, and CI assertions.

Read the full KIT documentation →