You can get an idea of how a dynamometer works in the following way: Imagine that you turn on a car engine, put it in neutral and floor it. The engine would run so fast it would explode. That's no good, so on a dynamometer you apply a load to the floored engine and measure the load the engine can handle at different engine speeds. You might hook an engine to a dynamometer, floor it and use the dynamometer to apply enough of a load to the engine to keep it at, say, 7,000 rpm. You record how much load the engine can handle. Then you apply additional load to knock the engine speed down to 6,500 rpm and record the load there. Then you apply additional load to get it down to 6,000 rpm, and so on. You can do the same thing starting down at 500 or 1,000 rpm and working your way up. What dynamometers actually measure is torque (in pound-feet), and to convert torque to horsepower you simply multiply torque by rpm/5,252.