A History of Storage Media: Punch Cards

Storage is an essential part of every computer architecture, from a Turing machine’s hypothetical tape to the registers and memory unit of a Von Neummann architecture. Storage media have gone through several technological evolutions over time, including some delightfully bizarre mechanisms.

This will be a somewhat abbreviated timeline, focusing on specific technologies that I find especially delightful. For a more comprehensive resource, the Computer History Museum has a detailed timeline, featuring lovely photographs.

Punch cards

All right, this was a bit of a bait and switch. Punch cards aren’t really a strange storage medium, but they are among the earliest, and have had some fantastic historical applications!

Jacquard looms

Many early ancestors of computers were controlled by punchcards, or similar mechanisms. The ancestor of these machines, in turn, was the Jacqard loom. This loom, which automated the production of elaborately woven textiles, was the first machine to use punch cards as an automated instruction sequence.

First – some background information about weaving patterns into fabric.

Most fabric is woven with 2 sets of yarn that are perpendicular to each other. The first set of threads, the warp, is stretched out over a loom, and the second set, the weft, is passed either over or under the threads of the warp to form the fabric. This over-under means that the operation is easily represented by binary information. Changing the order of the over-under produces different kinds of designs.

In the following example of a woven design, the warp is white, and the weft is blue. To weave in a zigzag pattern, the loom raises the first 2 threads, drops the second 2, raises the next 2, and so on, across the warp. Then, the weft is passed through the warp, weaving in the first thread. This is repeated across the next few rows 1, until we start to see a zigzag pattern appear. (Fun fact – this diagonal weave is called a twill weave, which is what most denims and chinos are!)

Although weaving can be very intricate, this particular kind has 2 simple operations, repeated according to very specific patterns. Computers excel at simple and repetitive work!

Before the Jacquard loom, this process of raising and lowering threads was done by hand, on a drawloom. One person ran by and positioned all the threads for the warp, and another person passed the weft through. This was an incredibly slow and labor-intensive process. A warp might be about 2000 threads wide, so drawing out a detailed pattern in fabric would require making decisions about raising or lowering thousands of threads, thousands of times. A very experienced weaving team might get through a couple of rows every minute, so an inch of fabric would take about a day to produce. For context, a ball gown might take up to 3 yards of fabric, which represents about 100 working days of brocade weaving!

A portrait of Jacquard woven on a loom.

A portrait of Jacquard woven on a loom.

Around 1803, Joseph-Marie Jacquard – who lived in Lyons, France, a city with a huge silk weaving industry – started building a prototype for a loom that could automate the production of decorated cloth. The Jacquard loom wove elaborate silk patterns by reading patterns off a series of replaceable punched cards. The cards that controlled the mechanism could be chained together, so complex patterns of any length could be programmed in.

Twill weaves, like the one above, are fairly easy and repeatable patterns, and it’s a trivial example of what you could weave on an automated loom. The special power of the Jacquard loom comes from its ability to independently control almost every warp end.2 This is pretty insane! You could weave all sorts of very detailed images with a Jacquard loom. The portrait of Joseph-Marie Jacquard is a vivid demonstration of the intricacy of the loom; the image is woven using tens of thousands of punch cards.

The ability to change the pattern of the loom’s weave simply by changing cards was a conceptual precursor to programmable machines. Instead of a looped, unchanging pattern, any arbitrary design could be woven into the fabric, and the same machine could be used for an infinite set of patterns.

This mechanism inspired many other programmable automatons. Charles Babbage’s Analytical engine borrowed the idea. (Babbage himself was rumored to have the woven portrait of Jacquard in his house!) Player pianos use punch cards (or punched drums) to produce music. That said, the first commercial use of punch cards for information processing didn’t appear until almost 100 years later.

The 1890 United States Census

In the late 19th century, the U.S. Census Bureau found itself collecting more information than it could manually process. The 1880 census took over 7 years to process, and it was estimated that the 1890 census would take almost twice as long!3 Spending a decade processing census information meant that the data were obsolete almost immediately after they’ve been produced!

To cope with the growing population, the census bureau held a competition for a more efficient method to count and process the data. Herman Hollerith produced a punched card tabulating machine for this competition. The tabulating machine enabled much faster processing, and provided many more statistics than were available for earlier years.

After the success of the tabulator in the 1890 census, other countries began adopting the technology. Soon, Hollerith’s Tabulating Machine Company produced machines for many other industries. Information processing via punch card became a large industry. During World War I, the army used punch cards to store medical and troop data. Insurance companies stored actuarial tables on punch cards, and railroads used them to track operating expenses. Throughout the 1970s, punch cards served as the medium for inputting both data and control programs.

After his death, the Computer Tabulating Recording Company renamed itself to the International Business Machines Corporation, or IBM, leading us into a new era of computing.


  1. An accuracy apology: The weft on the end should be looped over, making the selvege, but drawing convincing curved shapes isn’t Google Drawing’s forte. ↩︎

  2. A nitpick: not all automated looms allow independent control of every warp end. Dobby looms, which appeared about 40 years after the Jacquard device, control groups of threads attached to shafts. Jacquard devices have more shafts than Dobby looms, but don’t always allow for control of every thread. This explanation differentiates between Dobby looms and Jacquard looms, and includes pretty gifs! ↩︎

  3. The U.S. Census Bureau describes the tabulation and processing of the 1880s census ↩︎