Travel calculators

Trip Cost Calculator

Updated Oct 12, 2026 By Infinity Calculator

Route & Trip Setup

Trip Mode
Unit System

Switches every unit menu below and converts the values you already entered.

Road distance = straight-line distance between your stops × this factor. Not used when you enter the distance yourself.


Intermediate Stops

    Drag the handle to reorder, or use the ▲ / ▼ buttons (keyboard friendly). Optimizing requires 3 or more stops.

    Place data adapted from GeoNames (CC BY 4.0).


    Overrides the built-in distance estimate (map & per-leg table are then unavailable).

    Vehicle Configuration

    Vehicle Database Lookup optional auto-fill

    Efficiency & Capacity

    Remainder is city driving.

    Tolls, Currency & Extra Costs

    Enter the tolls on your route, if any. They are added to the total as entered.

    Fixed approximate exchange rates.

    Additional Trip Expenses

    Trip Estimate

    Itemized Cost Breakdown
    Itemized cost breakdown for the estimated trip: each cost line with its detail and amount
    Line ItemDetailAmount
    Step-by-Step Solution
    Cost Composition
    Stops Map
    Schematic overview drawn from stop coordinates. Stops are joined by straight lines; the map does not trace roads.


    Introduction

    The Trip Cost Calculator shows you what a road trip will really cost before you leave. Type in where you start and where you are going, add stops along the way, and pick your car. The tool adds up gas or charging, tolls, parking, hotels, food, wear on your car, and driver pay. Then it splits the total by how many people are riding.

    The tool does not look up real roads. It estimates road distance as the straight-line distance between your stops multiplied by a road factor you can change, or you can enter your own driving distance. For tolls, enter the total for your route; our toll calculator prices several toll roads from their operators' published tables.

    The calculator works with miles or kilometers, and with 18 currencies. Pick your fuel type, from regular gas to diesel to electric. Look up your exact year, make, and model to auto-fill the MPG.

    You also get a full cost table, a step-by-step math breakdown, a cost chart, and a simple schematic map of your stops. Change any number and the results update right away, so you can test different plans and find the best trip cost for your budget.

    How to use our Trip Cost Calculator

    Enter your route, your vehicle, and your extra travel costs. The trip cost calculator then shows your road trip distance, drive time, fuel or energy use, tolls, and the total cost per trip, per person, and per mile.

    Trip Mode: Pick One Way if you drive there only. Pick Round Trip to double the distance for the drive back.

    Unit System: Choose US/Imperial for miles and gallons, or Metric for kilometers and liters. Your entered numbers are converted for you.

    Road Distance Factor: The tool multiplies the straight-line distance between your stops by this number to estimate road distance. It starts at 1.20; raise it for winding routes or lower it toward 1 for direct highways. It is not used when you enter your own distance.

    Origin: Type your start city. You can also type "lat, lon" or tap the location button to use your current spot.

    Swap button: Click it to trade your origin and destination places.

    Destination: Type the city where your trip ends.

    Intermediate Stops: Click Add Stop for each place you visit on the way. Drag the handle or use the arrow buttons to change the order. With 3 or more stops, click Optimize Stop Order to find a shorter path.

    Enter one-way road distance manually: Tick this box if you already know your driving distance. The map and per-leg table turn off when you use it.

    Manual One-Way Distance: Type the one-way distance and pick miles or kilometers.

    Vehicle Type: Choose car, pickup, motorcycle, RV, bus, or truck. This sets default fuel use and average speed.

    Axles: For trucks only, pick how many axles you have. It scales the vignette charge for trucks.

    Fuel / Energy Type: Pick regular gas, midgrade, premium, diesel, E85, UNL88, LPG, CNG, or Electric. This sets a default price.

    Year, Make, Model, Trim: Pick your car from the list to auto-fill its MPG and tank size. This step is optional.

    City Efficiency: Enter your gas mileage in town, or let the vehicle list fill it in.

    Highway Efficiency: Enter your gas mileage on the highway.

    Efficiency Unit: Choose MPG (US), MPG (UK), L/100 km, or km/L. Electric cars show mi/kWh and kWh options.

    Highway Driving Mix: Enter the percent of your trip on the highway. The rest counts as city driving.

    Tank / Battery Capacity: Enter your fuel tank size or battery size. This tells you how many fuel or charging stops you need.

    Fuel / Energy Price: Enter what you pay per gallon, liter, or kWh.

    Tolls (total): Enter the tolls for your whole trip, if any. They are added to the total as you enter them.

    Display Currency: Pick the money you want to see. All money fields you typed are converted too.

    Parking Fees: Enter the total parking cost for the whole trip.

    Lodging per Night: Enter the price of one hotel night.

    Nights: Enter how many nights you stay.

    Meals per Day: Enter what one person spends on food each day.

    Days: Enter how many days you eat on the road.

    Auto-estimate nights & days: Leave this ticked to let the tool guess nights and days from drive time, using about 8 driving hours per day.

    Vehicle Depreciation / Wear Rate: Enter the wear and tear cost per mile or km. Use 0 to skip it.

    Driver / Labor Cost per Hour: Enter an hourly pay rate if you pay a driver. Use 0 if not.

    Number of Passengers: Enter how many people ride along. This splits the total trip cost per person.

    Show distances in: Choose miles or kilometers for your results, map, and cost per distance.

    Calculate Trip Cost: Click it to see the trip estimate, the cost breakdown, step-by-step math, the cost chart, and the stops map. Click Reset to start over with sample values.

    Trip Cost Calculator: What It Covers

    A road trip costs more than gas. The real price of driving from one city to another includes fuel or charging, tolls, parking, food, hotels, and the wear you put on your car. Adding all of these up gives you the true cost per trip, per mile, and per person.

    What Goes Into a Trip's Cost

    • Fuel or energy: How far you drive, how much your car uses, and the price per gallon, liter, or kWh.
    • Tolls: Fees charged at bridges, tunnels, and toll roads. Rates change by vehicle size and number of axles.
    • Vignettes: In many European countries you buy a sticker or pass before using highways instead of paying at booths.
    • Parking: Garage or lot fees at your stops and at the end point.
    • Lodging and meals: Long drives need overnight stops. The auto-estimate assumes about 8 hours of driving per day.
    • Wear and depreciation: Tires, oil, brakes, and lost car value. Enter your own per-mile figure, or 0 to leave it out.
    • Driver time: If you pay a driver, hours behind the wheel are a real cost.

    Why Road Distance Is Longer Than Map Distance

    Roads curve, so the driving distance is always longer than the straight line between two cities. This tool finds the straight-line distance with the haversine formula of spherical trigonometry.4 It then multiplies that by the road distance factor you set, 1.20 unless you change it.

    City vs. Highway Fuel Use

    Cars burn fuel differently in stop-and-go traffic than on open highways. Gas cars usually do better on the highway. Electric cars use regenerative braking to recapture energy that would be lost in braking, and counting that energy, their efficiency can exceed 94% in the city and 77% on the highway.3 That is why your highway-versus-city mix changes the answer. Your average speed matters too, since steady cruising uses less fuel than constant braking.

    Tolls

    Toll rates depend on the road, where you enter and leave it, your vehicle class, and how you pay, so this tool does not estimate them. Enter the total for your route in the Tolls field. For an exact toll, use the toll road operator's published toll schedule.

    Splitting Costs for Carpools and Rideshares

    When you share a ride, the total cost divides across everyone in the car. Two riders cut the price per person in half. This is why carpooling is one of the cheapest ways to travel long distances. A fair split covers fuel, tolls, and parking, and some drivers also add a small amount for wear on the car. Before you drive, compare the split against an Uber fare to be sure driving still wins.

    Ways to Lower Your Trip Cost

    • Compare fuel prices before you fill up.
    • Get a toll transponder for the region you drive in most.
    • Drive at a steady speed; gas mileage usually decreases rapidly at speeds above 50 mph1.
    • Keep tires at the right pressure: under-inflation lowers gas mileage by about 0.2% for every 1 psi drop2.
    • Take off roof-top cargo boxes you do not need; they add drag and lower fuel economy1.
    • Plan stops in the smartest order so you do not backtrack.
    • Share the drive with passengers to split every cost.

    Formulas used

    Great-circle (haversine) distance between stops
    d = 2R\arcsin\left(\sqrt{\sin^2\left(\frac{\varphi_2-\varphi_1}{2}\right)+\cos\varphi_1\cos\varphi_2\sin^2\left(\frac{\lambda_2-\lambda_1}{2}\right)}\right),\quad R=6371.0088\ \text{km}
    Road distance from the straight-line distance
    D = m \cdot f \sum_{i=1}^{n-1} d_i,\quad m=\begin{cases}2 & \text{round trip}\\ 1 & \text{one way}\end{cases},\ f = \text{road distance factor}
    Combined consumption from highway/city mix (L or kWh per 100 km)
    C = \frac{h}{100}\,C_{hwy} + \left(1-\frac{h}{100}\right)C_{city},\qquad C = \frac{235.2145833}{\text{MPG(US)}}
    Fuel or energy required and its cost
    V = \frac{D}{100}\times C,\qquad F = V \times P
    Travel time and refuel/charge stops
    t = \frac{D}{v_{veh}},\qquad N_{stops} = \left\lceil \frac{D}{0.9\,\frac{100\,Q}{C}} \right\rceil - 1
    Tolls (entered by you)
    T = \text{the toll total you enter}
    Grand total trip cost
    G = F + T + \text{Vig} + \text{Park} + (L\cdot n_{nights}) + (M\cdot n_{days}\cdot n_{pax}) + (\rho\cdot D) + (w\cdot t)
    Cost per person and per distance unit
    G_{pp} = \frac{G}{n_{pax}},\qquad G_{d} = \frac{G}{D}

    Frequently asked questions

    Why does my distance look longer than what Google Maps shows?

    This tool starts with the straight-line distance between your stops, then multiplies it by the road distance factor. At the starting value of 1.20 that adds 20%; you can change the factor to suit your route.

    Real roads follow rivers, mountains, and city grids, so your true drive may differ. If you already know the exact miles, tick Enter one-way road distance manually and type them in.

    How do I split the cost between riders?

    Type the total number of people in the car under Number of Passengers. Include yourself.

    The tool divides the grand total by that number and shows the per-person figure on the route cards and in the KPI boxes. Meals are charged per person, so they scale up with rider count.

    What highway mix should I use?

    Use 70% for most long trips between cities. Use 90% for pure interstate runs. Use 30% or less for city errands and short local drives.

    The rest of the percent counts as city driving. Gas cars get better mileage on the highway; electric cars usually do better in the city.

    What is a vignette and why was I charged one?

    A vignette is a highway pass you buy before you drive, used instead of toll booths. The tool charges one for ten countries: Austria, Switzerland, Czechia, Hungary, Slovenia, Romania, Bulgaria, Slovakia, Moldova, and North Macedonia.

    If any stop sits in one of those countries, the tool adds a set pass price once, scaled to your vehicle size. Check the country's official vignette price before you travel.

    Why do my nights and days keep changing on their own?

    The Auto-estimate nights & days box is ticked. It assumes about 8 driving hours per day and fills the fields for you.

    Untick it to type your own numbers. This matters for weekend trips where you stay longer than the drive time suggests.

    Does changing the currency change my prices?

    Yes. When you switch currency, every money field you typed is converted at a fixed rate, so a $145 hotel becomes about €133.

    Rates are approximate and do not update live. Check current rates before you book anything.

    What should I put for depreciation and wear?

    Use your own figure for tires, maintenance, and lost value per mile. Trucks and RVs run higher.

    Set it to 0 if you only want out-of-pocket costs like gas, tolls, and parking. It will drop off the breakdown table.

    How do truck axles change the cost?

    The calculator does not estimate tolls, so the truck option does not change them. Truck tolls come from each road's own class table; enter yours in the Tolls field.

    Vignettes do scale with axles. Set the correct axle count in the drop-down next to Vehicle Type.

    How does Optimize Stop Order work?

    You need 3 or more stops. The tool finds the nearest next stop each time, then swaps pairs to trim the path further.

    Your origin and destination stay locked in place. Only the middle stops move. The status line tells you how much straight-line distance you saved.

    Why is my EV efficiency showing weird units?

    When you pick Electric, the units switch to mi/kWh, km/kWh, kWh/100 km, or kWh/100 mi. Tank capacity becomes battery size in kWh, and price becomes cost per kWh.

    Enter your own efficiency and electricity price for the best result.

    Why is my drive time longer than I expected?

    The tool uses a set average speed for your vehicle type. A car is set to 105 km/h (about 65 mph).

    It does not add time for traffic, meals, or rest stops.


    Sources

    1. Driving More Efficiently. U.S. Department of Energy and U.S. Environmental Protection Agency. Observe the Speed Limit; Avoid Hauling Cargo on Your Roof. Accessed September 29, 2026.
    2. Keeping Your Vehicle in Shape. U.S. Department of Energy and U.S. Environmental Protection Agency. Keep Tires Properly Inflated. Accessed September 29, 2026.
    3. Where the Energy Goes: Electric Cars. U.S. Department of Energy and U.S. Environmental Protection Agency. Accessed September 29, 2026.
    4. American Practical Navigator (Bowditch), Pub. No. 9, Volume II: Useful Tables, Calculations, Glossary of Marine Navigation, 2024 Edition. National Geospatial-Intelligence Agency. 2024;§ 147 Haversine Formulas, p. 206. Accessed September 29, 2026.