Call

Free tool · Gas or electric

Road trip gas cost calculator

Planning a drive to San Diego, Palm Springs, Joshua Tree or Santa Barbara? Enter the distance from your maps app, your car’s MPG and the gas price to get the fuel cost, tolls included, split per person. Works for electric cars too.

Example. Get the distance from your maps app.

Trip

Side trips, driving around town.

Highway MPG is usually higher than combined.

Example. Use the price where you will fill up.

OC toll roads are cashless (FasTrak or pay online).

Electric car instead?

Example. Fast chargers on the road often cost more than home.

Total miles—
Gallons—
Fuel / charging—
Trip total—
Per person—

How it works. Miles = one-way distance × 2 for a round trip + extra driving. Gas: miles ÷ MPG × price. EV: miles ÷ miles-per-kWh × charging price. Traffic, A/C, speed and load change real consumption, so add a margin.

Before you go

Add this tool to your site

Free for blogs, credit unions, driving schools, student and community sites. Copy the code:

FAQ

How do I calculate gas cost for a trip?

Divide the total miles by your car’s MPG to get gallons, then multiply by the price per gallon. Add tolls and parking.

Should I use highway or combined MPG?

For long freeway drives, highway MPG is closer; for mixed driving with traffic, combined MPG is safer. Official figures are on fueleconomy.gov.

Are Orange County toll roads cash?

No. The 73, 133, 241 and 261 toll roads are cashless; pay with FasTrak or online after your trip.

Can I use it for an electric car?

Yes. Tick “Use EV numbers” and enter miles per kWh and the charging price you expect.

Sources

More free tools: all calculators and checklists.

Irvine Used Cars is a used-car seller in Irvine, CA, not a law firm, lender or tax adviser. Results are estimates, not legal, tax or financial advice. Page updated 2026-11-28.