Gas Mileage Calculator

The oil prices are raising all the time, so it's wise to know how much will your next trip cost you before you start it.

This is a free gas mileage calculator script. If you are a webmaster you can download it as PHP script and install it on your site very easy.

Note for visitors: If you just want to check the cost of your trip you don't need to download and install it. Just use it right here at this page. The downloadable version is for webmasters who want to show the calculator on their site.

See how the calculator looks and works below:

How Much Will Your Trip Cost?

Use the free gas mileage calculator below:

Calculate trip cost:


How much can I travel:

time difference calculator

Questions & Comments

The above calculator is fully functional, so if you wish to calculate the cost of your trip, go ahead. The instructions below are for webmasters which want to use this calculator on their websites for free.


GasCalc is now available as mobile app accessible from any smartphone. Click here to visit the mobile version. The app is built with Sencha Touch.

How To Install The Gas Mileage Calculator On Your Site

Once downloaded the above script, unzip it and upload it somewhere in your web host. It's just one single PHP file so all you need to do is to upload it. Then put the following PHP code in your web page:

<?php require("gas-calc.php"); ?>

That's all! Note that if you put the calculator in a folder, you need to give the relative path to it.


Gas Mileage Calculator - Joomla!™ Module

This calculator is also available as Joomla! module. Use the link below to download it:

Download The Joomla! Module Here (.zip, 4KB)

This Calculator as Google Chrome Extension

Using Google Chrome? Cool, it's a great browser. Mow you can install the calculator as a Chrome extension:

This script is completely free and you can do everything you want in it. There are no obligations at all. There is a link to this page at the bottom, but if you wish to remove it, that's ok (We will appreciate if you leave it there though).

Back to top

Contact | About Us | Affiliates | Privacy & Legal | Terms of use | Support policy

Designed by Dani Velkova