Skip to content
GasBudgeter logo
$4.27/gal

Commute Cost Calculator

🏠
miles
🚗
MPG
⛽
/gal
📅

Days / Week

How to Use This Calculator

  1. 1

    Enter round trip miles

    Count the drive to work and back. An office 10 miles away is a 20 mile round trip; entering 10 halves every result.

  2. 2

    Use the MPG you get on this drive

    If the commute is mostly stop and go, your city MPG is closer than the highway figure. Your own number from the Mileage (MPG) Calculator is better still.

  3. 3

    Set days per week and check the price

    Fewer days scale the month and year down: 3 days a week counts 13 days a month and 150 a year. The gas price box starts at a current average; type over it with what you pay.

Formula and Logic

Every result comes from one daily figure. The examples under each step use a 40 mile round trip in a 20 MPG car at an example price of $4.00 a gallon.

Step 1: Fuel used per day

Round trip miles ÷ MPG = gallons per day

Example: 40 miles ÷ 20 MPG = 2 gallons per day

Step 2: Daily fuel cost

Gallons per day × Gas price = daily cost

Example: 2 gallons × $4.00/gal = $8.00/day

Step 3: Extended over time

Weekly = daily × days/week · Monthly = daily × 21 · Yearly = daily × 250

Example: $8.00 × 5 = $40.00/week · $8.00 × 21 = $168.00/month · $8.00 × 250 = $2,000.00/year

The 21 and 250 are for a five day week. For fewer days both scale down: days per week ÷ 5 × 21, rounded, for the month and days per week × 50 for the year.

Example Calculations

Example 1: Five day office commute

Inputs

  • Round trip miles30
  • Vehicle MPG30
  • Gas price$4.00
  • Days per week5

Outputs

  • Daily cost$4.00
  • Weekly cost$20.00
  • Monthly cost$84.00 (21 workdays)
  • Yearly cost$1,000.00 (250 workdays)

One gallon a day at $4.00 adds up to $1,000 over 250 workdays.

Example 2: Longer suburban commute

Inputs

  • Round trip miles50
  • Vehicle MPG25
  • Gas price$4.25
  • Days per week5

Outputs

  • Daily cost$8.50
  • Weekly cost$42.50
  • Monthly cost$178.50 (21 workdays)
  • Yearly cost$2,125.00 (250 workdays)

Two gallons a day is 500 gallons over 250 workdays, so every 10 cents on the gas price adds $50 a year.

Example 3: Hybrid schedule, 3 days a week

Inputs

  • Round trip miles24
  • Vehicle MPG32
  • Gas price$3.90
  • Days per week3

Outputs

  • Daily cost~$2.93
  • Weekly cost~$8.78
  • Monthly cost~$38.03 (13 commute days)
  • Yearly cost$438.75 (150 commute days)

24 ÷ 32 = 0.75 gallons a day, × $3.90 = $2.925. Driving the same route five days a week would cost about $731 a year (250 × $2.925).

Comparing Two Jobs or Two Homes

Round trip distance drives the whole result. A job 8 miles away is a 16 mile round trip; one 22 miles away is 44 miles. Over 250 workdays that is 7,000 extra miles a year. In a 28 MPG car at an example price of $3.80 a gallon, the farther job costs about $950 more a year in fuel alone (7,000 ÷ 28 = 250 gallons, × $3.80 = $950).

Run both options through the calculator with your own MPG and local price, then weigh the gap against the difference in salary or rent. If a result looks too high, check that you entered the round trip distance and not double it; if it looks too low, check that your MPG reflects stop and go driving rather than the highway figure.

Frequently Asked Questions

Should I enter one way or round trip miles?
Round trip. The calculator treats the miles you enter as one full day of driving, so an office 15 miles away is 30 miles. Entering 15 halves every result: in a 30 MPG car at an example price of $3.50, 30 miles costs $3.50 a day and $875 over 250 workdays, while 15 miles would show $1.75 and $437.50.
How does the calculator count workdays in a month and a year?
A five day week counts 21 workdays a month and 250 a year. For fewer days both scale down: days per week ÷ 5 × 21, rounded, for the month and days per week × 50 for the year. That gives 17 and 200 days at four days a week, 13 and 150 at three, 8 and 100 at two, and 4 and 50 at one. Real months have 20 to 23 weekdays, so a single month can come in slightly above or below the estimate.
How much does working from home two days a week save?
Going from five commute days to three cuts the year from 250 driving days to 150. For a 40 mile round trip in a 25 MPG car at an example price of $3.50, that is 1.6 gallons and $5.60 a day, so the yearly fuel cost falls from $1,400 to $840, a saving of $560.
How do I compare two cars on the same commute?
Run the calculator once per car with the same miles and price. A 50 mile round trip over 250 workdays is 12,500 miles a year. At 25 MPG that takes 500 gallons, and at 40 MPG it takes 312.5. At an example price of $3.50 that is $1,750 against about $1,094, so the 40 MPG car saves about $656 a year on this commute.
Which gas price should I enter?
The box is filled in with a current average price; type over it with what you pay locally. The price moves the result in proportion to the gallons you burn: a 30 mile round trip at 25 MPG uses 1.2 gallons a day, or 300 gallons over 250 workdays, so every 10 cents a gallon changes the yearly cost by $30.
Does the result include tolls, parking or car maintenance?
No. The result is fuel only: round trip miles ÷ MPG × gas price, times your commute days. Add other costs yourself: $6 a day of parking, for example, adds $1,500 over 250 workdays. The Cost Per Mile Calculator lets you add maintenance and insurance per mile.
Can I deduct my commute at the IRS mileage rate?
No. The IRS treats driving between your home and your regular workplace as personal commuting, so those miles do not qualify for the 2026 business rate ($0.725 a mile for January to June, $0.76 from July 1). Driving from one work location to another during the day is a different case and can count as business mileage.

Related Tools