SpaceJuly 22, 1962 · Cape Canaveral, Florida, USA

Mariner 1 Lost

NASA's Mariner 1 probe, intended to fly past Venus, veered off course moments after launch and had to be destroyed, one of the earliest and most infamous computer-bug failures in spaceflight history.

Mariner 1 was meant to be America's first interplanetary spacecraft, but a faulty guidance software equation caused it to veer dangerously off its planned trajectory less than five minutes after liftoff. Range safety officers ordered its destruction to prevent an uncontrolled crash, and the disaster later spawned the famous, if somewhat exaggerated, legend of a single missing hyphen in the code costing $18 million.

On July 22, 1962, an Atlas-Agena rocket carrying NASA's Mariner 1 probe lifted off from Cape Canaveral, aiming to send the first American spacecraft past another planet, Venus. The mission was a cornerstone of NASA's early planetary exploration ambitions, designed to gather data on Venus's atmosphere and surface temperature at a time when basic facts about the planet remained speculative.

Less than five minutes into flight, ground controllers noticed the rocket's trajectory diverging dangerously from its planned course, a result of a guidance system malfunction traced to an error in the software's handling of velocity data — later widely, if imprecisely, described as a single missing overbar or hyphen in a mathematical formula translated from handwritten notes into code. Fearing the rocket might crash into a populated area or shipping lane, range safety officers sent a destruct command, and Mariner 1 exploded over the Atlantic Ocean roughly 290 seconds after launch.

The failure cost NASA around $18.5 million and became an early cautionary tale about the unforgiving precision required in aerospace software, frequently cited (sometimes with embellishment) in computer science courses as proof that the smallest coding error can carry catastrophic consequences. Its successor, Mariner 2, launched successfully weeks later and became the first spacecraft to fly past another planet.

Key people: NASA

Also on July 22

More space history