Most fast dog breeds have a particular running gait, long legs and a slim body. However, the exception to the rule is the Jack Russel Terrier who can reach speeds of over 38 miles an hour.
Some dogs are a lot faster and some are a lot slower.
For any individual dog, their speed will depend on their body composition, their health and their breed.