E-bikes and getting around

Bike vs Car Cost Calculator

Enter your commute, what your car burns and the bike you would buy. We show your yearly savings, when the bike pays for itself and the pounds of CO₂ you keep out of the air, using current US gas and electricity prices.

  • Free
  • No sign-up
  • Private: it runs in your browser
Illustration: coin and bicycle

Your commute

mi
2 = there and back
Take out vacation and days you wouldn't ride

The car you leave at home

How to count the car
Fuel
mpg
Your real figure, from the trip computer. A typical gas car gets 22.2 mpg (EPA)
$/gal
US average, week of Oct 12, 2026 (EIA): regular $4.33/gal, diesel $6.18/gal
$/mi
Service, tires, brakes… AAA's 2026 average is $0.117/mi
$/mo
Garage, meter or lot you pay for when you drive
$/yr
Insurance, registration, inspection… Leave blank if you keep the car

Your alternative

Your alternative
$
Include a lock, lights and a helmet
$/yr

What you save

$587a year

$49 a month · 2,200 mi a year by bike instead of by car

The bike pays for itself in 14 months
CO₂ avoided 1,942 lb a year

99 gallons of fuel you don't burn· Your car costs you $0.31/mi in fuel and wear.

Yearly breakdown

Car fuel$429
Car maintenance$257
Car total$687
Bike maintenance−$100
Bike total−$100

Over 5 years, after paying for the bike: $2,233

How to use the calculator

  1. Your commute. Enter the one-way distance. With “2 trips per day” we count there and back. Under “Weeks per year,” take out vacation and the days you know you wouldn’t ride: 44 weeks leaves room for vacation, holidays and the odd day of bad weather.
  2. The car you leave at home. Pick one of two ways to count it:
    • Fuel economy and gas price: your real mpg (the one on the trip computer), the price per gallon and what maintenance costs you per mile.
    • Cost per mile: a single all-in figure. If you don’t have one, the IRS business rate of 76 cents a mile is a common reference for the full cost of driving your own car.
  3. Parking and fixed costs. If you pay for a garage, meters or a lot when you drive, add it. If the bike lets you sell the car (or skip buying a second one), enter the insurance, registration and inspection under “Fixed costs.”
  4. Your alternative. A regular bike or an e-bike, with the purchase price and what you will spend keeping it running each year. For an e-bike we add the cost of charging it.

The calculator works in US units (miles, mpg, dollars per gallon) or metric. Switch with the US / Metric buttons; the result is the same either way.

How we calculate it

Miles per year = miles per trip × trips per day × days per week × weeks per year

Yearly car cost

Fuel = miles ÷ mpg × price per gallon

Maintenance = miles × maintenance cost per mile

Car total = fuel + maintenance + parking × 12 + fixed costs

In cost-per-mile mode, the total is miles × cost per mile + parking + fixed costs.

Yearly bike cost

Bike total = yearly maintenance + miles × Wh per mile ÷ 1,000 × price per kWh (e-bike only)

Results

Yearly savings = car total − bike total

Months to pay off the bike = purchase price ÷ (yearly savings ÷ 12)

CO₂ avoided = gallons not burned × CO₂ per gallon − e-bike kWh × CO₂ per kWh of the grid

We don’t subtract the bike’s price from the yearly savings: we treat it as an investment that those savings pay back. Below the result you will also see the five-year balance, after paying for the bike.

Default values and where they come from

InputValueSource
Regular gasoline$4.33/galEIA, US average, week of October 12, 2026
Diesel$6.18/galEIA, same week
Home electricity18.2¢/kWhEIA Electric Power Monthly, US residential average, January-July 2026
CO₂ per gallon of gasoline8,887 g (19.6 lb)EPA
CO₂ per gallon of diesel10,180 g (22.4 lb)EPA
CO₂ from the grid0.81 lb (0.37 kg) per kWhEIA, US utility-scale generation in 2023
All-in cost per mile76¢/mileIRS business standard mileage rate from July 1, 2026
Fuel economy22.2 mpgEPA’s typical gasoline passenger vehicle; change it to yours
Car maintenance11.7¢/mileAAA Your Driving Costs 2026: maintenance, repairs and tires
E-bike energy use11.3 Wh/mile (7 Wh/km)Our e-bike range model, plus charger losses
Bike prices$700 regular, $2,000 e-bikeExample values; enter the bike you have in mind

Gas prices change every week and vary a lot from state to state. For a sharper result, enter the price at your usual station and the rate on your electric bill.

Savings chart

Round trip, 5 days a week and 44 weeks a year, compared with a 22.2 mpg gas car counting fuel and maintenance (31¢ a mile). Regular bike at $700 with $100 a year of maintenance; e-bike at $2,000 with $180 a year.

One-way commuteMiles per yearSavings with a bikePays off inSavings with an e-bikePays off inCO₂ avoided
2 mi (3.2 km)880$175/yr48 months$93/yr259 months777 lb
3 mi (4.8 km)1,320$312/yr27 months$229/yr105 months1,165 lb
5 mi (8 km)2,200$587/yr14 months$502/yr48 months1,942 lb
7 mi (11.3 km)3,080$861/yr10 months$775/yr31 months2,718 lb
10 mi (16.1 km)4,400$1,273/yr7 months$1,184/yr20 months3,883 lb

Electricity is the smallest line in an e-bike budget: filling a 500 Wh battery costs about 9 cents before charger losses (0.5 kWh × 18.2¢) and about 11 cents with them, because roughly 0.6 kWh comes out of the wall. That’s why the calculator uses the energy measured at the outlet, 11.3 Wh per mile: 100 miles cost about 20 cents, or $4.51 a year on the default commute. For electricity costs per mile and per year at other prices per kWh, see the e-bike cost per mile chart.

Where an e-bike really pays off fast is on longer commutes, or when parking or fixed costs are part of the picture. On a 5-mile commute with a $100-a-month parking spot, the e-bike saves about $1,702 a year and pays for itself in 14 months. If you also sell the car and drop $2,098 a year of insurance (AAA’s 2026 average for a new car), the e-bike saves about $2,600 a year and pays for itself in about 9 months, even without parking.

Driving at the IRS rate

If you switch to “Cost per mile” and use the IRS business rate of 76 cents, the same 5-mile commute costs about $1,672 a year by car, and a $700 bike pays for itself in about 5 months. That figure is high on purpose: it spreads insurance, depreciation and registration over every mile. Use it only if biking would really let you drive a lot less or give up a car. If the car stays in the driveway, the fuel-and-maintenance mode is the honest one.

What the calculator leaves out (and counts in favor of the bike)

  • Time. On short city trips, door to door, a bike is often about as fast as a car, because you don’t circle for parking or sit at the on-ramp.
  • Health. Half an hour of riding five days a week adds up to the 150 minutes a week of moderate activity that the CDC recommends as a minimum. You can estimate the energy you burn with the cycling calorie calculator.
  • Cold starts. On short trips the engine never warms up and burns a good deal more than its average mpg suggests.

And what counts against it: clothing, a lock and lights (include them in the purchase price), and the days you’ll end up driving or taking transit anyway (take them out under weeks per year).

Common mistakes

  • Counting only gas. Tires, oil changes, brakes and repairs cost money too: AAA puts them at 11.7 cents a mile on average, about $1,755 a year if you drive 15,000 miles.
  • Using the window-sticker mpg. It’s a lab figure. Real-world fuel economy, especially in town, is usually worse.
  • Forgetting parking. In many downtowns it is the biggest saving of all.
  • Comparing with a car you’ll keep anyway. If the car stays, its fixed costs don’t go away: leave them out.

Before you buy

If you don’t have a bike yet, the Which bike should I buy? quiz tells you what type fits your commute and budget. If you’re thinking about an e-bike, check how many miles the battery will give you. E-bike classes and the rules of the road for riding are in the bike laws section.

Frequently asked questions

How much money do you save biking to work?

On a 5-mile commute, about $587 a year counting only gas and wear on the car. If you also pay $100 a month for parking, the savings jump to about $1,787 a year. And if biking lets you sell the car, add the insurance and registration you no longer pay.

How much CO₂ does a car emit per mile?

A gas car that gets 22.2 mpg emits about 400 grams (0.9 lb) of CO₂ per mile, because burning a gallon of gasoline releases 8,887 grams of CO₂, according to the EPA. A diesel gallon releases 10,180 grams.

How much does it really cost to drive a mile?

Gas and maintenance alone come to about 31 cents a mile for a typical 22.2 mpg car at $4.33 a gallon. The IRS business mileage rate, which also covers insurance, depreciation and registration, is 76 cents a mile from July 1, 2026.

How much does it cost to charge an e-bike?

Very little: a 500 Wh battery holds half a kilowatt-hour, about 9 cents at the US average of 18.2¢ per kWh, or about 11 cents counting charger losses. At a typical 11 Wh per mile at the outlet, 100 miles cost about 20 cents.

Sources

  1. U.S. Energy Information Administration: Gasoline and Diesel Fuel Update (weekly US retail prices)
  2. U.S. Energy Information Administration: Electric Power Monthly, table 5.3 (average residential price)
  3. IRS: standard mileage rates (76 cents per mile for business from July 1, 2026, Announcement 2026-11)
  4. EPA: greenhouse gas emissions from a typical passenger vehicle (CO₂ per gallon, typical mpg)
  5. U.S. Energy Information Administration: how much CO₂ is produced per kWh of US electricity
  6. AAA: Your Driving Costs 2026 fact sheet (maintenance, repair and tires 11.7¢ per mile; insurance $2,098 a year)

Updated October 19, 2026 ·Report an error on this page

What you’ll need

  • U-lockIf you leave your bike on the street, a U-lock is the bare minimum.
  • Rechargeable bike lightsFront and rear lights for commuting after dark; most states require at least a white front light at night.

Affiliate links: if you buy, we earn a small commission at no extra cost to you. Learn more.

Save your bike once, use it everywhere

In My Bike you enter your measurements, wheels and drivetrain. From there we give you your tire pressure, saddle height, gearing and chain length, plus a shop sheet you can print.