A method for operating an elevator (1) having a car (4) driven by a motor (12) and at least one brake (14;16) to stop the car (4), the method comprising the steps of closing a brake (S3), increasing a torque of the motor until the car moves (S4) and registering a value (M b ) indicative of the motor torque at which the car (4) moves (S6).