# Temperature Units

There are two closely related UnitDimensions related to temperature in the Wolfram System: absolute temperature units and temperature difference units.

### Absolute Temperature versus Temperature Difference

Quantity expressions that have UnitDimensions with "TemperatureUnit" represent an absolute temperature, while those with dimensions of "TemperatureDifferenceUnit" represent the difference between absolute temperatures. It is important to know that the two are related, but not directly interchangeable.

Unit conversion and multiplication are non-commutative operations for absolute temperatures, which means conversion and then multiplication will not necessarily result in the same result as multiplication and then conversion. Here is an example.

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=
Temperature difference units, however, can be freely multiplied and converted.
 In[3]:=
 Out[3]=
 In[4]:=
 Out[4]=

### Adding Temperatures

Plus will operate on the sum of temperature units and temperature difference units, and on the sum of temperature difference units, but not always on the sum of just temperature units.

Calculate the sum of an absolute temperature and a temperature difference.
 In[5]:=
 Out[5]=
Calculate the sum of two temperature differences.
 In[6]:=
 Out[6]=
A sum cannot generally be calculated for two different absolute temperatures.
 In[7]:=
 Out[7]=
However, the sum of two measures of absolute temperature, with the same unit, can be calculated.
 In[8]:=
 Out[8]=
A sum can also be calculated for two different absolute temperatures, if both are SI measures (i.e. have a base of kelvins).
 In[9]:=
 Out[9]=

## Multiplying Temperatures

Multiplication and unit conversions are non-commutative for absolute temperatures.

 In[10]:=
 Out[10]=
 In[11]:=
 Out[11]=

Because of this non-commutative trait, multiplication of different absolute temperatures may not evaluate.

 In[12]:=
 Out[12]=

When working with absolute temperatures, it is imperative to first standardize the units, to allow for proper unit conversions.

 In[13]:=
 Out[13]=
The single-argument form of UnitConvert will convert any temperature to kelvins.
 In[14]:=
 In[15]:=
 Out[15]=
 In[16]:=
 Out[16]=