Physics

Linear Thermal Expansion Calculator

Change in length from a temperature change, for steel, aluminum, concrete, Invar and more.

Real Larzscript running in your browser74 automated checksOpen source · MITNo sign-up · your inputs never leave your device

Linear thermal expansion

Change in length (ΔL)
—
New length
—
Show the Larzscript program that just ran
Run a calculation to see the exact program.

This is the real program the page sent to the Larzscript interpreter (compiled to WebAssembly) in your browser. The library it imports is the same code the automated tests check.

The formula

ΔL = L₀ α ΔT

α is the linear expansion coefficient in units of 1/K (or equivalently 1/°C). Values above are typical room-temperature figures; α itself changes somewhat with temperature for real materials.

Worked example, computed above

A 100 m steel rail warming by 30 K expands by 36 mm.

What is verified

The expansion coefficient round-trips exactly back out of a computed ΔL, and the new-length output is checked to equal the original length plus ΔL in every case — see tests/test_mechanics.lz.

Frequently asked questions

What is the linear expansion formula?

ΔL = L₀ α ΔT — a material of original length L₀ expands by an amount proportional to its length, its coefficient of expansion α, and the temperature change. A 100 m steel rail warming by 30 K (a hot summer day vs a cool morning) expands about 36 mm.

Why do railway tracks have gaps (or curve on hot days)?

Because engineers must plan for exactly this expansion — modern welded rail is laid under tension or allowed to curve slightly rather than left with expansion gaps, but the underlying ΔL = L₀αΔT physics is the same.

Which materials expand the least?

Invar (an iron-nickel alloy) was specifically developed for its extremely low expansion coefficient, used in precision instruments and clock pendulums where thermal expansion would otherwise throw off measurements.

Does this apply to volume as well as length?

This page computes linear (1-D) expansion. Volume expansion for an isotropic solid is approximately 3α (three dimensions each expanding by α), and liquids are usually described directly by a volumetric coefficient instead.

Every number on this page is computed by the open-source larzscript-physics library (mechanics, physmath), written in Larzscript, and checked against independent references in its test suite. How it is verified →