Why lengths change with temperature

Most solids grow when they warm and shrink when they cool, because heating makes atoms vibrate with larger amplitude and pushes them slightly farther apart on average. The change in any one dimension is small, but it adds up over long spans. A steel railway line, a bridge deck, a pipe run along a wall and a pane of glass in a metal frame all need space to move. This page estimates the change for a straight piece of known length. You enter the starting length, a coefficient that describes the material and the temperature difference, and the page returns both the change and the resulting length.

The linear expansion formula

The model is ΔL = α × L₀ × ΔT, where α is the linear expansion coefficient in 1/K, L₀ is the initial length and ΔT is the temperature change in kelvin. The final length is L₀ + ΔL. Because one kelvin equals one degree Celsius in size, a warming from 15 °C to 45 °C is a ΔT of 30 K. The relation treats α as constant over the range and the strain as small, so it is a first-order estimate. For the temperature ranges met in buildings, machines and laboratory work it is accurate enough, and it is the form used in introductory physics and engineering texts such as OpenStax College Physics.

A 2 m rod and a coefficient of 1e-5

The page starts with a 2 m rod, a coefficient of 0.00001 per kelvin, which is 1 × 10⁻⁵ K⁻¹, and a temperature rise of 100 K. The change is 0.00001 × 2 × 100 = 0.002 m, or 2 mm, and the final length is 2.002 m. The relative change is only 0.1 percent for a 100 K swing, which is why expansion is invisible in a pocket ruler but obvious in a long structure. A coefficient of 1 × 10⁻⁵ K⁻¹ is typical for many metals and concrete, so the default gives a sense of scale for ordinary construction materials. To get a feel for the proportions, rerun the page with a length of 20 m instead of 2 m: the change becomes 20 mm, ten times larger, because the relationship is linear in each input. The same holds for temperature, so a 50 K swing gives half the change of a 100 K swing. This proportionality makes it easy to scale a known result to a different part without starting over.

Typical coefficients

Coefficients differ by about a factor of ten between common materials. Steel is near 12 × 10⁻⁶ K⁻¹, concrete about the same, copper near 17 × 10⁻⁶, and aluminum near 23 × 10⁻⁶. Window glass is about 9 × 10⁻⁶, while borosilicate glass such as laboratory ware is close to 3.3 × 10⁻⁶, which is why it survives sudden heating better. Fused silica is lower still, at roughly 0.5 × 10⁻⁶. Values depend on alloy and temperature, so use a data sheet when accuracy matters. The numbers above are rounded reference values and the page does not store a material list: you enter the coefficient.

Rails and bridges

A 25 m steel rail with α = 12 × 10⁻⁶ K⁻¹ warmed by 50 K grows by 0.015 m, or 15 mm, and reaches 25.015 m. Over a 100 m steel span, a 60 K seasonal swing produces 0.072 m, about 72 mm. Bridges accommodate this with expansion joints and bearings that allow movement. Railways handle it two ways: older track leaves small gaps between rails, while modern continuous welded rail is anchored and held under stress so it cannot expand freely. The calculation shows what would happen without restraint, and that unrestrained movement is the figure designers compare with the joint capacity they provide.

Aluminum, glass and cooling

A 3 m aluminum extrusion with α = 23 × 10⁻⁶ K⁻¹ heated by 50 K lengthens by 0.00345 m, or 3.45 mm, to 3.00345 m. That is why long aluminum window frames and trim need slotted fixings. A 0.3 m borosilicate glass rod warmed by 150 K with α = 3.3 × 10⁻⁶ K⁻¹ grows only 0.0001485 m, about 0.15 mm. Cooling works the same way with a negative temperature change. A 6 m steel pipe cooled by 30 K shrinks by 0.00216 m and ends at 5.99784 m. A negative length change is the sign that the piece contracted.

Choosing the temperature change

Use the temperature the part will actually reach, not the air temperature alone. A dark metal roof in direct sun can run many kelvin above the air, and a pipe carrying hot water follows the water, not the room. For a seasonal structure, take the difference between the coldest and hottest design temperatures at the site. For a part installed at a known temperature, ΔT is the difference from that installation temperature, since the gap or clearance was set then. Entering Celsius or kelvin gives the same ΔT, but Fahrenheit differences must be multiplied by 5/9 first, and coefficients quoted per degree Fahrenheit must be converted too.

Constrained parts and thermal stress

The page gives the free movement of a part. If both ends are held rigid, the part cannot move and instead builds up stress. A simple estimate of that stress is Young's modulus times α times ΔT, which for steel with a modulus near 200 GPa and a 50 K rise is about 120 MPa. That value is large enough to buckle slender members or damage fixings. The calculator does not compute stress. It tells you how far the part wants to move, which is the first number to know when deciding between allowing the movement with a joint or restraining it with a structure strong enough to resist the force.

Constant coefficient and small strain assumed

The coefficient is treated as constant and the strain as small, so the page is an educational estimate. Real materials have coefficients that drift with temperature, and anisotropic materials such as wood and some composites expand differently along different directions. Area and volume expansion are not calculated here: to first order the area coefficient is about twice the linear one and the volume coefficient about three times. The result should not replace the expansion allowances in a design standard or a manufacturer instruction, and it gives no safety or structural approval. Mixed assemblies deserve special attention, because two materials with different coefficients bonded together move by different amounts. A strip of steel joined to a strip of aluminum bends when heated, which is the principle of a bimetallic thermostat, and the same mismatch can crack a ceramic tile bonded to a metal backing. Calculate each material separately and compare the differences, since the mismatch is what drives the stress.