Thermal Expansion Calculator
Calculate Smarter. Work Faster.
Linear expansion (or contraction) of a metal part from its original length, material, and temperature change — formula shown, with an optional constrained thermal stress check.
Thermal Expansion Inputs
Linear thermal expansion, explained
Every solid material changes size slightly when its temperature changes — it expands when heated and contracts when cooled. For a part that is free to move (not held rigidly at both ends), the change in length is described by the linear thermal expansion equation:
ΔL = L₀ · α · ΔT
Here, L₀ is the original length of the part, α (alpha) is the material's coefficient of linear thermal expansion — a property that tells you what fraction of its length a material gains per degree of temperature rise — and ΔT is the temperature change (final minus initial). The result, ΔL, has the same length unit as L₀. A positive ΔT (heating) gives a positive ΔL (expansion); a negative ΔT (cooling) gives a negative ΔL (contraction).
This calculation matters across a wide range of mechanical and piping work: steel rails need expansion gaps, long pipe runs need expansion loops or bellows, precision-fitted assemblies need clearance calculated for their operating temperature range, and bimetallic or dissimilar-material joints need to account for each material expanding by a different amount for the same temperature change.
The coefficient of thermal expansion itself is not perfectly constant — it varies somewhat with temperature and, for a given metal, with alloy composition and heat treatment. The values in this calculator's material dropdown are typical room-temperature figures widely used for estimating; for high-temperature process piping, cryogenic equipment, or any safety-critical design, use the coefficient from the actual material specification or a temperature-specific reference table.
What happens if the part cannot move (constrained expansion): if a member is rigidly fixed at both ends so it physically cannot expand or contract, the thermal strain that would have occurred is instead converted into internal stress. That stress is given by σ = E · α · ΔT, where E is the material's modulus of elasticity. This calculator includes an optional E field — fill it in only if the part is genuinely fully restrained (e.g. a pipe anchored rigidly at both ends, or a rail welded continuously with no expansion joints); leave it blank for a part that is free to expand, since the constrained-stress formula does not apply there.
Worked Example
A 3-metre (3000 mm) mild steel pipe section is installed at 25°C and later carries process fluid at 80°C.
- L₀ = 3000 mm, α = 12.0 × 10⁻⁶ /°C, T₁ = 25°C, T₂ = 80°C
- ΔT = 80 − 25 = 55°C
- ΔL = 3000 × 0.000012 × 55 = 1.98 mm expansion
- Final length = 3000 + 1.98 = 3001.98 mm
If that same 3 m section were instead welded rigidly at both ends with no expansion joint (E = 200,000 MPa for steel), the prevented expansion would generate a compressive stress of σ = 200000 × 0.000012 × 55 = 132 MPa — a significant stress that piping and structural designers account for with expansion loops, bellows, or sliding supports.
Coefficients of thermal expansion vary by alloy grade, temper, and temperature range — verify against the manufacturer's datasheet for critical or high-temperature applications; the values here are typical room-temperature figures.
Typical coefficients of thermal expansion
| Material | α (× 10⁻⁶ /°C) | Typical use case |
|---|---|---|
| Mild / Carbon Steel | 12.0 | Structural members, piping, machine frames |
| Stainless Steel 304 | 17.3 | Process piping, food-grade equipment |
| Aluminium | 23.0 | Lightweight structures, heat exchangers |
| Copper | 17.0 | Electrical conductors, tubing |
| Brass | 19.0 | Fittings, valve bodies |
| Cast Iron | 10.5 | Pump housings, machine bases |
| Rigid PVC | 52.0 | Plastic piping (needs generous expansion allowance) |
| Stainless Steel 316 | 16.0 | Corrosive/marine service piping |
| HDPE | 200.0 | Buried/water pipe (large expansion allowance needed) |
Note how much higher α is for aluminium and especially PVC compared to steel — a plastic pipe run needs roughly four times the expansion allowance of an equivalent steel run for the same temperature swing, which is why plastic piping systems rely more heavily on expansion loops, sliding supports, and looped or offset routing.
Common mistakes when calculating thermal expansion
1. Using the wrong temperature reference. ΔT must be the actual operating temperature swing the part will see — not the ambient design temperature alone. A pipe installed in winter and operating in a hot process needs the full installation-to-operating ΔT, which is often much larger than people first assume.
2. Applying the free-expansion formula to a constrained part. If a member is welded or bolted rigidly at both ends with no room to move, ΔL = L₀αΔT does not apply — the part cannot actually change length, so the thermal effect shows up as internal stress (σ = EαΔT) instead of a dimensional change.
3. Ignoring dissimilar-material joints. When two different materials are joined (e.g. an aluminium bracket bolted to a steel frame), each expands by a different amount for the same ΔT. Over a large temperature swing this differential expansion can loosen fasteners, distort assemblies, or crack rigid joints.
4. Using a single α value across a very wide temperature range. The coefficient of expansion itself increases somewhat at higher temperatures for most metals. For a swing of a few hundred degrees or more, use a temperature-specific α or an average value from the material's datasheet rather than the generic room-temperature figure.
5. Forgetting expansion in the other two dimensions. This calculator gives linear (1-D) expansion along a length. A flat plate or a tank shell also expands in width and diameter by the same fractional amount — relevant when checking clearances, seal fits, or bolt-hole alignment on wide or round components, not just long ones.
6. Mixing up expansion and contraction sign. When cooling (ΔT negative), ΔL comes out negative — that's a contraction, not an error. Take care not to add a "negative expansion" as if it were additional growth when sizing clearances or gaps.
Frequently Asked Questions
Straight answers on the linear expansion formula, coefficients, and constrained thermal stress.
What is the formula for linear thermal expansion?+
ΔL = L₀ · α · ΔT, where L₀ is the original length, α is the material's coefficient of linear thermal expansion, and ΔT is the temperature change. The result ΔL is positive for expansion (heating) and negative for contraction (cooling).
What units should I use for a consistent result?+
Keep length units consistent — if L₀ is in millimetres, ΔL comes out in millimetres. α is normally given per °C (or per Kelvin, which is numerically the same for a temperature difference), so ΔT should also be in °C or K, not °F.
Why do different metals expand by different amounts?+
The coefficient of thermal expansion depends on how strongly a material's atomic bonds respond to added thermal energy. Metals with weaker interatomic bonding, like aluminium, expand roughly twice as much per degree as steel, while plastics like PVC expand even more — roughly four times as much as steel — because their molecular structure is far less rigid.
What happens if a heated part is not allowed to expand?+
If a part is rigidly restrained at both ends, the prevented expansion converts into internal stress instead of a length change, given by σ = E · α · ΔT. This is why long pipe runs and rails include expansion joints, loops, or sliding supports — without them, thermal stress can be high enough to buckle or crack the member.
Does thermal expansion apply the same way to diameter and width, not just length?+
Yes — the same ΔL = L₀αΔT relationship applies to any linear dimension of a part, including diameter, width, or thickness. A round tank shell expands in diameter using the same formula with L₀ as the original diameter, which matters when checking fits, seals, or clearances on components that aren't simply "long."
How much clearance should I allow for a shaft-in-bore fit across a temperature range?+
Calculate the diametral expansion of both the shaft and the bore separately (each using its own material's α and its own diameter as L₀) across the full expected operating temperature range, then compare. If the two parts are the same material the clearance stays roughly constant, but with dissimilar materials the fit can tighten or loosen significantly — check both temperature extremes, not just the nominal operating point.
Is the coefficient of thermal expansion the same at all temperatures?+
Not exactly — α increases gradually with temperature for most metals, so a single room-temperature value is an approximation. For everyday engineering estimates over moderate temperature ranges it's accurate enough, but for high-temperature process equipment or a very wide ΔT, use a temperature-averaged or temperature-specific α from the material supplier's data.
How is this different from thermal expansion of a gas or liquid?+
This calculator covers linear (solid-material) expansion only. Gases and liquids expand volumetrically and by a much larger amount for the same temperature change, following different relationships (ideal gas law for gases, a volumetric expansion coefficient for liquids) — those are separate calculations from the solid linear expansion covered here.
Explore More Categories
Electrical Calculators
Cable size, transformer size, motor current, DG size, solar sizing & more.
Browse all →Mechanical Calculators
Belt length, bearing life, cooling tower efficiency & more.
Browse all →Financial Calculators
EPF, PPF, SIP, gratuity, income tax, CAGR & more.
Browse all →Blog & Guides
Maintenance guides & engineering articles.
Browse all →