This calculator requires the use of Javascript enabled and capable browsers. This script is actually 2 independent calculators to give critical fuel (gas or diesel) cost calculations. The first is a comparison between 2 different vehicles over a period of time and the second is an annual figure based on driving style. The defaults are adjustable. If you do not wish to compare a second vehicle in the first calculator, remove the Vehicle 2 Average Miles Per Gallon (by just clicking in the field) and leave it blank. It is also possible to compare gas vehicles to diesel vehicles by a different cost per gallon of fuel. Anticipated Miles Driven and Planned Ownership Years are assumed the same. All entries are numeric. Click on Calculate when your entries are correct for you.