A semiconductor device comprising: a temperature sensor module configured to output a non-linear digital value with respect to temperature and a substantially linear sensor voltage value with respect to the temperature; a storage unit configured to store the temperature, the digital value, and the sensor voltage value; and a controller configured to calculate characteristic formulae using the temperature, the digital value, and the sensor voltage value stored in the storage unit, wherein the temperature, the digital value, and the sensor voltage value stored in the storage unit include absolute temperature under measurement of absolute temperature, the digital value at the absolute temperature, and the sensor voltage value at the absolute temperature, characterized in that the absolute temperature includes a first temperature and a second temperature higher than the first temperature, the digital value includes a first digital value at the first temperature and a second digital value at the second temperature, and the storage unit further comprises: a third temperature that is higher than the first temperature and is lower than the second temperature; and a third digital value at the third temperature, wherein the first temperature is lower than a desired room temperature, the second temperature is higher than the room temperature, the storage unit comprises, as the sensor voltage value under measurement of the absolute temperature, a first sensor voltage value at the first temperature and a second sensor voltage value at the second temperature, the storage unit further comprises, as the sensor voltage value, a third sensor voltage value output from the temperature sensor module at the room temperature, the third digital value is output from the temperature sensor module together with the third sensor voltage value at the room temperature, and the third temperature is calculated by substituting the third sensor voltage value into a substantially linear sensor characteristic formula calculated by the controller using the first temperature, the second temperature, the first sensor voltage value, and the second sensor voltage value, the third temperature being specified as the room temperature. a temperature sensor module configured to output a non-linear digital value with respect to temperature and a substantially linear sensor voltage value with respect to the temperature; a storage unit configured to store the temperature, the digital value, and the sensor voltage value; and a controller configured to calculate characteristic formulae using the temperature, the digital value, and the sensor voltage value stored in the storage unit, wherein the temperature, the digital value, and the sensor voltage value stored in the storage unit include absolute temperature under measurement of absolute temperature, the digital value at the absolute temperature, and the sensor voltage value at the absolute temperature, characterized in that the absolute temperature includes a first temperature and a second temperature higher than the first temperature, the digital value includes a first digital value at the first temperature and a second digital value at the second temperature, and the storage unit further comprises: a third temperature that is higher than the first temperature and is lower than the second temperature; and a third digital value at the third temperature, a third temperature that is higher than the first temperature and is lower than the second temperature; and a third digital value at the third temperature, wherein the first temperature is lower than a desired room temperature, the second temperature is higher than the room temperature, the storage unit comprises, as the sensor voltage value under measurement of the absolute temperature, a first sensor voltage value at the first temperature and a second sensor voltage value at the second temperature, the storage unit further comprises, as the sensor voltage value, a third sensor voltage value output from the temperature sensor module at the room temperature, the third digital value is output from the temperature sensor module together with the third sensor voltage value at the room temperature, and the third temperature is calculated by substituting the third sensor voltage value into a substantially linear sensor characteristic formula calculated by the controller using the first temperature, the second temperature, the first sensor voltage value, and the second sensor voltage value, the third temperature being specified as the room temperature.