A temperature measuring method capable of switching calculation based on displacement detection includes a temperature measuring instrument and a displacement detecting unit. When the displacement detecting unit feeds back that the temperature measuring instrument is under an inactive state, a point calculation formula A is used to calculate and obtain a body temperature value. When the displacement detecting unit feeds back that the temperature measuring instrument is under an active state, a scanning calculation formula B is used to calculate and obtain the body temperature value.