A shear pin for calibrating an industrial robot, the shear pin including an elongated body including a weakening defining a break location in case of overload. The shear pin is configured to be mounted to a calibration pin holder on the robot. A maximum force that the calibration pin can exert on the robot during calibration can be easily limited by dimensioning the weakening appropriately.