ThinkRoost
How Everyday Things Work

Computers and software · 5 min

Ariane 5's overflow

Learn how one number destroyed a rocket.

ReflectText size
Source reading

What the sources describe

On 4 June 1996, the first Ariane 5 rocket launched from French Guiana carrying four scientific satellites. About 37 seconds after lift-off, it veered off course, broke apart and self-destructed. The rocket and satellites were lost, a cost of hundreds of millions of dollars.

An inquiry board found the cause in the rocket's inertial reference system, which measured its position and movement. Software reused from the smaller Ariane 4 converted a large number representing horizontal velocity into a 16-bit integer, a format that can hold only a limited range of values. Because Ariane 5 was faster, the number was too big, causing an overflow error.

The backup system had already failed the same way, because it ran identical software. The main flight computer then misread diagnostic data as flight data and steered the rocket sharply, causing it to break up.

Ironically, the function that failed was not even needed after lift-off. The software had not been tested with Ariane 5's expected flight conditions. The case is widely taught as a lesson about reusing code without checking assumptions and about backups that share the same flaw.

Our interpretation

Connecting the ideas

In 1996, the first Ariane 5 rocket self-destructed after reused Ariane 4 software converted a large number into a too-small format, causing an overflow.

The idea, in plain language

The big idea

Reused code may fail in new conditions, so its assumptions must be tested in new contexts.

Use it in real life

Use it in real life

When reusing a template, plan, document or tool from a past project, list the assumptions it was built on, such as size, budget or audience. Check whether each still holds before relying on it.

Practice scenario (made up for this lesson)

Try it

Made-up example: Why did software that worked on Ariane 4 fail on Ariane 5?

A good answer: Ariane 5 flew faster, producing larger velocity values than the old software could store in its number format.

Quick quiz

1. What caused the Ariane 5 failure?

2. Why didn't the backup system prevent the failure?

3. What broader lesson does Ariane 5 teach?

Finished reading?

Make this the next Doom video?

Vote for the lessons you'd most like to see turned into a short animated story.

How was this lesson?

No ratings yet — be the first.

Sign in to rate

Sources

Limitations

Checked against the official inquiry board report; Wikipedia kept as a second source.

Voice: Debby — Soft and soothing (tap to change)

Debby narration · part 1 of 15