**Simple units conversion**

Unit conversion are simple (in most cases): Converting a quantity, say length, from one unit (e.g. inches) to another (e.g. meters) involves multiplying the quantity by a factor (namely 0.0254).

This is very convenient because the following calculations can be done without any ambiguity:

Why am I even writing about this? This stuff is trivial.

**A paradox with temperature units**

Well, when it comes to temperature, things get a bit tricky. Consider a set of similar equations involving temperatures in degrees Kelvin and Celsius. Define

The result of subtracting the two will depend on interpretation of what these quantities mean.

For example, if TÂ

_{1}represents the air temperature of 0Â°C, T:=T_{1}-TÂ_{2}, would indicate the result of temperature change by 10Â°C, yielding air temperature of -10Â°C. Expressing this temperature in different units will yield 263.15K, 14Â°F, etc.If we look at the equation Î”T:=TÂ

_{1}-T_{2}, and interpret it to mean the temperature difference of air (at the temperature of 0Â°C) and a heating element (at temperature of 10Â°C).The temperature differential would then be -10Â°C. Expressing this quantity in other units will yield -10K, -18Â°F, etc.

Something is not adding up here! We assigned the same values to TÂ

_{1}and T_{2}here, and got different results for the difference TÂ_{1}-T_{2}when expressed in K, Â°F, etc.The apparent paradox lies in the fact that there are two different conversions between degrees Kelvin and degrees Celsius or Fahrenheit depending whether we are referring to a temperature of an object or a substance or a temperature difference.

When converting from Â°C to K, if we interpret a quantity as a temperature of an object or a substance we use conversion K = Â°C + 273.15. However, if the quantity represents a temperature difference, the conversion factor is 1. Thus in K, the above equations would look like:

In the first example, and the second example would look like:

**Is there a problem?**

Before I go into how to resolve the ambiguity in temperature conversions, is this a problem? Usually not if doing calculations by hand or using only degrees Kelvin. However, if one wants to use a calculation tool to do such calculations and automatic conversions, the tool needs to know what the author had in mind. This is useful to automate the process of conversion enabling the author to display results in desired units, or to catch the possible errors.

When communicating with engineers in different countries, it important to enable conversions to unit system that is most commonly used. This makes documents easier to read. The units should always be explicit, i.e. never say temperature is 10, as this is guaranteed to cause errors.

**Resolving the ambiguity**

If we look at closely at the examples above, the hints to interpret T

_{1}, TÂ_{2}and the result were subtle. In one case, I used**to name the result, implying it is a temperature of an object or matter. And in the other I used***T***to hint that the result was a temperature difference. Thatâ€™s too subtle and it would not work in situations like T+(TÂ***Î”T*_{1}-T_{2}).**Algebra of temperatures and temperature differences**

One approach comes from an observation that it (almost â€“ see below) never makes sense to add two temperatures together. Using

**for temperature and***T***for temperature difference, we can derive the following simple algebra:***Î”T***+**

*TÂ*_{1}**yields**

*T*_{2}*an error*

**–**

*TÂ*_{1}**yields**

*T*_{2}

*Î”T***+**

*Î”TÂ*_{1}**yields**

*T*_{2}

*T***–**

*Î”TÂ*_{1}**yields**

*T*_{2}*an error*

**+/-**

*TÂ*_{1}**yields**

*Î”T*_{2}

*T***+/-**

*Î”TÂ*_{1}**yields**

*Î”T*_{2}

*Î”T*Such system would still require declaring some of the quantities as either a temperature or temperature difference, but would help catch mistakes. It also has a drawback in not allowing temperatures to be added in computing an intermediate result such as average temperature.

**A new unit for temperature difference**

Alternative approach takes directly from the difference in converting from degrees Celsius to Kelvin when talking about a temperature and a temperature difference. Specifically, one can define two units:

Â°C â€“ for the temperature in degrees Celsius, and

Î”Â°C â€“ for the temperature difference in degrees Celsius

Thus we can define T

_{2}as either:Note that, for degrees Kelvin, such distinction is not necessary. With this system we can disambiguate the example above:

Assuming that T

_{2}is a temperature difference,And assuming T

_{2}is a temperature,This solves the problem, but has a downside: an engineer using a calculation tool, must now be careful and specific in specifying different units for temperatures and temperature differences â€“ something that we donâ€™t normally worry about. Maybe there is a better wayâ€¦

Visit our dedicated page focused on engineering unit conversion.

One caveat with the temperature in Mathcad PM:

http://communities.ptc.com/docs/DOC-2573

The problem is in the units. T1 = XdegC and T2 = YdegC, the degree symbol as a superscript before the C. T1-T2 = (X-Y)Cdeg, the degree symbol as a superscript after the C. degC is a temperature, Cdeg is not a temperature, it is a temperature difference. A temp can be related to an absolute scale, a difference in temp cannot.