Practice problems for speed and velocity. The formula for speed is distance / time = speed Velocity is calculated in the same way but you need to include the direction when you are asked for a velocity. There are three types of speed math problem. Solve for speed. solve for distance and solve for time.