From Molecules to Minds
Chapter Two

DNA as a data format

Four letters, two bits each, packed a thousand times denser than any disk and readable after a million years. What does DNA look like to a storage engineer?

31 min read7,205 words4 interactive figures

Imagine a storage format that has been in continuous use for about four billion years. It has never needed a migration. Every reader ever built can still read it. It packs data a million times denser than a hard disk, and some copies have survived two million years in frozen ground.

That format exists, and it is inside every cell of your body.

Chapter 1 introduced DNA as the cell's long-term store. This chapter looks at it the way an engineer looks at a hard disk or a tape. What is the symbol set? How many bits fit in a gram? How long does the data last? How often does it go wrong, and what fixes the errors? These questions are the foundation for the next five chapters, which explain how machines read DNA (chapter 4), write it (chapter 5) and turn it into a storage system (chapters 6 and 7).


The alphabet: four bases

The parts of one unit

DNA is a polymer, a long chain of small units, and each unit is a nucleotideone unit of DNA or RNA: a phosphate, a sugar and one base. A nucleotide has three parts.

  1. A phosphatea small group of one phosphorus atom and four oxygen atoms; it carries a negative charge group, which carries one negative charge.
  2. A sugar called deoxyribosethe five-carbon sugar in DNA; its carbons are numbered 1′ to 5′, with five carbon atoms numbered 1′ to 5′ ("one prime" to "five prime").
  3. A base, the letter itself. There are four.
BaseSymbolFamilyRingsPairs with
AdenineAPurine2T (2 hydrogen bonds)
GuanineGPurine2C (3 hydrogen bonds)
CytosineCPyrimidine1G
ThymineTPyrimidine1A

A and G are the larger purinesthe bigger kind of base, with two rings: A and G; C and T are the smaller pyrimidinesthe smaller kind of base, with one ring: C, T and U. Every pair joins one big base to one small one, which keeps the helix the same width all along. RNA uses uracil (U) in place of thymine, and a slightly different sugar, ribose, with one extra oxygen atom. That extra oxygen makes RNA break more easily, which is one reason DNA is the archive and RNA the working copy.

The backbone and its direction

The phosphate of one nucleotide joins the sugar of the next, forming the sugar–phosphate backbonethe alternating chain of sugars and phosphates that holds DNA's letters in order. The bases stick out from it like the teeth of a comb.

A strand has a direction. One end is the 5′ endthe end of a DNA strand with a free phosphate on carbon 5′, the other the 3′ endthe end of a DNA strand with a free OH group on carbon 3′; new letters are added here. The enzymes that build DNA can only add letters at the 3′ end.

   5' end                                                        3' end
     P ── sugar ── P ── sugar ── P ── sugar ── P ── sugar ── OH
            │             │             │             │
            A             C             G             T
                                                       ▲
                                     new bases are added only here

For a software engineer, a DNA strand is a singly linked list with a direction, where you can only append at the tail.

Base pairing: the second strand is a mirror copy

In a cell, DNA has two strands, running in opposite directions. Biologists call that antiparallelrunning side by side in opposite directions, one 5′→3′ and the other 3′→5′. Each base on one strand pairs with a matching base on the other: A with T, and G with C. This is Watson–Crick base pairingthe rule that A pairs with T and G pairs with C across the two strands of DNA.

   5' ─ A ─ C ─ G ─ T ─ T ─ A ─ G ─ C ─ 3'
        :   :   :   :   :   :   :   :      ":" = hydrogen bonds
        :   ⋮   ⋮   :   :   :   ⋮   ⋮      (A–T has 2, G–C has 3)
   3' ─ T ─ G ─ C ─ A ─ A ─ T ─ C ─ G ─ 5'

One strand completely decides the other, so the second strand carries no new information. It is pure redundancy, like a RAID-1 mirrora disk setup that keeps an identical copy of everything on a second disk. When one strand is damaged, repair enzymes use the other as the reference copy.

A common belief is that the hydrogen bonds hold the two strands together. They help, but most of the stability comes from base stackingthe weak attraction between flat bases piled on top of each other, like a stack of coins. The flat bases pile up like coins, and weak forces between them hold the stack. The hydrogen bonds supply the specificity: they decide which base pairs with which.

G–C pairs are more stable than A–T pairs, so DNA rich in G and C needs more heat to separate. Chapter 3 puts that fact to work in PCR and in searching by sequence.


The shape: the double helix

The geometry of the helix

In a cell, DNA usually takes the shape called B-DNAthe common right-handed form of the DNA double helix found in cells: the two strands wind round each other in a right-handed spiral.

A replica of the Watson and Crick double-helix model, made of metal rods and plates around a vertical stand
A replica of the 1953 double-helix model of James Watson and Francis Crick, in the Berlin Museum of Medical History. The flat metal plates are the bases; the stand is the axis of the helix. Photo: Flocci Nivis, CC BY 4.0, via Wikimedia Commons.
          ◄────── 2 nm ──────►
           ╲               ╱
            ╲   ═══════   ╱      each "═══" is one base pair
             ╲ ═══════  ╱        0.34 nm between base pairs
              ╳═══════╳          about 10.5 base pairs
             ╱ ═══════ ╲         in one full turn
            ╱   ═══════  ╲       one turn ≈ 3.4–3.6 nm
           ╱               ╲
           ╲   major groove ╱    proteins read the bases
            ╲   (2.2 nm)   ╱     through the grooves,
             ╳═══════════╳       without opening the helix
            ╱ minor groove ╲
           ╱    (1.2 nm)    ╲

The helix is about 2 nm wide, and neighbouring base pairs sit 0.34 nm apart, with about 10.5 pairs in each full turn. One base pair weighs about 650 grams per mole, so a single picogram of DNA (a millionth of a millionth of a gram) holds almost a billion base pairs.

Go deeper: the helix in numbers
PropertyValue
Width of the helixAbout 2.0 nm
Distance between base pairs (the "rise")About 0.34 nm
Base pairs per turnAbout 10.5
Length of one turn (the "pitch")About 3.4–3.6 nm
Major and minor groove widthsAbout 2.2 nm and 1.2 nm
Length over which DNA acts stiff (the persistence length)About 50 nm, roughly 150 base pairs
Mass of one base pair (sodium salt)About 650 g/mol
Mass of one single-stranded nucleotideAbout 330 g/mol
Base pairs in 1 picogramAbout 978 million

Why the grooves and the stiffness matter

The edges of the bases show in the two grooves that spiral round the helix, and each base pair presents a different pattern of atoms there. So a protein can "read" a sequence from the outside without unzipping the helix. That is how control proteins find their genes, and how the cutting enzymes of chapter 3 find their sites.

Over short lengths, under about 150 base pairs, DNA acts like a stiff rod; scientists call that length its persistence lengththe length over which a polymer stays roughly straight before heat jiggling bends it. Over long lengths it behaves like a soft rope. Engineers use the stiff short pieces as building parts. In 2006, Paul Rothemund invented DNA origamifolding one long DNA strand into a designed 2D or 3D shape, using many short "staple" strands, folding one long strand into a designed shape with hundreds of short "staple" strands. Chapter 8 returns to it.

Linear density

One base pair holds 2 bits and is 0.34 nm long, so DNA holds about 5.9 bits per nanometre of its length. Along the 48 nm spacing between two neighbouring transistors on a modern chip, a single DNA molecule fits about 140 base pairs, or about 280 bits.


From bases to bits

The theoretical maximum: 2 bits per base

There are four bases, and log₂ 4 = 2, so one base can hold at most 2 bits. In double-stranded DNA the second strand is a copy, so a base pair also holds 2 bits, not 4. The simplest code just maps pairs of bits to letters: 00 → A, 01 → C, 10 → G, 11 → T.

Why real codes hold less

The machines that write and read DNA stumble on some patterns, so engineers avoid them.

  • Homopolymerslong runs of one letter, such as AAAAAAA, which machines tend to miscount, long runs of one letter like AAAAAAA, because writers and readers often add or drop a letter in a run.
  • Too much or too little G and C. A comfortable range is about 40–60%.
  • Sequences that fold back on themselves into hairpinsstretches of a single strand that pair with themselves and fold into a loop.

Each real strand also carries letters that hold no user data. It needs primer sitesshort known sequences at each end of a strand that let the lab copy and find it at each end, so the lab can copy and find it. It needs an address, because strands float in a liquid in no order at all. And it needs error-correcting codeextra data added so that errors can be detected and fixed when reading, because writing, storing and reading all make mistakes.

ExperimentYearBits per base (approx.)How
George Church, Yuan Gao and Sriram Kosuri (Harvard)20121A or C = 0, G or T = 1; the free choice avoids long runs
Nick Goldman, Ewan Birney and colleagues (European Bioinformatics Institute)2013About 1.6 before overheadA base-3 code that never repeats a letter
Yaniv Erlich and Dina Zielinski (Columbia University and the New York Genome Center)2017About 1.6A "fountain" code, about 86% of their estimated limit of about 1.83

Under realistic rules, the practical ceiling is about 1.8 bits per base, and the best codes reach about 1.6. Chapter 6 explains how those clever codes work.


How dense is DNA?

The theoretical number: about 455 exabytes per gram

This is the number you will see quoted most often. Here is where it comes from. It assumes single-stranded DNA, 2 bits per base, and exactly one molecule of each sequence.

Go deeper: the 455 EB calculation
StepCalculationResult
1. Mass of one base (single strand)About 330 g/mol—
2. Bases in 1 gram1 g ÷ 330 g/mol × 6.022 × 10²³ per moleAbout 1.8 × 10²¹ bases
3. Bits in 1 gram× 2 bits per baseAbout 3.65 × 10²¹ bits
4. Bytes in 1 gram÷ 8About 4.6 × 10²⁰ B ≈ 455 EB

For double-stranded DNA the mass doubles (about 650 g/mol per base pair) but the information does not, so the figure halves to about 230 EB per gram. Some news stories quote "455 EB per gram of double-stranded DNA", which is off by a factor of two.

An exabyteEB: a billion billion bytes (10¹⁸), or a million terabytes is a million terabytes. Four hundred and fifty-five of them would fill roughly 23 million of today's largest hard disks, all in a sugar cube's worth of powder, with room to spare.

The practical number: about 215 PB per gram

In 2017, Yaniv Erlich and Dina Zielinski stored about 2.14 megabytes in DNA: a computer operating system, a short French film from 1895, a gift card and a few other files. They spread it across 72,000 different strands, each 200 letters long, and read it all back with zero errors. They reported a density of about 215 petabytes per gram.

That is still breathtaking. But why is it about 2,000 times less than 455 EB? The answer is copies.

If you put one copy of each of their strands on a scale, the files would come to about 270 exabytes per gram, close to the theory. Divide by the 215 petabytes per gram they actually needed, and you find that each strand was present in about 1,300 copies.

Why so many? A liquid sample is a random sample of molecules. With only one molecule of a strand in the tube, a small sample would often miss it. Copying steps also favour some strands over others. So every strand must exist many times over. The practical density limit comes from statistics and losses, not from chemistry.

Go deeper: counting Erlich and Zielinski's copies
StepCalculationResult
Letters in one copy of each strand72,000 × 20014.4 million
Mass of one copy of each strand14.4 × 10⁶ × 330 g/mol ÷ 6.022 × 10²³About 7.9 × 10⁻¹⁵ g
Density with one copy2.14 MB ÷ 7.9 × 10⁻¹⁵ gAbout 270 EB per gram
Measured densityFrom the paperAbout 215 PB per gram
Copies of each strand270 EB ÷ 215 PBAbout 1,300

Even at 215 PB per gram, the numbers are wonderful. A 20-terabyte hard disk weighs about 700 grams. The same 20 TB in DNA would weigh about a tenth of a milligram. Density is not DNA's problem. The cost and speed of writing are, as chapter 7 explains.


How long does DNA last?

How DNA breaks

DNA in water decays slowly through a few chemical reactions. In depurinationthe loss of an A or G base from the backbone, which later lets the backbone break, an A or G simply falls off the backbone, and the backbone later snaps at that point. In deaminationa chemical change that turns a C into a U, causing a substitution error, a C turns into a U, a substitution error. And oxygen damages bases, turning G into a damaged form called 8-oxo-G.

A living cell repairs this damage all the time. Dead DNA cannot. So for storage the question becomes: how fast does dead DNA break, and how can we slow it down?

Measured half-lives

In 2012, Morten Allentoft, Michael Bunce and colleagues measured DNA in 158 dated bones of the moa, an extinct giant bird of New Zealand. The bones were 600 to 8,000 years old and came from three nearby sites with a steady temperature of about 13 °C, a natural laboratory.

The skeleton of an upland moa, a large extinct bird, in a museum case
The skeleton of an upland moa, an extinct bird of New Zealand, in the Otago Museum. DNA from 158 moa bones gave the half-life of 521 years. Photo: Szilas, public domain, via Wikimedia Commons.

They found that a 242-letter piece of mitochondrial DNA had a half-lifethe time after which half of something has decayed of about 521 years. DNA from the nucleus broke down at least twice as fast. Age explained only about 40% of the differences between bones; burial conditions and handling mattered more.

The team then extrapolated. Even in ideal frozen conditions at −5 °C, every bond would be broken after at most about 6.8 million years, and readable fragments would probably run out long before, perhaps after about 1.5 million years. Dinosaurs died out 66 million years ago, so dinosaur DNA is out of reach. Jurassic Park stays fiction.

The oldest DNA

Nature, it turns out, can beat those estimates when conditions are just right.

RecordAgeWhereYear
Oldest DNA sequencedAbout 2 million yearsSediments of the Kap København Formation in North Greenland (Kurt Kjær, Eske Willerslev and colleagues)2022
Oldest DNA from a single animalAbout 1.1–1.65 million yearsMammoth teeth from Siberia (Tom van der Valk, Love Dalén and colleagues)2021

The Greenland DNA came from cold, dry sediment, bound to mineral grains. It revealed a lost world: a forest with mastodons, reindeer, hares and geese, in a place that is now a polar desert. It is a beautiful piece of detective work, and a sign that cold, dry, mineral-bound DNA can survive a million years or more in short pieces.

The ridged chewing surface of a fossil mammoth molar
The chewing surface of a fossil mammoth tooth. In 2021, a team read DNA from mammoth teeth from Siberia that are about 1.1–1.65 million years old. This tooth comes from North America. Photo: James St. John, CC BY 2.0, via Wikimedia Commons.

Engineered storage: DNA in glass

Can engineers do better than a frozen bone? In 2015, Robert Grass, Wendelin Stark and colleagues at ETH Zürich wrapped DNA in tiny spheres of silicasilicon dioxide, the material of glass and sand, the stuff of glass. They baked the samples to age them fast, then used the Arrhenius equationa rule that predicts how much slower a chemical reaction runs at lower temperature to predict life at lower temperatures. One week at 70 °C, they calculated, was like about 2,000 years of storage at the temperatures of central Europe. At −18 °C, the temperature of a seed vault, the data should be readable after more than a million years. These are predictions from accelerated ageing, not measurements, but they are very encouraging.

MediumTypical life (approximate)
Hard disk driveAbout 5 years of rated service
Archival tapeAbout 30 years
DNA in bone at about 13 °CHalf-life about 521 years (measured)
DNA in silica, central-European temperatureAbout 2,000 years (predicted)
DNA in silica at −18 °CMore than a million years (predicted)

DNA has one more lovely advantage: the format never goes out of date. Tape drives change every few years, but all of life reads DNA, so we will always have DNA readers. Chapter 6 describes the capsules, glass and salt that researchers now use to protect stored DNA.


Errors and repair in living cells

Damage every day

Inside a living cell, DNA takes a beating. Each human cell suffers somewhere around ten thousand to a hundred thousand chemical lesions a day, by a commonly quoted estimate, with roughly five to ten thousand of them lost purine bases. Tomas Lindahl established much of this in work from the 1970s to the 1990s, and it led him to a startling question: if DNA is this fragile, how does life survive at all? The answer is constant repair.

Copy errors and three layers of correction

When a cell copies its DNA, the polymerase sometimes adds the wrong letter. The cell catches these errors in three layers. For an engineer, it is a textbook stack of error control.

   LAYER                               ERROR RATE AFTER THIS LAYER
   ───────────────────────────────────────────────────────────────────────
   1. BASE SELECTION                   about 1 in 10⁴–10⁵
      the polymerase picks the base
      that fits the template           ("raw bit error rate")
                │
                ▼
   2. PROOFREADING                     about 100 times better
      the polymerase checks the base
      it just added, and removes it    ("read-after-write verify")
      if it is wrong
                │
                ▼
   3. MISMATCH REPAIR                  about 100–1,000 times better
      other enzymes scan the new DNA,
      find wrong pairs, and fix the    ("scrub against the master copy")
      NEW strand
   ───────────────────────────────────────────────────────────────────────
   RESULT                              about 1 in 10⁹–10¹⁰ per base pair copied

The third layer faces a tricky problem: which strand is right? In E. coli, the old strand carries small chemical tags on the sequence GATC, and the freshly made strand does not have them yet. So the repair enzymes know which strand is the master. It is like a version flag on the original copy.

Mutation rates

WhereRate (approx.)Note
E. coli, one copy of the genome10⁻¹⁰ per base pairFrom long-running evolution experiments
Human, one cell divisionAbout 10⁻¹⁰ per base pairEstimated from the rate per generation
Human, parent to childAbout 1.0–1.3 × 10⁻⁸ per base pairMeasured in families, 2012–2017
New mutations in each childAbout 60–70Each extra year of the father's age adds about 1.5
Blood stem cells in the bodyAbout 17 new mutations a yearEmily Mitchell and colleagues, 2022
RNA virusesAbout 10⁻⁴–10⁻⁶ per letterWhy they change so fast

Two facts jump out. No two cells in your body have exactly the same genome. By age 50, each blood stem cell has collected roughly a thousand mutations of its own. And errors are sometimes a feature. Evolution needs mutations, and your immune cells deliberately mutate their antibody genes to find better antibodies.

Tomas Lindahl, Paul Modrich and Aziz Sancar shared the 2015 Nobel Prize in Chemistry for mapping how cells repair their DNA.

Accuracy costs energy

In 1974, John Hopfield found a general rule. The difference in binding energy between a right and a wrong partner limits how well a molecule can tell them apart. To do better, a machine must spend extra energy, such as an ATP, on an extra checking step. He called this kinetic proofreadingspending energy on an extra checking step so a molecular machine can pick the right partner more reliably than binding alone allows. Hopfield later shared the 2024 Nobel Prize in Physics, for his work on neural networks; the same physicist, half a century apart, links this chapter to the brain chapters to come.

For an engineer the rule feels familiar: more reliability costs more energy. Chapter 1 showed the energy table, and chapter 11 applies the same idea to the brain.


How large are genomes?

A ladder of genome sizes

A genome is the complete DNA (or, for some viruses, RNA) of an organism. Sizes are counted in letters, or in base pairs for double-stranded DNA.

OrganismGenome size (approx.)At 2 bits per base, one copy
Phage ΦX174, a virus of bacteria (first DNA genome sequenced, 1977)5,386 lettersAbout 1.3 kB
SARS-CoV-2, the virus behind COVID-1929,903 lettersAbout 7.5 kB
Nasuia, a bacterium living inside insects (smallest known cellular genome)112,000 bpAbout 28 kB
JCVI-syn3.0, a synthetic minimal cell (2016)About 531,000 bp, 473 genesAbout 133 kB
Pandoravirus, a giant virusAbout 2.5 million bpAbout 0.6 MB
E. coliAbout 4.6 million bpAbout 1.2 MB
Baker's yeastAbout 12 million bpAbout 3 MB
Human, one complete copy (telomere-to-telomere assembly, 2022–2023)About 3.06–3.12 billion bpAbout 765–780 MB
Bread wheatAbout 16 billion bpAbout 4 GB
Axolotl, a salamanderAbout 32 billion bpAbout 8 GB
Paris japonica, a flowerAbout 149 billion bpAbout 37 GB
Tmesipteris oblanceolata, a fork fern (record, 2024)About 160 billion bpAbout 40 GB

Size does not follow complexity

A small fern has about 50 times more DNA than you do. An onion has more than you, too. Biologists call this puzzle the C-value paradoxthe observation that genome size has little to do with how complex an organism is. Much of the explanation is that big genomes are mostly repeats, many of them transposons"jumping genes": stretches of DNA that copy and paste themselves around the genome, genetic hitchhikers that copy and paste themselves around the genome.

Paris japonica, a white flower with a ring of large green leavesTmesipteris elongata, a small fork fern that hangs from a mossy tree trunk
Left: Paris japonica, a flower with about 149 billion base pairs. Right: Tmesipteris elongata, a fork fern of the same genus as the record holder (about 160 billion base pairs). Each has about 50 times more DNA than a human. Photos: alpsdake, public domain · Alan Liefting, public domain, via Wikimedia Commons.

How much of the human genome does something?

Part of the human genomeApproximate share
Codes for protein (about 19,000–20,000 genes)About 1–1.5%
Transposons and their remainsAbout 45–50%
Under evolutionary constraint, a sign of functionAbout 8% in one 2014 estimate; studies range from about 3% to 15%
"Biochemical activity" (ENCODE project, 2012)80%, a figure strongly debated, since activity is not the same as function

Two popular claims are both too simple. "98% of our DNA is junk" is wrong, because many non-coding regions control genes. "ENCODE proved 80% is functional" is also wrong. A fair summary today: about 1% codes for protein, perhaps 5–15% does other useful work, and the rest is mostly neutral passenger DNA.

A software picture: a repository where about 1% is product code and 5–10% is configuration and build scripts. The rest is old vendored folders and abandoned branches, a few of which are still quietly used.


Showcase: how much data is in 1 mL of blood?

Here is a calculation that captures the most important idea of the chapter. The raw amount of DNA and the amount of information are very different things.

Step 1: which parts of blood carry DNA?

A millilitre of blood holds billions of cells, but most of them have no DNA at all.

Part of bloodNumber in 1 mL (approx.)Nucleus?DNA
Red blood cells4.2–5.9 billionNoNone in the nucleus
Platelets150–400 millionNoOnly traces of mitochondrial DNA
White blood cells4–11 million (normal adult range)YesOne full two-copy genome each
Cell-free DNA——A tiny amount

White blood cellsthe immune cells of the blood; unlike red cells they have a nucleus and a full genome are only about 0.1–0.2% of the cells in blood, yet they carry almost all of its DNA. Red cells and plateletssmall cell fragments in blood that help it clot carry essentially none. The calculation below uses a typical 7 million white cells per millilitre.

Step 2: the calculation

Each white cell holds two copies of the genome, one from each parent, which biologists call diploidhaving two copies of each chromosome, one from each parent. That is about 6.3 billion base pairs, weighing about 6.46 picograms.

Multiply by 7 million cells and you get about 45 micrograms of DNA in a millilitre of blood, roughly the mass of a small grain of sand. Turn every base pair into 2 bits and the total comes to about 11 petabytes of raw sequence.

Go deeper: the blood sums
StepQuantityCalculationResult
1White cells in 1 mLTypical value (range 4–11 million)7 × 10⁶
2DNA in one cellPiovesan et al. 2019: 6.41 pg (male), 6.51 pg (female)About 6.46 pg
3Base pairs in one cell6.27 billion (male), 6.37 billion (female)About 6.3 × 10⁹
4DNA mass in 1 mL7 × 10⁶ × 6.46 pgAbout 45 µg (range about 26–71 µg)
5Base pairs in 1 mL7 × 10⁶ × 6.3 × 10⁹About 4.4 × 10¹⁶
6Raw data× 2 bits ÷ 8About 11 PB (range about 6–17 PB)
7One copy of the genomeAbout 3.1 × 10⁹ bp × 2 bits ÷ 8About 775 MB
8Both copiesAbout 6.3 × 10⁹ bp × 2 bits ÷ 8About 1.5–1.6 GB

Two sanity checks. Laboratory DNA-extraction kits typically recover about 4–12 µg from 0.2 mL of blood, or 20–60 µg per mL, which fits step 4 since no extraction is perfect. And mitochondria add very little: each white cell carries roughly 100–1,000 copies of the 16,569-letter mitochondrial genome, under about 0.3% of the nuclear DNA.

Step 3: raw data versus unique information

   1 mL OF BLOOD

   RAW BASE PAIRS            about 11 PB      ████████████████████████████████
   (7 million copies)

   ONE TWO-COPY GENOME       about 1.5 GB     █  (one cell's worth)

   ONE SINGLE COPY           about 775 MB     ▌

   DIFFERENT FROM THE        about 4 MB       ·  (fits in an email attachment)
   REFERENCE GENOME
  • 11 PB is raw data. It counts every base pair in every cell. But all those cells carry essentially the same genome, so 11 PB is really about 7 million copies of about 1.5 GB.
  • 1.5 GB is one two-copy genome. Your two copies, one from each parent, differ at only about 0.1% of positions, so the second adds only a few megabytes of genuinely new information.
  • About 4 MB is what makes you different. All humans share most of their genome. A typical person differs from the standard reference genomean agreed, representative human genome sequence that others are compared against at about 4.1–5.0 million positions, according to the 1000 Genomes Project in 2015. In 2009, Scott Christley and colleagues stored James Watson's genome in about 4 MB as a list of differences from the reference. Their paper's title says it perfectly: "Human genomes as email attachments."

So the information that makes you genetically unique is about 4 megabytes, and your blood keeps it with a redundancy of about 7 million copies in every millilitre.

Step 4: the hidden information

The calculation above hides one simplification: the white cells are not perfect copies.

  • Somatic mutationsmutations that arise in body cells during life, rather than being inherited build up as we live. Blood stem cells gain about 17 a year, so by 50 each cell carries roughly a thousand of its own. They record the family tree of your cells, like the version history of a repository.
  • Immune receptor genes are deliberately unique. Each B cell and T cell cuts and rejoins its antibody or receptor genes in its own way. Together, they record which infections your body has met.

A rough estimate of all those private mutations: 7 million cells × about 1,000 mutations × about 34 bits to describe each (its position and new letter) gives about 2 × 10¹¹ bits, or about 30 GB. It is an order-of-magnitude estimate, and today nobody can read it, because it would need every single cell sequenced separately.

So a millilitre of blood holds two kinds of information: a few megabytes describing who you are, and a much larger record of what has happened to you, still mostly unreadable.

Step 5: cell-free DNA

The liquid part of blood, the plasmathe pale liquid part of blood, about 55% of its volume, also carries short fragments of cell-free DNAshort pieces of DNA floating in blood plasma, mostly from cells that have died, mostly from blood cells that have died. The pieces are about 167 base pairs long, which is exactly the length that wraps around one histone spool. The body clears them within minutes to a couple of hours.

There is very little of it. In 2019, Romain Meddeb and colleagues measured 104 healthy people and found a median of about 5.4 nanograms of nuclear cell-free DNA per millilitre of plasma; most studies report about 1–15. That is less than a ten-thousandth of the DNA inside the cells. Yet it is still tens of billions of fragments, roughly 1,600 genomes' worth, or over a terabyte of raw sequence.

Small in mass, it is enormous in value. In pregnancy, some cell-free DNA comes from the placenta, so a simple blood draw can check the baby's chromosomes. In cancer, some comes from the tumour, so a blood test can look for cancer, a "liquid biopsy". The challenge, and the wonder, is finding a few tumour fragments among billions of normal ones.

Go deeper: cell-free DNA sums
StepCalculationResult
In healthy plasmaMedian of 104 people (Meddeb 2019); typical range 1–15 ng/mLAbout 5.4 ng per mL of plasma
Per mL of whole blood5.4 ng × 0.55About 3 ng
Fragments per mL of plasma5.4 ng ÷ mass of one 167-bp piece (about 1.8 × 10⁻¹⁹ g)About 3 × 10¹⁰
Genome equivalents5.4 ng ÷ about 3.3 pg per single genome copyAbout 1,600 (the paper measured 1,640 copies per mL)
Raw dataAbout 5 × 10¹² bp × 2 bits ÷ 8About 1.3 TB

Step 6: what the same mass of synthetic DNA could store

The 45 micrograms of DNA in a millilitre of blood weigh about as much as a grain of sand. Suppose an engineer filled that same mass with synthetic DNA carrying files instead.

Way to use 45 µg of DNADensityData in 45 µg
Natural blood DNA, unique information—About 1.5 GB (about 4 MB new versus the reference)
Synthetic DNA at the practical density (Erlich 2017, about 1,300 copies per strand)About 215 PB per gramAbout 10 TB
Synthetic double-stranded DNA, theory, one copyAbout 230 EB per gramAbout 10 PB
Synthetic single-stranded DNA, theory, one copyAbout 455 EB per gramAbout 20 PB

The comparison shows two different design choices. Biology keeps about 1.5 GB at a redundancy of millions, each copy inside a living cell that can use it. A storage engineer would put about 10 TB in the same speck, at a redundancy of about a thousand. The chemistry can hold the data easily. The hard part, for now, is the cost and time of writing that much DNA, which chapters 5 and 7 explore.


Information beyond the sequence

Same genome, different cells

Your body has more than 200 types of cell, from neurons to liver cells, and almost all carry the same genome. They differ in which genes they use. Each cell keeps that "state" in layers of information outside the sequence. The field that studies this is epigenetics"on top of genetics": information that changes how genes are used without changing the DNA letters.

LayerWhat it isComputing analogy
DNA methylationA small chemical tag (a methyl group) on a C, usually where C is followed by GConfiguration flags on a firmware image
Histone marksChemical labels on the protein spools that hold the DNAWhich partitions are mounted, and which are locked
3D foldingLoops that bring distant control regions next to a geneA routing table between parts of the code
RNA and protein contentThe molecules present in the cell right nowRAM: the running state, lost when the cell dies

DNA methylation: a fifth base

The human genome has about 28 million places where a C is followed by a G, called CpG sitesplaces in DNA where a C is followed by a G; the usual spots for methylation. In most body cells, about 70–80% of them carry a methyl tag. Biologists sometimes call methylated C "the fifth base". The pattern differs between cell types and drifts with age.

  • An epigenetic clock. In 2013, Steve Horvath showed that the methylation of just 353 CpG sites can predict a person's age from a DNA sample, remarkably well.
  • Where a fragment came from. Each tissue has its own methylation pattern, so the pattern on cell-free DNA reveals which tissue it came from. Some cancer tests use exactly this.
  • How to read it. Nanopore and PacBio machines read methylated C directly from natural DNA. Illumina machines need a chemical conversion step first (chapter 4).

A rough count: 28 million sites × 1 bit each is about 3.5 MB per genome copy. In real tissue, each site is a fraction between 0 and 1 across many cells, so the true picture is richer. Methylation is also copied when a cell divides, though not perfectly, which makes it both metadata and inherited data. Some researchers are even testing it as an extra channel for DNA data storage (chapter 6).


Analogies that work, and where they mislead

AnalogyWhy it worksWhere it misleads
DNA is a tape with 2 bits per symbolTrue for the sequenceNo block size and no index; readers sample random fragments (chapter 4)
The second strand is a RAID-1 mirrorRepair uses the other strandBoth strands can be damaged; then the cell uses the second chromosome, like RAID across two disks
The mutation rate is a bit error rateErrors per letter per copySome errors are useful: evolution and antibodies depend on them
The genome is source codeIt specifies proteins and RNAsOnly about 1% is "code", there is no syntax, and chemistry runs it, not a processor
Junk DNA is dead codeMuch of it has no known functionSome of it controls genes; "junk" is not a precise term
Methylation is metadataIt changes how the data is usedIt is copied at each division, so it is also inherited data
A gram of DNA could hold all the world's data455 EB per gram is vastIf the world stores roughly 10 zettabytes (a rough estimate), that is about 22 g in theory but about 47 kg at the practical density, and nobody can yet write that much DNA (chapter 7)

A short history

YearEvent
1866Gregor Mendel publishes his laws of inheritance
1950Erwin Chargaff finds that A = T and G = C in DNA
1953Watson and Crick publish the double helix, built on X-ray data from Rosalind Franklin, Raymond Gosling and Maurice Wilkins
1974John Hopfield explains kinetic proofreading
1977Fred Sanger's team sequences ΦX174, the first DNA genome
1988Artist Joe Davis puts a 35-bit image, "Microvenus", into DNA
1993Tomas Lindahl's review "Instability and decay of the primary structure of DNA"
2001First drafts of the human genome
2009A human genome as an "email attachment" of about 4 MB
2012Church, Gao and Kosuri store a book in DNA; Allentoft and colleagues measure the 521-year half-life
2013Goldman and colleagues store about 739 kB in DNA
2015DNA in glass spheres (Grass, Stark); Nobel Prize for DNA repair (Lindahl, Modrich, Sancar)
2017DNA Fountain reaches about 215 PB per gram (Erlich, Zielinski)
2021DNA from million-year-old mammoths
2022The first truly complete human genome, telomere to telomere; two-million-year-old DNA from Greenland
2024A fork fern with about 160 billion base pairs breaks the genome-size record

Open questions

DNA has been studied for 150 years, yet some of the most interesting questions are wide open.

  • How close to 2 bits per letter can we get? Real codes reach about 1.6. Better writers and readers would loosen the rules on runs and G–C balance. Where is the true ceiling once the chemistry improves?
  • How few copies can a strand get away with? The 2017 record needed about 1,300 copies of each strand. Smarter sampling, gentler copying or single-molecule reading might bring that down, and each halving doubles the density.
  • How long can engineered DNA really last? The silica predictions come from accelerated ageing. Long-term tests, and natural samples like the Greenland sediments, will tell us whether million-year storage holds up.
  • What does the rest of the genome do? Between 1% coding and 80% "active", the truly functional share is still debated. New tools that test every region at scale may finally settle it.
  • Could we read the hidden record? The somatic mutations in a millilitre of blood may hold tens of gigabytes about your life history. As single-cell sequencing gets cheaper, how much of that story could we read, and what would it teach medicine?

What to remember

  • DNA uses four letters, with A pairing to T and G to C, so the second strand is a mirror copy that repair enzymes rely on. One letter holds at most 2 bits; practical codes hold about 1.6.
  • The theoretical density is about 455 EB per gram; the best practical demonstration is about 215 PB per gram, because each strand needs about a thousand copies.
  • Dead DNA decays slowly: about a 521-year half-life in bone at 13 °C, and cold, dry DNA has been read after two million years.
  • Cells correct copy errors in three layers, from about one in 10⁴ to about one in 10⁹–10¹⁰, and accuracy costs energy.
  • A millilitre of blood holds about 11 PB of raw sequence, but that is millions of copies of a 1.5 GB genome, and the part that is uniquely you is about 4 MB.

Sources

  • Watson, J. D. & Crick, F. H. C. (1953). "Molecular structure of nucleic acids." Nature 171:737. https://www.nature.com/articles/171737a0 ; Franklin, R. E. & Gosling, R. G. (1953). Nature 171:740. https://www.nature.com/articles/171740a0
  • Church, G. M., Gao, Y. & Kosuri, S. (2012). "Next-generation digital information storage in DNA." Science 337:1628. https://www.science.org/doi/10.1126/science.1226355
  • Goldman, N., Bertone, P., Chen, S. et al. (2013). "Towards practical, high-capacity, low-maintenance information storage in synthesized DNA." Nature 494:77. https://www.nature.com/articles/nature11875
  • Erlich, Y. & Zielinski, D. (2017). "DNA Fountain enables a robust and efficient storage architecture." Science 355:950. 2.14 MB in 72,000 strands of 200 nt; about 215 PB per gram; zero errors. https://pubmed.ncbi.nlm.nih.gov/28254941/ ; press release: https://www.eurekalert.org/news-releases/822697
  • Allentoft, M. E., Collins, M., Harker, D. et al. (2012). "The half-life of DNA in bone: measuring decay kinetics in 158 dated fossils." Proc. R. Soc. B 279:4724. 521 years for 242 bp mtDNA at about 13 °C; 6.8 million years upper bound at −5 °C. https://royalsocietypublishing.org/doi/10.1098/rspb.2012.1745 ; news summary: https://www.nature.com/articles/nature.2012.11555
  • Kjær, K. H., Winther Pedersen, M., De Sanctis, B. et al. (2022). "A 2-million-year-old ecosystem in Greenland uncovered by environmental DNA." Nature 612:283. https://www.nature.com/articles/s41586-022-05453-y
  • van der Valk, T. et al. (2021). "Million-year-old DNA sheds light on the genomic history of mammoths." Nature 591:265. https://www.nature.com/articles/s41586-021-03224-9
  • Grass, R. N., Heckel, R., Puddu, M., Paunescu, D. & Stark, W. J. (2015). "Robust chemical preservation of digital information on DNA in silica with error-correcting codes." Angew. Chem. Int. Ed. 54:2552. One week at 70 °C ≈ 2,000 years in central Europe; over a million years at −18 °C (predicted). https://onlinelibrary.wiley.com/doi/10.1002/anie.201411378 ; summary: https://www.chemistryviews.org/?p=37716
  • Lindahl, T. (1993). "Instability and decay of the primary structure of DNA." Nature 362:709. https://www.nature.com/articles/362709a0
  • Hopfield, J. J. (1974). "Kinetic proofreading." PNAS 71:4135. https://www.pnas.org/doi/10.1073/pnas.71.10.4135
  • Milo, R. & Phillips, R. Cell Biology by the Numbers: mutation rate during genome replication. http://book.bionumbers.org/what-is-the-mutation-rate-during-genome-replication/
  • Jónsson, H. et al. (2017). "Parental influence on human germline de novo mutations in 1,548 trios from Iceland." Nature 549:519. https://www.nature.com/articles/nature24018 ; Kong, A. et al. (2012). Nature 488:471. https://www.nature.com/articles/nature11396
  • Mitchell, E. et al. (2022). "Clonal dynamics of haematopoiesis across the human lifespan." Nature 606:343. About 17 mutations per year in blood stem cells. https://pmc.ncbi.nlm.nih.gov/articles/PMC9177423
  • Hidalgo, O., Pellicer, J. et al. (2024). "A 160 Gbp fork fern genome shatters size record for eukaryotes." iScience 27:109889. 160.45 Gbp; Paris japonica 148.89 Gbp. https://doi.org/10.1016/j.isci.2024.109889
  • Nurk, S. et al. (2022). "The complete sequence of a human genome." Science 376:44. https://www.science.org/doi/10.1126/science.abj6987
  • Piovesan, A. et al. (2019). "On the length, weight and GC content of the human genome." BMC Research Notes 12:106. https://pmc.ncbi.nlm.nih.gov/articles/PMC6391780/
  • International Human Genome Sequencing Consortium (2001). Nature 409:860. https://www.nature.com/articles/35057062
  • ENCODE Project Consortium (2012). Nature 489:57. https://www.nature.com/articles/nature11247 ; Rands, C. M. et al. (2014). "8.2% of the human genome is constrained." PLOS Genetics 10:e1004525. https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1004525
  • 1000 Genomes Project Consortium (2015). "A global reference for human genetic variation." Nature 526:68. 4.1–5.0 million variant sites per genome. https://www.nature.com/articles/nature15393
  • Christley, S., Lu, Y., Li, C. & Xie, X. (2009). "Human genomes as email attachments." Bioinformatics 25:274. https://academic.oup.com/bioinformatics/article/25/2/274/218760
  • Meddeb, R. et al. (2019). "Quantifying circulating cell-free DNA in humans." Scientific Reports 9. Median nuclear cell-free DNA in 104 healthy people: 1,640 copies, about 5.43 ng per mL of plasma. https://pmc.ncbi.nlm.nih.gov/articles/PMC6435718
  • Snyder, M. W. et al. (2016). "Cell-free DNA comprises an in vivo nucleosome footprint that informs its tissues-of-origin." Cell 164:57. About 167 bp fragments. https://www.cell.com/cell/fulltext/S0092-8674(15)01569-X
  • Lister, R. et al. (2009). "Human DNA methylomes at base resolution show widespread epigenomic differences." Nature 462:315. https://www.nature.com/articles/nature08514 ; Horvath, S. (2013). "DNA methylation age of human tissues and cell types." Genome Biology 14:R115. https://genomebiology.biomedcentral.com/articles/10.1186/gb-2013-14-10-r115
  • Nobel Prize in Chemistry 2015 (Lindahl, Modrich, Sancar). https://www.nobelprize.org/prizes/chemistry/2015/summary/
  • IDC (2019). Global StorageSphere forecast: installed storage capacity about 11.7 ZB by 2023 (forecast). https://iconnect007.com/article/115496/installed-base-of-storage-capacity-more-than-doubling-by-2023/115499/ein

Estimates in this chapter that rest on calculation rather than a single measured source: the 455 EB and 230 EB per gram figures (arithmetic from molecular mass); the 1,300 copies per strand; all of the blood and cell-free DNA arithmetic; the 30 GB of private mutations; the size of the world's stored data (forecasts differ); the daily count of DNA lesions per cell (a commonly quoted range); the silica lifetimes (predictions from accelerated ageing).


Previous: 1. A factory that runs on noise · Next: 3. The molecular toolkit