# Drive Time Calculator

There are times when you just want to calculate beforehand the travel time it takes to reach a certain destination. You have already looked up the distance from your starting point to you destination, an average driving speed estimated base on experience, now you just use this *Drive Time Calculator* to estimate your total drive time.

## How to Use The Drive Time Calculator

Looking up your destination on Google Maps (or any mapping tools) and estimating your travel time is what most technical drivers do to calculate time spent on the road. This is to prepare as well if there's a need to stop or rest.

Well, you can calculate your travel time on this calculator by just adding the *distance* and *speed* on corresponding input fields. You can also change distance and speed units on the far right side select inputs. Clicking the *compute* button would give you the results.

However, you can also use this calculator to get speed and distance. You just need to change the mode of computation, see *calculate* radio buttons atop. By clicking each radio button, input fields would change based on what you want to calculate for - time, speed, or distance.

Here's how to use this drive time calculator:

- 1. Choose a calculation mode, you have three options here - Time, Speed, and Distance. These are the radio buttons located atop the Drive Time Calculator form. Click on
*Time*for now as this logic process is applicable on the rest of the calculation modes. - 2. Enter the
*Distance*on the corresponding field. Make sure it is a number - not letters or characters. The default unit is in kilometers but you can also choose miles. We'll add other units in future updates. - 3. Add a
*Speed*on corresponding field as well. Same as the previous input, you can also choose a speed unit - kilometers per hour or miles per hour. Again, well add other convertion units in the future. - 4. Click on the
*Calculate*button and the*Time*will be displayed on the bottom of the form.

In case you want to solve for *Speed*, just change the calculation mode to *Speed* and enter the corresponding required input fields which are distance and time.

Moreover, if you want to compute for *Distance*, just change the mode to that one and enter the corresponding speed and time.

## Speed, Distance and Time Formula

These calculations are derived based on these formula:

`Time = `^{Distance} _{Speed}

`Speed = `^{Distance} _{Time}

`Distance = Speed ✖️ Distance`