Skip to content
Dilawar Hussain

Temperature converter

Convert Celsius, Fahrenheit, Kelvin, and Rankine with the correct offsets, not just a scale factor.

Browser compute / no account / no upload

Convert a temperature value between 4 units. Every result is computed through the kelvin, so the order of conversions does not change the answer.

Method

  • Temperatures are converted through kelvin, which is the base unit for this family.
  • Celsius and Fahrenheit are affine scales, so the converter uses functions rather than a single factor.
  • The table lists the fixed points of water and absolute zero for orientation.
Temperature is the one common conversion that is not a simple multiplication. Celsius and Fahrenheit are interval scales with different zero points, and Kelvin and Rankine are absolute scales. This converter applies the offsets and scale factors in the correct order.

What the units measure

Kelvin is the SI base unit of thermodynamic temperature. Celsius is shifted from Kelvin by 273.15, so 0 °C equals 273.15 K. Fahrenheit uses a different increment and a different zero, and Rankine is the absolute version of the Fahrenheit scale.

How the conversion works

Every temperature is first converted to kelvin, then converted to the target unit. That two-step path avoids the sign and offset errors that appear when formulas are rearranged by hand.
Temperature relationships. The offsets make temperature different from the other unit families.
UnitSymbolRelationship to K
Degree Celsius°CK = °C + 273.15
Degree Fahrenheit°FK = (°F − 32) × 5/9 + 273.15
KelvinKBase unit
Degree Rankine°RK = °R × 5/9

Worked example

Example 1

Fahrenheit to Celsius and Kelvin

Problem

A room is held at 72.0 °F. What is that temperature in Celsius and kelvin?

Solution

  1. Subtract 32: .

  2. Multiply by 5/9: °C.

  3. Add 273.15: K.

Answer

22.22 °C, or 295.37 K

Source: Exact Celsius and Kelvin definitions.
Fixed points on the four scales.
Reference°C°FK°R
Absolute zero-273.15-459.6700
Water freezes032273.15491.67
Water boils at 1 atm100212373.15671.67

Common mistakes

  • Multiplying Celsius by a factor without adding or subtracting 273.15 when converting to kelvin.
  • Applying the Fahrenheit offset in the wrong direction. Subtract 32 before multiplying by 5/9.
  • Writing a negative kelvin value. Absolute zero is 0 K, and ordinary physical temperatures cannot go below it.
  • Using 273 instead of 273.15 when the precision of the data supports the extra digits.
  • Treating a temperature difference like a temperature. A difference of 1 °C equals a difference of 1 K, but a difference of 1 °F equals 5/9 K.

Precision and significant figures

The Celsius to kelvin offset is exact by definition, and the Fahrenheit scale is defined through the Celsius scale. The conversion itself introduces no rounding beyond floating point. Report the result to the precision of the original measurement.

Key takeaways

  • Every temperature value is converted through the kelvin.
  • The result table shows the same quantity in all supported units, so you can check the conversion against a familiar value.
  • Exact definitions carry no uncertainty; the measured input determines how many digits are meaningful.