A centrifuge comprising: a rotor ; a driving source that rotates the rotor ; a rotating shaft that links the rotor with the driving source ; an acceleration sensor that outputs a value indicating acceleration in at least two different directions which are orthogonal to an axial direction of the rotating shaft ; and a control unit that obtains a displacement conversion value corresponding to a value, the value being obtained by dividing a value which is proportional to acceleration based on a value indicating acceleration and outputted by the acceleration sensor , by a value which is proportional to a square of an angular velocity of the rotor , and that stops rotation of the rotor when the displacement conversion value satisfies a displacement determination criterion which is predetermined and indicates that displacement is large, wherein a range of a value that corresponds to an angular velocity at which displacement of the rotating shaft of the rotor increases due to resonance is defined to be a resonance range, the control unit obtains a displacement conversion value when a value corresponding to an angular velocity of the rotor is in a predetermined range of a value corresponding to an angular velocity, the range being below the resonance range, so as to confirm whether the displacement conversion value satisfies the displacement determination criterion, and a case of a displacement conversion value, the displacement conversion value being smaller than a maximum value of a displacement conversion value in the resonance range in allowable maximum imbalance, is included in a range satisfying the displacement determination criterion. a rotor ; a driving source that rotates the rotor ; a rotating shaft that links the rotor with the driving source ; an acceleration sensor that outputs a value indicating acceleration in at least two different directions which are orthogonal to an axial direction of the rotating shaft ; and a control unit that obtains a displacement conversion value corresponding to a value, the value being obtained by dividing a value which is proportional to acceleration based on a value indicating acceleration and outputted by the acceleration sensor , by a value which is proportional to a square of an angular velocity of the rotor , and that stops rotation of the rotor when the displacement conversion value satisfies a displacement determination criterion which is predetermined and indicates that displacement is large, wherein a range of a value that corresponds to an angular velocity at which displacement of the rotating shaft of the rotor increases due to resonance is defined to be a resonance range, the control unit obtains a displacement conversion value when a value corresponding to an angular velocity of the rotor is in a predetermined range of a value corresponding to an angular velocity, the range being below the resonance range, so as to confirm whether the displacement conversion value satisfies the displacement determination criterion, and a case of a displacement conversion value, the displacement conversion value being smaller than a maximum value of a displacement conversion value in the resonance range in allowable maximum imbalance, is included in a range satisfying the displacement determination criterion. <EOS>