Gas Cost Calculator | JavaScriptSource

Gas Cost Calculator

Allen Liu Apr 30, 2007


Do you ever wonder how much you pay for gas in a year? Use this simple gas cost calculator to find out how much you spend monthly and annually. In addition, this calculator will also compute the miles per gallon (MPG) for your vehicle.

Gas Cost Calculator

My Gas Cost


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: gasCostCalculator.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response

(1 comment)

Thanks for making the script available.[br /]It will help people budget their gas monies & budgets.

robert harrold May 8, 2007