Average speed is calculated by dividing the total distance covered by the total time taken.