Gas Mileage Calculator
MPG from miles and gallons.
Open →Enter trip distance, MPG and gas price to get the fuel cost of your drive.
| Gallons needed | — |
|---|---|
| Total distance | — |
| Cost per mile | — |
| Gas price | — |
To price a drive, work out the fuel it needs — distance divided by your car’s miles per gallon — then multiply by the price of gas. This calculator does both and can double the distance for a round trip, so you know the true cost before you set off.
It’s handy for budgeting road trips, splitting fuel with passengers, or comparing driving against other travel. Use your real-world MPG (from the gas mileage calculator) rather than the sticker figure for the most accurate estimate.
cost = (distance ÷ MPG) × price per gallon
Divide the trip distance by your MPG to get gallons, then multiply by the price per gallon. A 300-mile trip at 25 MPG and $3.50 costs about $42 one way.
Use the figure that matches the trip — highway for long drives, city for stop-and-go — or your averaged real-world MPG for a blend.
Take the total trip cost and divide by the number of people sharing the ride.
MPG from miles and gallons.
Open →Fuel + upkeep per mile.
Open →Monthly lease payment.
Open →Miles × IRS rate.
Open →