HomeArticlesMaterials Science

Shape Memory Alloys: A Metal That Remembers Its Shape

How the reversible austenite-martensite transformation in Nitinol produces the shape memory effect, superelasticity, and a distinctive stress-strain hysteresis loop.

mysimulator teamUpdated June 2026≈ 7 min read▶ Open the simulation

A metal that remembers its shape

Bend a paperclip and it stays bent — ordinary plastic deformation, dislocations sliding permanently past each other in the metal's crystal lattice. Bend a wire of Nitinol (a nickel-titanium alloy, roughly 50/50 atomic composition, discovered at the US Naval Ordnance Laboratory in the early 1960s) the same way, warm it up, and it snaps back to its original shape on its own. Nothing plastic happened at all — the deformation was carried entirely by a reversible change in the metal's crystal structure, not by permanently rearranging atoms past each other.

live demo · a stress-strain loop tracing the phase transformation● LIVE

Two crystal structures, one reversible switch

Nitinol exists in two distinct crystal phases. Austenite is the high-temperature, high-symmetry cubic phase — mechanically stiff, and the shape the metal "remembers". Martensite is the low-temperature phase, a lower-symmetry lattice reached not by atoms diffusing long distances (as in most phase changes) but by a coordinated, diffusionless shear of the whole lattice — every atom shifts a small, consistent distance relative to its neighbours simultaneously. Because no atom has to migrate anywhere, this transformation happens essentially at the speed of sound in the material, propagating through the metal in a fraction of a second.

cooling:  austenite → martensite     (starts at Ms, finishes at Mf)
heating:  martensite → austenite     (starts at As, finishes at Af)

Ms, Mf, As, Af are four distinct temperatures — the transformation
lags on each direction, tracing a hysteresis loop rather than a
single sharp transition point

Twinned martensite: bending without breaking a single bond

Freshly formed martensite is twinned — made of many small crystal domains, each a mirror-image orientation of its neighbour, arranged so the overall macroscopic shape still matches the parent austenite. Applying stress does not stretch atomic bonds the way it would in a normal metal; instead it converts twinned martensite into a single, detwinned orientation by having the twin boundaries sweep through the material, letting the wire bend or stretch by several percent strain — far beyond the roughly 0.2% elastic limit of an ordinary structural metal — while every bond length stays essentially unchanged. That is the physical reason a bent Nitinol wire has stored so little true lattice strain: what looks like plastic deformation is actually a reorganisation of which twin domains dominate, and it is fully reversible.

Superelasticity: the room-temperature trick

Above Af, the material is fully austenite and mechanically stable at rest — but applying enough stress can still locally force a stress-induced transformation to martensite, even without cooling, because stress and temperature both shift the same underlying transformation equilibrium (this is the alloy analogue of how pressure can shift a liquid-gas boiling point). The wire absorbs an enormous amount of strain during this stress-induced transformation with an almost flat stress plateau — a mechanical fingerprint that shows up as a distinct flat segment in the stress-strain curve — and the instant the stress is released, the unstable martensite reverts spontaneously back to austenite and the wire springs back to its original shape at room temperature, with no heating required at all. This is superelasticity, and it is what makes Nitinol eyeglass frames survive being sat on and self-expanding cardiovascular stents possible: the stent is compressed into a catheter, and the moment it is pushed out into the warmer, unconfined artery, it springs open on its own.

Reading the stress-strain loop

A full loading-unloading cycle above Af traces a characteristic hysteresis loop rather than retracing the same path back: loading rises steeply (elastic austenite), flattens onto the stress-induced martensite plateau, then rises steeply again once the transformation completes and the martensite itself deforms elastically; unloading reverses along a lower plateau, because reverting from martensite back to austenite requires less stress than the forward transformation needed. The gap between the two plateaus — the area enclosed by the loop — is mechanical energy dissipated as heat each cycle, which is exactly why Nitinol is also used in seismic dampers and vibration-isolation mounts: the material's own phase transformation absorbs shock energy every cycle without any conventional dashpot or spring.

Frequently asked questions

What is the difference between the shape memory effect and superelasticity?

The shape memory effect needs a temperature change: the material is deformed while cold as martensite, then heated back to austenite to recover its original shape. Superelasticity happens at a constant temperature above the transformation range, where mechanical stress alone drives martensite formation and removing the stress alone reverses it, with no heating step required.

Why does Nitinol return to exactly the same shape instead of a slightly different one?

Because the deformation in both regimes is carried by a reversible, diffusionless shift of the crystal lattice — twin boundaries moving or a stress-induced phase change — rather than by dislocations permanently sliding past each other as in ordinary plastic deformation. Since no atoms permanently swap neighbours, the original austenite lattice, and therefore the original macroscopic shape, is fully recoverable.

Why does the loading and unloading curve form a loop instead of retracing itself?

Because the forward transformation from austenite to martensite under load requires more stress than the reverse transformation back to austenite needs when the load is removed. That asymmetry means loading and unloading trace different paths on the stress-strain plot, and the enclosed area between them represents mechanical energy dissipated as heat on every cycle.

Try it live

Everything above runs in your browser — open Shape Memory Alloy and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Shape Memory Alloy simulation

What did you find?

Add reproduction steps (optional)