Original: It works by Hooke's Law, which states that the force needed to extend a spring is proportional to the distance that spring is extended from its rest position.
Simplified: Weighing scale