# Speed Calculator

Speed calculator is a tool that helps you determine average speed based on distance and time. Whether it's a test drive of your brand new car, your last jogging run or bike trip, if you want to know how to find average speed this calculator will come in handy.

## How to find your average speed?

- Determine the distance.
- Determine time it took to cover it.
- Divide the distance by time to get average speed.

## Average speed formula

Average speed is measured in units of distance per time. Common units are kilometers per hour (kph), miles per hour (mph), meters per second (m/s) and feet per second (ft/s). In our calculator the default unit is kph but you can change it to any of the common units.

The average speed formula looks like this:
`average speed = total distance/elapsed time`

## Average speed vs average velocity

Speed and velocity might seem the same but they're not. Speed is a scalar quantity - it is defined by magnitude only. In simple terms it tells us how fast on object is moving. Velocity is on the other hand a vector quantity - it defined not only magnitude but also direction. It tells you the rate at which an object changes its position. Imagine you drove a car 100 meters back and forth. You would drive a certain speed in each direction but you would have zero velocity, as velocity is measured as the rate at which the position of the car changes. Therefore it is enough to say that the average speed of a car was 50 mph but when calculating velocity we would have to add direction, let's say 50 mph east. If we would like to know how fast your speed or velocity was changing we would need to calculate acceleration.