Thermal Stress in a Restrained Bar Calculator

Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/8/2026

In a bar with both ends fixed, the stress is σ = E × α × ΔT. For steel (E = 210 GPa, α = 12·10⁻⁶ /K) heated by 50 °C, that gives 126 MPa of compression, a force of 126 kN on a 1,000 mm² section.

Explanation

When a bar heats up, it lengthens by α × ΔT per unit of length, where α is the material's coefficient of thermal expansion. If it is free, nothing more happens. But if its ends are held by rigid supports, expansion is prevented: the bar is compressed as if brought back to its original length. The prevented strain is ε = α × ΔT, and Hooke's law gives the corresponding stress: σ = E × ε = E × α × ΔT, where E is the material's Young's modulus. This stress is independent of the bar's length: only the temperature change matters. It is negative, so compressive, when heating, and positive, so tensile, when cooling. The force on the supports is then F = σ × A, with A the cross-section. For steel, heating by just 50 °C already creates 126 MPa, more than half the yield strength of common S235 structural steel, and 100 °C exceeds it: this is why railway tracks, pipelines, bridges and concrete slabs are fitted with expansion joints, expansion loops or continuously welded rails laid at a reference temperature. The calculator compares the stress with the yield strength you enter and flags when it is exceeded. Note that the formula assumes infinitely rigid supports and ignores buckling, which can make a slender compressed bar fail well below the yield strength: for that case, see the Euler buckling critical load calculator. For free length expansion, use the thermal expansion calculator.

Example: a 1,000 mm² steel bar heated from 20 to 70 °C

Inputs

E = 210 GPa, α = 12·10⁻⁶ /K, ΔT = 50 °C, section 1,000 mm², yield strength 235 MPa.

Calculation

Prevented strain = 12·10⁻⁶ × 50 = 0.0006 (0.6‰). σ = 210,000 MPa × 0.0006 = 126 MPa compressive. F = 126 × 1,000 N = 126 kN.

Result

Compression of 126 MPa, 54% of yield strength: acceptable, but sensitive to buckling if the bar is slender.

Frequently asked questions

Does the length of the bar matter?

Not for the stress: it depends only on the material and the temperature change. Length matters for free expansion, and for buckling risk if the bar is compressed.

Why is stress negative when heating?

By convention, tension is positive and compression negative. When heated, the bar would like to lengthen, but the supports prevent it: it is compressed.

How can these stresses be avoided?

By letting the structure expand freely, with expansion joints, sliding supports or compensation loops on pipelines.

Similar calculators