Temperature Converter

Convert between Celsius, Fahrenheit, and Kelvin with reference points and conversion formulas

Try these examples:

Temperature Converter

Temperature is a measure of the average kinetic energy of particles in a substance. Three major scales are used worldwide, each with a fascinating origin story.

Pick a Temperature

Drag to set the temperature in Celsius: 20

Temperature Zone

Extreme coldBelow freezingCoolWarmHotExtreme heat20-2731,000
20

The current temperature is between the freezing and boiling points of water.

The Three Scales

Celsius (1742): Anders Celsius originally defined 0 as the boiling point and 100 as the freezing point of water. The scale was later inverted by Carl Linnaeus. Today it is the most widely used temperature scale globally.

Fahrenheit (1724): Daniel Gabriel Fahrenheit set 0 at the temperature of a brine solution (the coldest he could reliably reproduce), 32 at the freezing point of water, and 96 at human body temperature (later refined to 98.6). It remains the standard in the United States.

Kelvin (1848): William Thomson (Lord Kelvin) proposed an absolute scale starting at the theoretical lowest temperature. Zero kelvin (0 K0\,\text{K}) is where all thermal motion ceases.

Conversion Results

At 20 degrees Celsius, the equivalent readings are 68 degrees Fahrenheit and 293.15 Kelvin.

The fundamental conversion formulas are:

∘F=(∘C×95)+32^\circ F = \left(^\circ C \times \frac{9}{5}\right) + 32 ∘C=(∘F−32)×59^\circ C = \left(^\circ F - 32\right) \times \frac{5}{9} K=∘C+273.15K = {^\circ C} + 273.15

A remarkable fact: -40 is the only temperature that reads the same on both Celsius and Fahrenheit scales. Drag 20 to −40-40 to verify it.

Common Reference Points

DescriptionCelsiusFahrenheitKelvin
Absolute zero-273.15-459.670
Water freezes032273.15
Room temperature2068293.15
Body temperature3798.6310.15
Water boils100212373.15

Try setting 20 to each reference point above and follow the two dots in the chart below. Each conversion is a straight line against Celsius. The Fahrenheit line is steeper, climbing 1.8 degrees for every Celsius degree, and it passes through 32 at the freezing point. The Kelvin line climbs one for one, so a Kelvin degree is the same size as a Celsius degree, but it sits 273.15 higher. The dashed line marks readings equal to the Celsius number: the Fahrenheit line crosses it only at -40, and both lines end at absolute zero, -273.15 °C.

Each Scale as a Line Against Celsius

Water freezesWater boils-40 °C = -40 °F-500501001500200400Celsius (°C)Reading on the other scale°F = 1.8 × °C + 32K = °C + 273.15Same number as °C

Try it in Code

# Temperature Converter
celsius = 20

fahrenheit = celsius * 9 / 5 + 32
kelvin = celsius + 273.15

print(f"{celsius} C = {fahrenheit:.2f} F = {kelvin:.2f} K")

What to explore next

You might also like