go top


  • Colection of 65 PHP scripts for $4.29 each

Gas Mileage Calculator

Use our FREE Gas Mileage Calculator script and let your website visitors calculate how much their next trip will cost. The smart, web-based calculator will show the gas consumption and price based on litters/gallons and miles/km.

Version: 1.0 / Downloads: 2,191

Gas Mileage Calculator

Share on:


Get 65 PHP scripts in a bundle for $4.29 each!

*For a limited time only get the best deal ever on the market!

View Offer


Our FREE Gas Mileage Calculator will help you easily find out how much gas your vehicle consumes and what is the cost per distance. It is a great addition to various travel & holiday, rent-a-car and car classified ads websites.

Just enter the Distance Driven, the Gas Used and the Price of Gas in the preferred units and the script will automatically compute your Consumption and Cost per Distance in miles or kilometers.


To download Gas Mileage Calculator for FREE you need to login your account.

Share on:

How to Install

Installing our Gas Mileage Calculator free script on your website takes just a few steps:

1) Once you log into your PHPJabbers account, you can download the script.

2) Then unzip the file and upload all files into a folder on your website.

3) Open demo.html using your browser and test the script like it works on our demo.

4) To place the gas & mileage calculator form on a web page just copy the following JS code on your web page:

<script type="text/javascript" src="load.php"></script>

How to make hanges to the script:

- To change the form layout and field labels open load.php where all HTML code is placed.

- Bootstrap is used for the HTML form and CSS styles.

- JavaScript code where all calculations are made is located in js/function.js file - be careful when you make changes there!

If you need help setting up the script or changing the way it works, please use the comments form below to ask your questions.

Need a car dealer website CMS?

Auto Classifieds Script

Auto Classifieds Script

A highly customizable PHP classifieds script for online car dealerships.

  • Car Listings Manager
  • Search & Compare Functionality
  • Vendor Accounts and Paid Listings
  • Multiple Languages Module

Commercial PHP Scripts

Buy all 65 scripts in a bundle for $4.29 each. Learn more