Code tool

Trip Cost Calculator

All distances, efficiency and prices are supplied by you. No maps, route planning, live prices or currency conversion. Lodging is for the whole group; food and other costs are per person for nights + 1 days. Trips multiply fuel use, fuel cost and tolls only. Each trip has 1 leg, or 2 for a round trip; the entered one-way toll applies equally to each leg. Nights, lodging and daily food/other costs describe the entire stay and are counted once. For removal journeys, set unused non-transport costs to zero. Enter km/L or L/100 km; convert UK imperial mpg first (L/100 km = 282.480936 / UK mpg), never enter mpg directly.

In-browser processingNo account requiredPrivacy details ↗

All distances, efficiency and prices are supplied by you. No maps, route planning, live prices or currency conversion. Lodging is for the whole group; food and other costs are per person for nights + 1 days.

Trips multiply fuel use, fuel cost and tolls only. Each trip has 1 leg, or 2 for a round trip; the entered one-way toll applies equally to each leg. Nights, lodging and daily food/other costs describe the entire stay and are counted once. For removal journeys, set unused non-transport costs to zero. Enter km/L or L/100 km; convert UK imperial mpg first (L/100 km = 282.480936 / UK mpg), never enter mpg directly.

Distance and each price: 0–1,000,000; economy: 0.01–1,000; travelers: 1–20; nights: 0–999. Travelers and nights must be integers. Currency label: 1–12 characters. Trips: integer 1–1,000; toll per leg: 0–1,000,000. Results above 9,007,199,254,740,991 are rejected to avoid unsafe numeric magnitudes.

Inputs stay in this browser and are not uploaded or saved.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter the distance and fuel economy with their units.
  2. Enter prices in one currency, travelers and nights.
  3. Calculate the breakdown, total and equal cost per person.

Formula and assumptions

One-way distance: mi × 1.609344 → km; Round trip: × 2; Transport trips: km × Transport trips; Fuel used (L): km ÷ (km/L) = km × (L/100 km) ÷ 100; Fuel cost: L × Fuel price per litre; Total tolls: Toll per one-way leg × Transport trips (Round trip: × 2); Lodging cost: Nights × Lodging per night (whole group); Food cost: (Nights + 1) × Travelers × Food per person per day; Other cost: (Nights + 1) × Travelers × Other cost per person per day; Total trip cost: Fuel cost + Total tolls + Lodging cost + Food cost + Other cost; Cost per person: Total trip cost ÷ Travelers. Trips multiply fuel use, fuel cost and tolls only. Each trip has 1 leg, or 2 for a round trip; the entered one-way toll applies equally to each leg. Nights, lodging and daily food/other costs describe the entire stay and are counted once. For removal journeys, set unused non-transport costs to zero. Enter km/L or L/100 km; convert UK imperial mpg first (L/100 km = 282.480936 / UK mpg), never enter mpg directly.

Trip Cost Calculator

Distance and each price: 0–1,000,000; economy: 0.01–1,000; travelers: 1–20; nights: 0–999. Travelers and nights must be integers. Currency label: 1–12 characters. Trips: integer 1–1,000; toll per leg: 0–1,000,000. Results above 9,007,199,254,740,991 are rejected to avoid unsafe numeric magnitudes.

GOOD TO KNOW

Common questions

Currency symbol or code

All distances, efficiency and prices are supplied by you. No maps, route planning, live prices or currency conversion. Lodging is for the whole group; food and other costs are per person for nights + 1 days.

Inputs stay in this browser and are not uploaded or saved.

Inputs stay in this browser and are not uploaded or saved.