A potentiometer is an instrument for measuring voltage by comparison of an unknown voltage with a known reference voltage.
The principle of a potentiometer is that the potential dropped across a segment of a wire of uniform cross-section carrying a constant current is directly proportional to its length.