As you can see, to work out your speed in km/h or mph just apply the speed formula with the relevant units for distance and time. This is how to calculate average speed of a car, bike, boat, or any other vehicle or object.