An electric-operated valve comprising: a valve body including a valve seat; a rotor rotatable with respect to the valve body; a stator constituting a stepping motor together with the rotor; a valve member that faces the valve seat and that is pushed toward the valve seat via a coil spring when the rotor rotates in a closing direction; a stopper that, when the rotor is at a rotation limit position (Rx) where the rotor is further rotated in the closing direction from a valve closing position (Rc) where the valve member is in contact with the valve seat, limits rotation of the rotor in the closing direction; and a control unit, wherein the control unit is configured to (i) input a pulse to the stepping motor to rotate the rotor in the closing direction with a first torque, (ii) upon detecting step-out of the stepping motor when rotating the rotor with the first torque (hereinafter referred to as "first step-out detection"), input the pulse to the stepping motor to rotate the rotor in the closing direction with a second torque, and (iii) upon detecting step-out of the stepping motor when rotating the rotor with the second torque (hereinafter referred to as "second step-out detection"), obtain the number of pulses (a pulse number) (Nj) input between the first step-out detection and the second step-out detection, wherein the first torque is a torque of a magnitude incapable of rotating the rotor in the closing direction to the rotation limit position (Rx), with the valve member in contact with the valve seat, and wherein the second torque is a torque of a magnitude capable of rotating the rotor in the closing direction to the rotation limit position (Rx) while compressing the coil spring, with the valve member in contact with the valve seat. a valve body including a valve seat; a rotor rotatable with respect to the valve body; a stator constituting a stepping motor together with the rotor; a valve member that faces the valve seat and that is pushed toward the valve seat via a coil spring when the rotor rotates in a closing direction; a stopper that, when the rotor is at a rotation limit position (Rx) where the rotor is further rotated in the closing direction from a valve closing position (Rc) where the valve member is in contact with the valve seat, limits rotation of the rotor in the closing direction; and a control unit, wherein the control unit is configured to (i) input a pulse to the stepping motor to rotate the rotor in the closing direction with a first torque, (ii) upon detecting step-out of the stepping motor when rotating the rotor with the first torque (hereinafter referred to as "first step-out detection"), input the pulse to the stepping motor to rotate the rotor in the closing direction with a second torque, and (iii) upon detecting step-out of the stepping motor when rotating the rotor with the second torque (hereinafter referred to as "second step-out detection"), obtain the number of pulses (a pulse number) (Nj) input between the first step-out detection and the second step-out detection, (i) input a pulse to the stepping motor to rotate the rotor in the closing direction with a first torque, (ii) upon detecting step-out of the stepping motor when rotating the rotor with the first torque (hereinafter referred to as "first step-out detection"), input the pulse to the stepping motor to rotate the rotor in the closing direction with a second torque, and (iii) upon detecting step-out of the stepping motor when rotating the rotor with the second torque (hereinafter referred to as "second step-out detection"), obtain the number of pulses (a pulse number) (Nj) input between the first step-out detection and the second step-out detection, wherein the first torque is a torque of a magnitude incapable of rotating the rotor in the closing direction to the rotation limit position (Rx), with the valve member in contact with the valve seat, and wherein the second torque is a torque of a magnitude capable of rotating the rotor in the closing direction to the rotation limit position (Rx) while compressing the coil spring, with the valve member in contact with the valve seat.