Tool: Gas Mileage Calculator

Is my car a gas guzzling machine? This is a question boggling our brains these days as fuel prices reach all-time highs.

To help go the distance and answer this gassing question, I’ve created the Gas Mileage Calculator to help determine the gas consumption of your vehicle.

My hope is you will save money on gas by knowing your car’s gas mileage and consequently working towards becoming more efficient.

Use the Gas Mileage Calculator to determine:

  • Gas mileage in Miles per Gallon (USA).
  • Gas consumption in Litres per 100km (Canadian).
  • Cost per distance.

To use the Gas Mileage Calculator:

  1. Open the Gas Mileage Calculator.
  2. Under Distance Driven, enter how far you drove on a tank of gas. From the drop-down list, select distance in Miles or km.
  3. Under Gas Used, enter the quantity of fuel consumed. From the drop-down list, select Gallons or Litres as your preferred unit of measure.
  4. Under Price of Gas, enter the price you paid for gas. From the drop-down list, select $ per Gallon or $ per Litre.
  5. Click Calculate. The Results display the Gas Mileage and Cost per Distance in both USA and Canadian measures.

Example Data:

Do the results surprise you? Do let me know what you think!

Your two cents:

  1. Marci July 2nd, 2008

    Well, I do have to admit that it’s faster than doing it on
    the back of the gas receipt in the car driving down the road
    like I usually do 🙂

    But your figures matched mine – so I guess we
    both got it right! 🙂

  2. Kerry July 2nd, 2008

    @Marci Yay! Thank you for giving it a try! I usually write the mileage on my gas receipt and then deal with the math at home. 🙂

  3. Katie July 2nd, 2008

    how do I know how many gallons I used? I’ve never done this and am not sure waht # to put in this section, can you help?

  4. Kerry July 2nd, 2008

    @Katie Great question! I’m so happy you asked. I usually look on the gas pump or on my receipt to get the number of gallons (or litres) I pumped into the tank. I then either write down this number or keep my receipt to do the math at home.

  5. Potato July 3rd, 2008

    I usually write down my trip mileage (and reset the trip meter) each time I fill up, and enter the distance and fuel use data into the database at This is nicer for having metric units, and the cost of gas, but I like the signature with my average mileage too 🙂

  6. Sara July 4th, 2008

    I have a spreadsheet where I enter the information and it calculates my gas mileage and cost per mile for the tank of gas, as well as my cumulative gas mileage and cost per mile for the whole year!

  7. Mrs. Micah July 5th, 2008

    Awesome. 🙂 I think it’s so cool that you’re creating these tools. Something I’m looking forward to doing when I learn more.

  8. Kerry July 5th, 2008

    @Sara Your spreedsheet sounds wonderful. Are you shocked when you see the cumulative cost per mile?

    @Mrs.Micah I’m so happy you likey! These tools are lots of work, to be honest. I mostly build them out of interest in learning new technology, to solve a problem I have, and to share the results with others. It’s kinda fun when it’s done.

  9. Brian Ormerod February 28th, 2009

    Fox, The mileage calculator is flawed. It will not reset, and did not calculate when I was able to enter gasoline and mileage data. Hope you can get it working again

  10. Kerry February 28th, 2009

    @Brian Thank you for letting me know about this error. I’ve gone and fixed the flaw! 😀 Enjoy!

  11. ken klaver October 23rd, 2009

    could we make a portable calculator for in the vehicle that just calculates gas mileage. i think it would sell in stores and would be great for people travelling.

  12. Brian Schuppert July 27th, 2011

    Kerry,…nice program. Under the gas used option could you add Imperial gallons as well for us Canadians? Cheers!

Leave a reply:

Your email address will not be published. Required fields are marked with a "*".



Technorati Profile