ThinkRoost
Technology and AI

Software engineering · 5 min

The Patriot missile clock drift

Learn about rounding errors.

ReflectText size
Source reading

What the sources describe

During the Gulf War, on 25 February 1991, an Iraqi Scud missile struck a US Army barracks in Dhahran, Saudi Arabia, killing 28 American soldiers. A nearby Patriot missile defence system failed to intercept it.

A 1992 US government investigation found the cause was a timing error. The system's computer counted time in tenths of a second. But one tenth cannot be stored exactly in binary, just as one third cannot be written exactly as a decimal. The system stored a slightly rounded value.

The tiny error grew the longer the system ran. The battery had been operating for about 100 hours, and by then its clock was off by about a third of a second. A Scud missile travels over half a kilometre in that time, so the system looked in the wrong place and did not track the missile.

The Army had learned of the problem and was sending updated software, which arrived the day after the attack. Operators had been advised that long running times reduced accuracy, but were not told exactly how often to restart. The case shows how small rounding errors can add up.

Our interpretation

Connecting the ideas

On 25 February 1991, a Patriot missile system failed to intercept a Scud missile that killed 28 US soldiers, because a tiny rounding error in its clock grew to about a third of a second after 100 hours.

The idea, in plain language

The big idea

Tiny errors can grow into serious failures over time.

Use it in real life

Use it in real life

Use a calculator to add 0.1 to itself 10 times, then try a spreadsheet and look at the result with many decimal places. Note any tiny differences from exactly 1. Then think of a situation where a small daily error, such as a clock running slightly fast, could add up over time.

Practice scenario (made up for this lesson)

Try it

Made-up example: Why did the Patriot system's clock become inaccurate?

A good answer: one tenth of a second could not be stored exactly in binary, and the rounding error grew over time.

Quick quiz

1. Why did running time matter?

2. Why was a third of a second so serious?

3. What lesson does the case teach about software warnings?

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

Overview sources only. These references are not a completed primary-source fact-check.

Limitations

Overview only.

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

Debby narration · part 1 of 15