How is the thermal expansion of a pipe worked out?
The free movement is delta L = alpha x L x delta T: the mean linear expansion coefficient, times the length of the run, times the temperature difference between installation and work. A carbon steel run of 30 m laid at 20 °C and working at 180 °C, with alpha 12 x 1e-6 1/K, grows by 12 x 1e-6 x 30000 mm x 160 K = 57.6 mm, that is 1.92 mm per metre. The 12 is the example figure for carbon steel, a mean up to 100 °C; the mean up to 180 °C is higher, so for a real run take the figure for the range from the maker data. The diameter and the wall do not enter: a free run grows by the same amount whatever its size.
Which expansion coefficient should I use?
The mean coefficient over your temperature range, from the pipe material certificate, the pipe standard or the maker data. It depends on the alloy and on the range: a mean over a wider range is higher, for stainless steel 1.4401 16.0 x 1e-6 1/K from 20 to 100 °C and 16.5 from 20 to 200 °C in the EN 10088-1 table. The page offers example figures only where two references agree to 0.5 x 1e-6 1/K: carbon steel 12.0, stainless steel 1.4401 / 316 16.0, copper Cu-DHP 16.8 and aluminium EN AW-6061 23.6 (each up to 100 °C), and copper-nickel 90/10 17.0 (20 to 300 °C). There is no pick for 304, where the references differ by 1.2, nor for plastic pipes, where the figures differ by grade and maker: enter the figure from the certificate.
What happens when the pipe gets colder than it was laid?
Then delta T is negative and the run contracts. A copper line of 20 m laid at 25 °C and cooled to -10 °C: 16.8 x 1e-6 x 20000 mm x (-35 K) = -11.76 mm, a contraction of 11.76 mm. The copper figure is a mean from 20 to 100 °C, so below 20 °C it is an estimate; the maker data govern.
How do I find the temperature rise or the length for a given movement?
Turn the formula round. The temperature difference is delta T = delta L / (alpha x L): 40 mm on a 25 m carbon steel run is 40 / (12 x 1e-6 x 25000) = 133.3 K, so from 20 °C about 153.3 °C. The length is L = delta L / (alpha x delta T): 50 mm on carbon steel from 20 to 180 °C is 50 / (12 x 1e-6 x 160) = 26042 mm, about 26.04 m. Both use the example figure 12, a mean up to 100 °C; above that the mean is higher and the maker data govern.
Does the calculator size an expansion joint, bellows or pipe loop?
No. It states the free movement of a straight run between two points only. It does not size a bellows, an expansion joint or a pipe loop, and it gives no forces, anchor loads, stresses or allowable movements of any product: the maker of the joint or the piping designer works those out from the movement, the pipe size, the media, the pressure and the temperatures. The result line carries the movement to a request, with room for the pipe size and the media.
Which units does the calculator take?
The length in m, mm, cm, ft or in (1 ft = 0.3048 m and 1 in = 25.4 mm exactly), the temperatures in °C and a difference in K (a difference of 1 °C is 1 K), the movement in mm, cm, m or in. The coefficient in 1e-6 1/K (12 or 12e-6), in mm/m per 100 K (1.2) or in mm/(m K) (0.012), which are the same figure for carbon steel. Temperatures in °F are not taken.