Gas Cost Calculator
Estimate the fuel cost of a trip from the distance, your vehicle’s MPG and the gas price, with round-trip and split-by-people options. Example: 450 miles at 28 MPG and $3.50 a gallon uses 16.07 gallons and costs $56.25.
Show steps
How to use the Gas Cost Calculator
- Enter the one-way distance of your trip.
- Enter your vehicle’s MPG and the current gas price.
- Choose round trip if you are coming back, and enter how many people are splitting the cost.
- Press Calculate to see fuel and cost.
Formula and method
Gallons needed = distance / MPG. Fuel cost = gallons x price per gallon. Cost per person = total cost / number of people.
Worked example: 450 miles, 28 MPG, $3.50
| Step | Value |
|---|---|
| Gallons (450 / 28) | 16.07 |
| Cost (16.07 x $3.50) | $56.25 |
| Round trip | $112.50 |
| Split between 3 people (round trip) | $37.50 each |
Trip cost for 500 miles at common MPG and prices
| MPG | $3.00 | $3.50 | $4.00 |
|---|---|---|---|
| 20 | $75.00 | $87.50 | $100.00 |
| 25 | $60.00 | $70.00 | $80.00 |
| 30 | $50.00 | $58.33 | $66.67 |
| 35 | $42.86 | $50.00 | $57.14 |
| 45 | $33.33 | $38.89 | $44.44 |
Tips for planning trip costs
Use the real MPG from your own driving, not the sticker. Add tolls, parking and wear costs if you want the full cost per mile. For electric vehicles, multiply miles per kWh by the electricity price instead.
Frequently asked questions
How do I calculate gas cost for a trip?
Divide the distance by your MPG to get gallons, then multiply by the gas price.
How do I include the return trip?
Pick round trip, which doubles the distance.
How can I split gas costs?
Enter the number of people sharing. The calculator divides the total evenly.
Does speed change the cost?
Yes. Fuel economy often drops noticeably above about 55 to 60 mph.
How much extra should I budget?
About 10% for traffic, detours and weather.
What about electric vehicles?
Use cost per kWh and the car’s miles per kWh instead of gas price and MPG.
Sources
Related calculators
Related to This Article
More math articles
- Geometry Puzzle – Challenge 60
- Digital SAT Math Practice Test PDF with Answers (2027)
- 25 Ways You Use Math Every Day (Without Realizing It)
- Addition of Four-Digit Numbers
- How to Add and Subtract Decimals? (+FREE Worksheet!)
- Top 10 TASC Math Practice Questions
- Social Interaction, Groups, and Organizations
- FREE 7th Grade FSA Math Practice Test
- How to Solve Word Problems with Four-digit Dividends and Two-digit Divisors
- CPA FAR Consolidations: Identify Elimination Entries (2027 Prep)


What people say about "Gas Cost Calculator: Trip Fuel Cost & Split"?
No one replied yet.