One Click Answers

OCACareers & Work

Share tool
FacebookPinterestEmail

Commute Cost Calculator

Enter your distance and your own prices to see what getting to work costs you.

About this tool & how to use it

What the Commute Cost Calculator does

Works out what your commute costs per day, week, month and year from the distance and prices you enter, for a gas car, an electric car or public transit, with parking and tolls.

How to use the Commute Cost Calculator

  1. Choose how you commute: a gas car, an electric car or public transit.
  2. Enter the one-way distance in miles (you enter it; we do not look up routes) and your fuel economy and price, or your fare.
  3. Check the days per week and weeks per year. They start at 5 and 50.
  4. Optionally add parking, tolls, a maintenance cost per mile and your gross pay to see the commute as a share of it. Read the answer and "how we calculated this".

From home to work, in miles, that you enter yourself. We do not look up routes.

Default 5.

Default 50, which leaves out two weeks away. Change it to match you.

Enter the price you pay. We do not look up prices.

More options

Optional. Default 0.

Optional. Default 0.

Optional, and your own figure: we do not assume one. Default 0, which leaves maintenance out.

Optional. Shows the commute as a share of your gross pay.

One click answer

Your answer will appear here.

Fill in the form and your answer appears here as you type.

Related tools

Try another answer

An elevated train crossing between city buildings
Photo: Max Bender (CC0, via Wikimedia Commons)

How it works

The page counts commuting days (days per week x weeks per year) and the miles: the one-way distance x 2 x the days. For a gas car the fuel is miles / miles per gallon x the price you enter. This is the same fuel formula the Trip Cost Estimator uses, and the page calls that tested code rather than a second copy.

An electric car uses the energy formula of the Gas vs EV Cost Comparison: miles / miles per kWh, divided by (1 - charging loss) if you enter a loss, times your price per kWh. Public transit is your fare x 2 trips x the commuting days.

Parking and tolls are per commuting day. Maintenance is the yearly miles x the cents per mile you enter. Nothing is assumed: an empty optional field counts as zero. The yearly total is the sum of the lines (each rounded to the cent), and per day, week and month are the total divided by the commuting days, the weeks and 12.

If you enter your gross pay (yearly, monthly, weekly or hourly), the share is the yearly commute cost divided by your gross yearly pay. Monthly pay is multiplied by 12, weekly by 52 and hourly by your paid hours x 52.

Formulas and details
  • Commuting days = days per week x weeks per year. Miles a year = one-way miles x 2 x commuting days.
  • Gas = miles / MPG x price per gallon. Electric = miles / miles per kWh / (1 - charging loss) x price per kWh. Transit = fare x 2 x commuting days.
  • Maintenance = miles x cents per mile / 100. Parking and tolls = amount per day x commuting days.
  • Year = sum of the rounded lines. Day = year / commuting days; week = year / weeks per year; month = year / 12. Share of pay = year / gross yearly pay.

Assumptions

  • You enter every price and distance. The page does not look up gas prices, electricity prices, fares or routes.
  • The commute is a round trip every commuting day, from the one-way miles you enter.
  • Only what you enter is counted: car payments, insurance, depreciation and registration are left out unless you add them to parking or maintenance.
  • The share of pay is a share of gross pay before taxes and deductions, not of take-home pay.
  • Real fuel use changes with traffic, speed, weather and how you drive.

Commute Cost Calculator example

Input: 10 miles one way, 5 days a week, 50 weeks, 25 miles per gallon, $3.50 a gallon

Result: About $700.00 a year: 250 commuting days x 20 miles = 5,000 miles, 200 gallons at $3.50. That is about $58.33 a month, $14.00 a week and $2.80 for each commuting day.

Commute Cost Calculator questions

What does the cost per mile include?

The total of the lines you entered (fuel or electricity, maintenance, parking and tolls) divided by your yearly commuting miles. If you leave maintenance, parking and tolls at zero it is just the fuel cost per mile.

Why do I enter the distance myself?

The page has no routing service, and a straight-line distance would understate a drive. Use your odometer or a map for the miles you actually drive.

Can I include a monthly transit pass?

Yes. Divide the price of the pass by the one-way trips you take on it in a month and enter that as the fare.

Does this keep what I enter?

No. It is calculated in your browser and nothing is sent anywhere.

Last reviewed 2026-10-03. Report an incorrect result

Got another question?

Free, no account. Answers show how they were worked out.