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:
- Open the Gas Mileage Calculator.
- Under Distance Driven, enter how far you drove on a tank of gas. From the drop-down list, select distance in Miles or km.
- Under Gas Used, enter the quantity of fuel consumed. From the drop-down list, select Gallons or Litres as your preferred unit of measure.
- Under Price of Gas, enter the price you paid for gas. From the drop-down list, select $ per Gallon or $ per Litre.
- 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!
If you enjoyed this article and would like more, enter your email address in the box below. Articles from Squawkfox.com will be sent to your email inbox for free. Your email will not be shared. You can unsubscribe at any time.
Plus, you'll get this free 92-page ebook.



















Your two cents:
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!
@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.
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?
@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.
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 Greenhybrid.com. This is nicer for having metric units, and the cost of gas, but I like the signature with my average mileage too
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!
Awesome.
I think it’s so cool that you’re creating these tools. Something I’m looking forward to doing when I learn more.
@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.
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
@Brian Thank you for letting me know about this error. I’ve gone and fixed the flaw!
Enjoy!
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.
Kerry,…nice program. Under the gas used option could you add Imperial gallons as well for us Canadians? Cheers!