A method of calibration of a mathematical model of a measuring machine for the compensation of errors due to dynamic deformation, comprising: a mobile unit for moving a stylus probe in a measuring volume, the mobile unit comprising at least one member (8; 12; 42; 56) movable along an axis under the driving force of drive means, the probe comprising a stylus equipped with a tip, and a sensor configured to detect in real-time at least one quantity (mx, my) correlated with dynamic deformation of said mobile unit, wherein the model provides, in response to at least one input quantity correlated with a control signal of said drive means, a plurality of output quantities comprising at least one component of the measurement error introduced by said deformation and at least said quantity detected by said sensor, the method of calibration comprising the steps of: controlling said mobile unit to perform a movement cycle able to generate dynamic deformation; collecting a plurality of samples of the input quantity and the output quantities during the movement cycle; storing said samples; and supplying said samples to an identification algorithm to define said model, characterized in that said movement cycle comprises oscillations of variable frequencies and is performed keeping a tip of the stylus of the probe fixed, with a law of motion having an amplitude of less than the displacement range of the tip of the stylus with respect to retaining flange of said probe and a frequency spectrum representative of the dynamic conditions of use of the machine. a mobile unit for moving a stylus probe in a measuring volume, the mobile unit comprising at least one member (8; 12; 42; 56) movable along an axis under the driving force of drive means, the probe comprising a stylus equipped with a tip, and a sensor configured to detect in real-time at least one quantity (mx, my) correlated with dynamic deformation of said mobile unit, wherein the model provides, in response to at least one input quantity correlated with a control signal of said drive means, a plurality of output quantities comprising at least one component of the measurement error introduced by said deformation and at least said quantity detected by said sensor, the method of calibration comprising the steps of: controlling said mobile unit to perform a movement cycle able to generate dynamic deformation; collecting a plurality of samples of the input quantity and the output quantities during the movement cycle; storing said samples; and supplying said samples to an identification algorithm to define said model, characterized in that said movement cycle comprises oscillations of variable frequencies and is performed keeping a tip of the stylus of the probe fixed, with a law of motion having an amplitude of less than the displacement range of the tip of the stylus with respect to retaining flange of said probe and a frequency spectrum representative of the dynamic conditions of use of the machine. controlling said mobile unit to perform a movement cycle able to generate dynamic deformation; collecting a plurality of samples of the input quantity and the output quantities during the movement cycle; storing said samples; and supplying said samples to an identification algorithm to define said model, characterized in that said movement cycle comprises oscillations of variable frequencies and is performed keeping a tip of the stylus of the probe fixed, with a law of motion having an amplitude of less than the displacement range of the tip of the stylus with respect to retaining flange of said probe and a frequency spectrum representative of the dynamic conditions of use of the machine.