πŸ† US-Registered Digital Marketing Agency Trusted by 200+ brands Β· USA Β· UK Β· Canada Β· AUS
EVERYDAY TOOL

EV Charging Cost Calculator β€” electricity cost vs. gas

Estimate what it really costs to charge your electric vehicle β€” and how that compares to filling up a gas car.

Home rate β€” check a recent utility bill for your actual $/kWh.
Energy lost as heat between the wall and the battery.
Cost to Drive This Distance (Home Charging)
$0
 
$0
Cost Per Mile
$0
Cost Per 100 Miles
$0
Same Trip, Public Charger
$0
Same Trip, Gas Car
Tip: Compare the home-charging cost to the gas car cost below to see your estimated savings.
Advertisement

The EV charging cost calculator turns a somewhat abstract question β€” "is charging an EV actually cheaper than gas?" β€” into a concrete dollar figure based on your own driving habits, your local electricity rate, and how a comparable gas vehicle would perform over the same distance. Instead of relying on national averages that may not reflect your utility rate or your actual efficiency, this tool lets you plug in your own numbers and see the real comparison.

This calculator is one of a growing set of free, browser-based tools published by Arb Digital. It runs instantly with no signup, and every figure updates the moment you change an input.

What This EV Charging Cost Calculator Does

You enter the number of miles driven, your EV's efficiency in miles per kilowatt-hour (mi/kWh), your home electricity rate, and an estimated charging loss percentage to account for energy lost as heat during charging. The calculator then computes the total cost to charge enough to cover that distance, the cost per mile, and the cost per 100 miles β€” a standard way to compare fuel efficiency across very different vehicle types. It also estimates the same trip's cost using a public or DC fast-charging rate, and the cost of covering the same distance in a gas-powered car using an editable MPG and fuel price, so you can see the full comparison side by side.

How to Use It

  1. Enter miles driven. Use a single trip, a week, or a month β€” whatever period you want to cost out.
  2. Enter your EV's efficiency. Most EVs display this in the dashboard or app as miles per kWh, or you can convert from kWh/100 miles if that's what's shown.
  3. Enter your electricity rate. Check a recent utility bill for your actual per-kWh cost, since rates vary significantly by state, utility, and time of day.
  4. Adjust the charging loss percentage. A portion of energy drawn from the wall doesn't reach the battery β€” this accounts for that overhead.
  5. Optionally add a public charging rate and a comparison gas car's MPG and fuel price to see the full side-by-side picture.
  6. Click Calculate to see cost per mile, cost per 100 miles, and the gas-car comparison update instantly.

The Formula / How It's Calculated

The calculation starts with energy needed at the wheels: kWh needed = Miles Driven Γ· Efficiency (mi/kWh). Because charging isn't perfectly efficient β€” some energy is lost as heat in the charging cable, the onboard charger, and the battery management system β€” the tool grosses this up by the charging loss percentage: kWh drawn from the wall = kWh needed Γ· (1 βˆ’ Loss %). That figure is then multiplied by your electricity rate to get total cost: Cost = kWh drawn Γ— $/kWh. For example, driving 300 miles at 4 mi/kWh requires 75 kWh at the battery; before charging losses, at a $0.15/kWh home rate, that's roughly $11.25 β€” and slightly more once charging losses are factored in.

The gas-car comparison uses the standard fuel cost formula: Gallons Needed = Miles Γ· MPG, then Cost = Gallons Γ— Price Per Gallon. For background on vehicle efficiency ratings and how they're measured, the U.S. Department of Energy's fueleconomy.gov is the official government resource, and it also publishes comparable efficiency data for electric and plug-in hybrid vehicles under the same testing standards.

Advertisement

Home Charging vs. Public Charging Rates

One of the biggest variables in real-world EV costs is where you charge. Home charging on a standard residential electricity rate is typically the cheapest option, especially if your utility offers a lower overnight or off-peak rate for EV charging. Public Level 2 chargers usually cost somewhat more than home electricity, often with a per-hour or per-session fee layered on top of the per-kWh rate. DC fast chargers β€” the type used for long road trips β€” are typically the most expensive per kWh, sometimes two to three times the home rate, because they deliver much faster charging speeds and higher demand-based pricing. This calculator lets you compare a home rate against a public/fast-charging rate side by side so you can see how much a road trip might cost compared to routine local driving.

Why Charging Losses Matter

Not all electricity pulled from the wall makes it into usable battery range. Energy is lost as heat during AC-to-DC conversion (for most home charging setups), in the cables, and in the battery's own charge-management system. This loss is typically estimated in the 5–15% range depending on the charger type, ambient temperature, and vehicle. Ignoring this loss will understate your real charging costs β€” which is why this calculator applies it explicitly rather than assuming charging is 100% efficient.

Gas vs. Electric: What the Comparison Really Shows

Electricity is very often cheaper per mile than gasoline, but the gap depends heavily on local electricity rates, gas prices, and the specific vehicles being compared. A high electricity rate combined with a low local gas price can narrow β€” or in rare cases erase β€” the typical EV cost advantage, while a low electricity rate paired with expensive gas widens it substantially. Because both of those inputs vary by region and change over time, this calculator intentionally treats them as editable fields rather than baking in a single national average that might not reflect your situation.

Time-of-Use Rates and Off-Peak Charging

Many utilities now offer time-of-use electricity pricing, where the per-kWh rate changes depending on the hour of the day β€” typically cheaper overnight and during off-peak hours, and more expensive during afternoon and early-evening peak demand. For EV owners who can schedule charging using their vehicle's built-in timer or a smart charger, shifting most charging sessions to off-peak hours can meaningfully lower the effective rate compared to charging whenever is convenient during the day. If your utility offers a specific EV or off-peak rate plan, it's worth entering that lower number into the home rate field here instead of your blended average rate, since it will more accurately reflect what overnight charging actually costs you rather than what your bill averages out to across all hours.

Some utilities also offer separate, lower rate plans specifically for households with an EV, sometimes requiring a dedicated meter or charging circuit to qualify. These programs can shift the home-charging cost advantage even further in the EV's favor compared to the generic residential rate most people would otherwise plug into a calculator like this one, which is another reason to check your actual utility rate structure rather than assuming a flat national average applies to your bill.

Road Trips and the Public Charging Reality

Home charging economics don't always carry over to longer road trips, where DC fast charging becomes necessary to cover significant distance in a reasonable amount of time. Because fast chargers are priced higher per kWh and sometimes add per-minute or session fees on top, a multi-day road trip can cost noticeably more per mile than routine local driving on the same vehicle. This is normal and expected β€” the convenience and speed of a fast charger comes at a premium, similar to how a gas station in a remote location along a highway often charges more per gallon than one in a competitive city market. Using the public/fast-charger field in this calculator lets you model that road-trip scenario separately from your everyday commuting costs, rather than assuming one number applies to all of your driving.

Comparing more than charging costs?

Arb Digital builds fast, high-converting websites and content for businesses in the auto and energy space. If you're also budgeting for a vehicle purchase, check out our car value projection tool below.

Try the Car Depreciation Calculator All Free Tools

Total Cost of Ownership Beyond Charging

Charging cost is usually the single biggest recurring expense difference between an EV and a gas car, but it isn't the only one. Electric vehicles typically have fewer moving parts subject to wear β€” no oil changes, spark plugs, or exhaust systems β€” which tends to lower routine maintenance costs over the life of the vehicle, though tires, brakes, and eventually the battery itself still represent real costs. Insurance premiums for EVs can run higher or lower than a comparable gas vehicle depending on the model, repair costs, and insurer, and purchase price differences between EV and gas versions of similar vehicles have narrowed considerably as battery costs have come down, though they still vary by manufacturer and incentive program. This calculator focuses specifically on the charging-versus-fuel comparison because it's the cost most directly affected by your own driving habits and local rates, but a complete ownership-cost comparison should also weigh these other factors.

Common Mistakes to Avoid

  • Ignoring charging losses. Comparing gas cost to the theoretical battery-only energy need (rather than what's actually drawn from the wall) understates the real electricity cost.
  • Using a national average electricity rate. Rates vary widely by state and utility, and some offer significantly cheaper overnight rates specifically for EV charging β€” check your own bill rather than relying on a generic figure.
  • Forgetting public charging markups. Home charging and DC fast charging can differ dramatically in price per kWh β€” don't assume your home rate applies everywhere you charge.
  • Comparing to an unrealistic gas car. Use the MPG of a genuinely comparable vehicle (similar size and class) for a fair side-by-side comparison rather than an unusually efficient or inefficient model.

Related Free Tools From Arb Digital

If this was useful, try the Car Depreciation Calculator to see how a vehicle's value changes over time, or the Days Until Date Calculator for counting down to a lease end, trade-in, or purchase date. Explore our complete free online tools hub for more everyday and finance calculators.

Frequently Asked Questions

Is charging an EV always cheaper than buying gas?

Usually, but not always β€” it depends on your local electricity rate and gas price. In areas with high electricity costs and cheap gas, the gap can narrow significantly, which is why this calculator uses your own editable numbers rather than a fixed assumption.

What is mi/kWh and where do I find it for my car?

Miles per kilowatt-hour measures how far your EV travels per unit of battery energy used β€” similar to MPG for gas cars. Most EVs display this in the trip computer or companion app; you can also estimate it from your owner's manual's efficiency rating.

Why does the calculator include a charging loss percentage?

Because not all electricity drawn from the wall reaches the battery β€” some is lost as heat during conversion and charging. Leaving this out would understate your real-world electricity cost.

How much more expensive is public fast charging compared to home charging?

It varies by network and location, but DC fast chargers are commonly two to three times the cost per kWh of home electricity, due to faster charging speeds and higher infrastructure costs. Use the public rate field to model your specific charging network.

Does this calculator account for battery degradation?

No β€” it calculates charging cost based on the efficiency and rates you enter today. Battery degradation over years of use would gradually reduce effective range, which you can approximate by lowering the mi/kWh figure.

Is my data saved when I use this calculator?

No. All calculations happen locally in your browser using JavaScript β€” nothing you enter is transmitted to or stored on any server.

This tool runs entirely in your browser using built-in JavaScript. Nothing you enter is uploaded, stored, or sent to any server.

Advertisement

πŸ‘‹ Hey! Want to grow your business? Ask me anything β€” a free marketing proposal is on the table!