Method and source check
Last checked:
Editorial check of method and sources; this is not professional review or advice.
Method
Every input is converted to kelvin as a common base, then converted from kelvin to the selected output scale. Celsius, Fahrenheit, kelvin, and Rankine relationships use the exact offsets and scale ratios listed by NIST.
°C = (°F − 32) / 1.8
K = °C + 273.15
°R = K × 1.8
Variables and units
- °C
- degrees Celsius
- °F
- degrees Fahrenheit
- K / °R
- kelvin / degrees Rankine
Worked example
68 °F converts to 20 °C, 293.15 K, and 527.67 °R.
Limitations
The selected output and all four reference-scale values are rounded to at most two decimal places. The input value remains unchanged, and the result card does not pad trailing zeros.
- Values below absolute zero are rejected for the selected input scale. Displayed results are rounded to two decimal places.
- Input 68 °F with Celsius selected returns 20 °C; the reference values are 68 °F, 20 °C, 293.15 K, and 527.67 °R.
- Input 0 °C with Fahrenheit selected returns 32 °F, with 273.15 K and 491.67 °R among the reference values.
- Input −273.16 °C fails validation because it is below absolute zero; −273.15 °C is accepted.