Fuel cost vs electricity cost: for most drivers, electricity is cheaper per mile than gasoline, but the exact answer depends on your local fuel and electricity prices, your vehicle’s efficiency, and how you charge. This page gives you a calculator to compare the two side by side, plus the background you need to make sense of the numbers.
Formula
Cost per mile for a gas car is the gas price divided by the car’s fuel economy: Cost_gas = Gas price ($/gal) ÷ MPG. For an electric vehicle, it’s the electricity price multiplied by the car’s energy consumption: Cost_elec = Electricity price ($/kWh) × EV efficiency (kWh/mile). The savings per mile is simply the gas cost minus the electric cost.
Worked Example
Using the defaults from the calculator: gas at $3.50/gal, a car getting 30 MPG, electricity at $0.15/kWh, and an EV using 0.30 kWh/mile.
- Gas cost per mile = 3.50 ÷ 30 = $0.1167 per mile
- Electric cost per mile = 0.15 × 0.30 = $0.0450 per mile
- Savings per mile = 0.1167 − 0.0450 = $0.0717 per mile
So in this example, the electric vehicle costs about 7.2 cents less per mile to drive.
Assumptions
- Gas price is per gallon of gasoline (regular, mid-grade, or premium—you enter the price you pay).
- MPG is the vehicle’s combined city/highway fuel economy as rated by the EPA or your own measurement.
- Electricity price is per kilowatt-hour (kWh) from your home or public charger, including all fees and taxes.
- EV efficiency is the average energy used per mile, typically 0.25–0.35 kWh/mile for modern EVs.
- The calculator ignores charging losses (about 10–15% when charging at home), time-of-use rates, and any vehicle maintenance differences.
Background: Why Electricity Usually Wins
Gasoline contains about 33.7 kWh of energy per gallon, but a typical gas engine only converts about 20–30% of that into motion. An electric motor converts over 85% of the battery’s energy into motion. That efficiency gap is the main reason electricity is almost always cheaper per mile, even when electricity costs more per unit of energy than gasoline.
For example, a gallon of gas at $3.50 gives you 30 miles in a 30-MPG car. To drive 30 miles in an EV using 0.30 kWh/mile, you’d need 9 kWh. At $0.15/kWh that’s $1.35—less than half the cost of the gas.
How to Compare Your Own Numbers
To get a personal comparison, you need three things:
- Your gas price—check your local station or use a regional average.
- Your vehicle’s MPG—look at the window sticker or your trip computer.
- Your electricity rate—check your utility bill for the per-kWh charge, including delivery and taxes.
For an EV, find its efficiency rating (often shown as kWh/100 miles on the window sticker, so divide by 100 to get kWh/mile). If you charge at public fast chargers, the price per kWh is usually higher than home rates, sometimes 2–3 times more.
Common Mistakes and Misconceptions
One common mistake is comparing the price of a gallon of gas to the price of a kWh directly. That’s like comparing apples to oranges—you need to compare cost per mile, not cost per unit of fuel. Another is ignoring charging losses: when you plug in, about 10–15% of the electricity is lost as heat, so the actual cost is a bit higher than the simple multiplication.
People also forget that electricity prices vary by time of day. Many utilities offer time-of-use rates where off-peak charging (often overnight) is cheaper. If you can charge at night, your electric cost per mile could be even lower than the default example.
When Gas Might Be Cheaper
There are a few situations where gasoline can be cheaper per mile:
- Very high gas prices vs. very low electricity prices—but usually electricity still wins.
- Inefficient EVs—some older or heavy EVs use more than 0.35 kWh/mile, especially in cold weather or at highway speeds.
- Very efficient gas cars—a hybrid getting 50 MPG at $3.50/gal costs $0.07/mile, which can be close to an EV at high electricity rates.
- Public fast charging—at $0.40/kWh or more, the cost per mile can exceed a gas car’s.
But in most regions with typical home electricity rates, EVs still come out ahead.
Beyond the Per-Mile Cost
While fuel cost is a big part of ownership, it’s not the whole story. EVs typically have lower maintenance costs (no oil changes, fewer moving parts), but they often have a higher purchase price. Gas cars have a well-established refueling network, while EV charging infrastructure is growing but still patchy in some areas.
Also consider the environmental angle: electricity can be generated from renewable sources, but the grid mix varies. The cost comparison above is purely financial—it doesn’t account for emissions or time spent charging versus filling up.
Frequently Asked Questions
Is it always cheaper to charge an EV at home than to use a public charger? Usually yes. Home rates are typically 10–20 cents per kWh, while public fast chargers can be 30–60 cents per kWh. At 60 cents, an EV using 0.30 kWh/mile would cost $0.18/mile, which could be more than a gas car. Always check the charger’s price before plugging in.
How do I find my electricity rate per kWh? Look at your monthly utility bill—it shows the total cost divided by the number of kWh used. That gives your average rate. If you have time-of-use rates, your actual rate depends on when you charge.
Does cold weather affect the cost comparison? Yes, cold weather reduces both gas and EV efficiency, but the effect is more pronounced for EVs—range can drop 20–30% in freezing temperatures because the battery and cabin heating use extra energy. That increases the cost per mile, but usually not enough to make gas cheaper.
What about hybrids? A plug-in hybrid (PHEV) can use both fuels. To compare, you’d calculate the cost for the electric portion and the gas portion separately. A regular hybrid (like a Prius) is just a gas car with excellent MPG, so use its MPG in the calculator.
Are there hidden costs to EV charging at home? Yes, you may need to install a 240-volt outlet or a wall charger, which can cost a few hundred to a few thousand dollars. That’s a one-time cost, not per mile, but it affects the overall payback. Also, some utilities have higher rates for increased usage, so your marginal rate could be higher than your average.
How do I compare if I drive a lot? Multiply the cost per mile by your annual miles. For example, 12,000 miles per year at $0.0717 savings per mile equals about $860 saved per year. Over five years, that’s over $4,000—enough to offset some of the higher upfront cost of an EV.
Remember, this calculator gives an estimate based on the numbers you enter. Your actual costs depend on your driving habits, vehicle condition, and local prices. Check your utility bill and gas station receipts for the most accurate figures.
Related
Formula used
in p | Gas price | $/gallon | 3.50 | 0.01 | 20 in mpg | Gas vehicle MPG | mpg | 30 | 1 | 100 in ep | Electricity price | $/kWh | 0.15 | 0.01 | 2 in kwh | EV efficiency | kWh/mile | 0.30 | 0.05 | 5 out cost_gas | Cost per mile (gas) | $ | p / mpg | 3 out cost_elec | Cost per mile (electric) | $ | ep * kwh | 3 out savings | Savings per mile (electric vs gas) | $ | cost_gas - cost_elec | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Personal Loan Interest Deduction: What’s Tax-Deductible?$4,331.67
- Personal Interest Rate Loan Benefits Explained$405.53
- Personal Interest Rate Loan Options: How to Compare$405.53
- Personal Loan vs Savings: Which to Use?$405.53
- Personal Interest Rate Loan Application: How It Works$405.53
- Open Bank Savings Interest Rate: How It Works$1,131.41