A voltmeter is a device that measures the difference in electrical potential between two locations in an electric circuit.