The term horsepower (hp) was first used as a way of comparing the power of early steam engines to that of horses.