Terms of Use: You may install this calculator on your site for free, so long my copyright info remains embedded in the code and the link back to my site is visible on the page you install the calculator on. If you would like to purchase a license for the latest commercial grade (professional) version of this calculator, please visit our Commercial Calculator Center.
Below are the instructions for installing the Miles Per Gallon Calculator on your website:
Step #1:
Select and copy the script from the following text box, then paste between the <HEAD> and </HEAD> tags of the page you are installing the calculator on.
Step #2:
Select and copy the following HTML form code, then paste in the desired location between the <BODY> and </BODY> tags of the page you are installing the calculator on.
<tr>
<td COLSPAN="8">
<font face='arial'><small>This calculator will compute your car's Miles Per Gallon and forecast
your gasoline expense for one month and for one year. It also allows you to see how much
money you would save if you were driving a car that got better gas mileage.</small></font>
</td>
</tr>
<tr>
<td align="center"><font face='tahoma,arial'><small><strong>Beginning Odometer Reading</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>Ending Odometer Reading</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong># of Gallons Pumped This Fill</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>Local Cost of One Gallon of Gas</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>Average # of Miles Driven Per Day</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>MPG</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>Gas Expense Per Month</strong></small><font></td>
<td align="center"><font face='tahoma,arial'><small><strong>Gas Expense Per Year</strong></small><font></td>
</tr>
Step #3:
Edit the form HTML to match the look and feel of your site, then save and upload the page to your server and you're done!
**Please note that we do not provide support or installation help for the free versions of our calculators. We do provide support and installation help for our professional versions.