Distance is defined as how far it is from one position to another, while speed is defined as the distance an object travels over a certain period of time. Speed can be calculated by dividing the total distance by the time it took to travel that distance.