Fuel Cost Calculator
Estimate the fuel cost of any trip. Enter distance, your vehicle's MPG (or L/100km), and fuel price per gallon (or liter). See total fuel used and total cost instantly.
Formula: fuel (gal) = distance (mi) ÷ MPG = 250 ÷ 28 = 8.93 gal; cost = fuel × $/gal = 8.93 × $3.45 = $30.80.
Updates live as you edit — bars compare the fuel the trip burns against what it costs you.

The Best Fuel Cost Calculator
Imperial (MPG, $/gal) and metric (L/100km, $/L) units. One-way and round-trip. Pure JavaScript arithmetic.Trip Fuel Estimate
Enter distance, efficiency, and fuel price and instantly get the total fuel needed and total trip cost. Works for daily commutes, road trips, or fleet budgeting.
US + Metric Modes
A single toggle switches between US (miles, MPG, gallons, $/gal) and metric (km, L/100km, liters, $/L). Your input values are kept separate so switching never loses them.
Cost per Mile / Km
Beyond the bottom-line cost, the calculator returns cost per mile (US) or cost per km (metric) — perfect for mileage reimbursement, ride-share pricing, or comparing vehicles.
100% Private
All calculations run in your browser. No trip data, no fuel prices, no vehicle info is uploaded. No signup and no daily limit.
Estimate Your Fuel Cost in 3 Steps
Enter Trip Distance
Type the distance of your trip in miles or kilometers. Toggle round-trip if you are coming back.
Set Vehicle MPG
Enter your vehicle's fuel economy — MPG (US/UK) or L/100km. A higher number means more efficient.
Add Fuel Price
Type the price per gallon or liter. Total fuel used and total trip cost appear instantly.
Fuel Cost Calculator for Every Job
From road trips to daily commutes — know what every mile really costs.Road Trip Budgeting
Enter distance, MPG, and fuel price to know the true driving cost before you go — split it fairly across passengers.
Commute Cost Analysis
Compare driving vs transit monthly: distance, price, and efficiency expose what your commute really costs per month and year.
Rideshare & Delivery Planning
Factor fuel into per-delivery or per-ride earnings so you accept only profitable runs — miles are money.
Vehicle Efficiency Tracking
Log real fill-ups and compare MPG across cars, routes, or driving styles to find the savings hiding in your tank.
More Calculator Tools
160All free, all browser-based. Pick the right tool for the job.401K Calculator
401(k) balance at retirement with match, growth and…
Age Calculator
Calculate age from birthdate
Amortization Calculator
Full payment-by-payment schedule showing interest vs…
Annuity Calculator
Present value of an annuity, or the payout a lump sum…
Annuity Payout Calculator
Fixed-period or lifetime-style periodic payout from a…
APR Calculator
True APR including lender fees — the real yearly cost…
Area Calculator
Area of 2D shapes — square, rectangle, triangle,…
Auto Lease Calculator
Lease payment from MSRP, cap cost, residual, money…
Auto Loan Calculator
Estimate monthly car payments
Average Return Calculator
Arithmetic mean return and geometric (CAGR) return from…
Bandwidth Calculator
Download time and required bandwidth for any file size…
Basic Calculator
Simple arithmetic calculator
Big Number Calculator
Exact arithmetic on arbitrarily large integers — add,…
Binary Calculator
Add, subtract, multiply, divide binary numbers — with…
BMI Calculator
Body Mass Index from height & weight
Boat Loan Calculator
Boat loan payment, total interest and payoff schedule,…
Bond Calculator
Bond price from face value, coupon, yield and maturity…
BTU Calculator
Air conditioner/heater size in BTU from room size,…
Budget Calculator
50/30/20 budget from take-home pay with line-by-line…
Business Loan Calculator
Business loan payment, total cost and amortization for…
Canadian Mortgage Calculator
Semi-annual compounding, accelerated bi-weekly — Canadian…
Cash Back or Low Interest Calculator
Compare a cash-back rebate against a lower APR over how…
CD Calculator
Certificate of deposit maturity value and APY…
Circle Calculator
Radius, diameter, circumference and area — enter any…
College Cost Calculator
Future college cost with tuition inflation, savings…
Commission Calculator
Base plus percent commission, tiered rates, and net…
Compound Interest Calculator
Project savings growth over time
Concrete Calculator
Estimate concrete volume for pours
Confidence Interval Calculator
CI for a mean (z or t) and for a proportion, at…
Credit Card Calculator
Fixed vs minimum payment payoff — months and interest…
Credit Cards Payoff Calculator
Snowball vs avalanche payoff across multiple cards with…
Currency Calculator
Convert between 20+ major currencies with editable…
Date Calculator
Days/months/years between dates
Day Counter
Count days, weekdays and weekends between two dates.
Day of the Week Calculator
What day of the week any date falls on, past or future.
Debt Consolidation Calculator
Combine multiple debts into one loan — see the real…
Debt Payoff Calculator
How long to be debt-free with a fixed payment, and what…
Debt-to-Income Ratio Calculator
Front-end and back-end DTI ratios that lenders use for…
Density Calculator
Density, mass or volume — solve any variable of ρ = m/V.
Depreciation Calculator
Straight-line, declining balance, or…
Dew Point Calculator
Dew point from temperature and humidity — comfort…
Dice Roller
Roll any number of dice with any sides — d4, d6, d8,…
Discount Calculator
Sale price from discount %
Distance Calculator
2D/3D Euclidean distance between points, with the…
Down Payment Calculator
Down payment savings plan and how it changes your loan,…
Electricity Calculator
Appliance energy cost from wattage, hours and your kWh…
Engine Horsepower Calculator
Engine HP from quarter-mile ET or trap speed — the…
Estate Tax Calculator
Gross estate minus debts and exemption — federal estate…
Exponent Calculator
Base raised to any power — including negative and…
Factor Calculator
All factors of a number, prime factorization, and…
FHA Loan Calculator
FHA mortgage payment with MIP, upfront UFMIP, taxes and…
Finance Calculator
TVM solver — enter any four of FV, PV, PMT, periods,…
Fraction Calculator
Add, subtract, multiply, divide fractions
Future Value Calculator
FV of a lump sum, periodic payments, or both combined.
Gas Mileage Calculator
Real MPG from fill-up records, plus cost per mile and…
GDP Calculator
GDP by expenditure approach: C + I + G + (X − M), with…
Golf Handicap Calculator
Handicap index from recent rounds using the WHS…
GPA Calculator
Grade point average from courses
Grade Calculator
Weighted grade from assignments plus the final-exam…
Gravel Calculator
Gravel tonnage and cubic yards for driveways and paths…
Greatest Common Factor Calculator
GCF/HCF of two or more numbers via Euclidean algorithm,…
Half-Life Calculator
Solve any missing half-life variable — remaining…
Heat Index Calculator
NWS heat index from temperature and humidity, with risk…
Height Calculator
Predict child height from parents' heights…
HELOC Calculator
HELOC draw limit, interest-only payment, and amortizing…
Hex Calculator
Hexadecimal arithmetic and conversion to decimal,…
Home Equity Loan Calculator
Available equity, LTV limit, and the payment on a fixed…
Horsepower Calculator
HP from torque & RPM, or from force & velocity —…
Hours Calculator
Timesheet hours between clock in/out times, with break…
House Affordability Calculator
Work out the home price you can afford from income,…
Income Calculator
Annual, monthly, hourly income
Inflation Calculator
Purchasing power over time and the rate needed to hit a…
Interest Calculator
Simple vs compound interest side-by-side at any…
Interest Rate Calculator
Solve the unknown interest rate from principal, time…
Investment Calculator
Investment growth with contributions, rate, duration…
IP Subnet Calculator
Network, broadcast, mask, wildcard, host range and…
IRA Calculator
Traditional IRA growth, tax-deferred advantage, and…
IRR Calculator
Internal rate of return for any cashflow series, with…
Lease Calculator
Equipment/asset lease payment from value, residual,…
Least Common Multiple Calculator
LCM of two or more numbers with the step-by-step prime…
Loan Calculator
Monthly payment for any loan
Log Calculator
Logarithm in any base — ln, log10, log2, or custom.
Long Division Calculator
Step-by-step long division with remainder, decimal mode…
Margin Calculator
Gross margin from cost and revenue — plus markup and…
Markup Calculator
Selling price from cost & markup %
Mass Calculator
Mass from density and volume across common material…
Matrix Calculator
2×2 and 3×3 matrix operations: determinant, inverse,…
Mean, Median, Mode, Range Calculator
Full summary statistics for a data set — mean, median,…
Mileage Calculator
Trip distance, fuel used, cost, and reimbursement at…
Molarity Calculator
Molarity from mass, molar mass and volume — plus…
Molecular Weight Calculator
Molecular weight from a chemical formula like H2O or…
Mortgage Calculator
Monthly home loan payment
Mortgage Payoff Calculator
See how extra monthly payments pay off your mortgage…
UK Mortgage Calculator
Repayment or interest-only, in pounds, with LTV and…
Mulch Calculator
Mulch volume in cubic yards and bags for any bed size…
Mutual Fund Calculator
Lump sum plus SIP-style contributions with returns and…
Number Sequence Calculator
Arithmetic, geometric, Fibonacci-style sequences — nth…
Ohm's Law Calculator
V, I, R or power — enter any two, get the other two.
Payback Period Calculator
How many years an investment takes to repay its initial…
Payment Calculator
Fixed-term or fixed-payment loan solver — enter any…
Pension Calculator
Annual pension from final average salary, years of…
Percent Error Calculator
Percent error between observed and true values,…
Percentage Calculator
Percent of, increase, decrease
Permutation and Combination Calculator
nPr and nCr with the formula and step-by-step working…
P-Value Calculator
P-values from z, t, or chi-square with shaded distribution…
Personal Loan Calculator
Personal loan payment, total interest, and payoff…
Present Value Calculator
What a future amount or payment stream is worth in…
Probability Calculator
Single/double event probabilities, odds, and card/dice…
Pythagorean Theorem Calculator
a² + b² = c² — solve any missing side and see the check.
Quadratic Equation Calculator
Solve ax² + bx + c = 0
Random Number Generator
Random integers in any range, with unique-mode,…
Ratio Calculator
Solve the missing value in a proportion A:B = C:D and…
Real Estate Calculator
Full buy-and-hold deal analysis: cash flow, cap rate,…
Refinance Calculator
Compare your current loan to a refinanced one —…
Rent Calculator
How much rent you can afford based on income and the…
Rent vs. Buy Calculator
Side-by-side net cost of renting vs owning over your…
Rental Property Calculator
Rental investment returns: NOI, cap rate, cash-on-cash,…
Repayment Calculator
Fixed or graduated loan repayment plans — compare total…
Resistor Color Code Calculator
4/5/6-band resistor value, tolerance and temperature…
Retirement Calculator
Project retirement savings
Right Triangle Calculator
Right triangle solver — legs, hypotenuse, angles, area…
RMD Calculator
Required minimum distribution using the IRS Uniform…
ROI Calculator
Return on investment percentage
Roman Numeral Converter
Roman numerals to numbers and back, both directions…
Roofing Calculator
Roof area with pitch, squares of shingles, bundles and…
Root Calculator
Square, cube, or any nth root of a number, with decimal…
Roth IRA Calculator
Roth IRA growth with contributions — and Roth vs…
Rounding Calculator
Round to any decimal place or significant figure — up,…
Salary Calculator
Annual, monthly, hourly, daily salary
Sales Tax Calculator
Final price with sales tax
Sample Size Calculator
Required sample size for means or proportions at your…
Savings Calculator
Grow a starting balance plus regular contributions into…
Scientific Calculator
Trig, log, exp, powers, roots
Scientific Notation Calculator
Convert between decimal and a×10^b notation, and…
Shoe Size Conversion
Convert shoe sizes across US, UK, EU and centimeter…
Simple Interest Calculator
I = P·r·t — interest, total amount, and…
Sleep Calculator
Bedtimes or wake times around 90-minute sleep cycles.
Slope Calculator
Slope from two points or point+angle — with distance,…
Social Security Calculator
Benefit by claiming age 62-70 and the break-even age…
Speed Calculator
Speed, distance or time — solve any variable,…
Square Footage Calculator
Area in square feet from dimensions
Stair Calculator
Riser, run, stringer length and stair angle to…
Statistics Calculator
Mean, median, mode, std dev
Student Loan Calculator
Student loan payment, payoff timeline and interest with…
Surface Area Calculator
Total surface area of boxes, cylinders, spheres, cones…
Tile Calculator
Tiles needed for a floor/wall with layout pattern and…
Time Calculator
Add or subtract days, hours, minutes, seconds —…
Time Card Calculator
Work hours and pay from time cards
Time Duration Calculator
Duration between two dates/times in every unit…
Time Zone Calculator
Convert a time across world time zones using your…
Tip Calculator
Tip amount and total bill
Tire Size Calculator
Tire dimensions from metric size and speedometer error…
Triangle Calculator
Solve any triangle from three knowns — angles, sides,…
VA Mortgage Calculator
VA loan payment with funding fee by down payment and…
VAT Calculator
Add or remove VAT at any rate — gross, net, and the VAT…
Voltage Drop Calculator
Voltage drop over wire run — copper/aluminum, AWG,…
Volume Calculator
Volume of 8 solids: cube, box, cylinder, cone, sphere,…
Weight Calculator
Weight from mass and gravity — Earth, Moon, Mars and…
Wind Chill Calculator
NWS wind chill from temperature and wind speed,…
Z-score Calculator
Raw score → z-score, with probability above/below from…
Frequently Asked Questions
Everything you need to know about fuel cost and MPG math.How is the fuel needed for a trip calculated?
In US mode: fuel (gallons) = distance (miles) ÷ MPG. In metric mode: fuel (liters) = distance (km) × (L/100km ÷ 100). The total cost is then fuel needed × fuel price, and cost per mile/km is total cost ÷ distance.
What is the difference between MPG and L/100km?
MPG (miles per gallon) is fuel efficiency expressed as distance-per-volume — higher is better. L/100km (liters per 100 km) is volume-per-distance — lower is better. The metric system is used in most of the world; MPG is used in the US and UK. The calculator handles both with a toggle.
How do I switch between US and metric units?
Use the toggle at the top of the calculator. Switching changes the unit labels and the math applied; your US and metric inputs are kept separately, so toggling back and forth never loses what you typed.
What is "cost per mile" and why does it matter?
Cost per mile (or per km) is total fuel cost ÷ distance. It is the standard figure used for mileage reimbursement (e.g. the US IRS rate), ride-share and delivery pricing, and comparing the running cost of two vehicles. Lower is cheaper to operate.
Does the calculator include wear-and-tear or depreciation?
No — this calculator is for fuel cost only. For the full "cost to drive" you would add per-mile maintenance, depreciation, insurance, and registration on top. Fuel is usually the largest variable cost, but not the only one.
Ready to Estimate Your Fuel Cost?
Imperial and metric units. Round-trip toggle. Any vehicle, any fuel. No signup.
Open the Calculator