The present invention relates to a device (1) for measuring a force, comprising: fastening means (2); and a sensor (8), comprising a measuring member (9) arranged to move along a measurement axis (10), said sensor being arranged to measure a force exerted on the measuring member depending on the movement of this measuring member, characterized in that the fastening means are arranged to exert, during a movement of the measuring member along this measurement axis, on a carrier to which they are fastened, an average force borne by the measurement axis.