Two strands, one twist
DNA's double helix is two long sugar-phosphate backbones wound around a common axis in a right-handed spiral, with flat nitrogenous bases stacked between them like rungs on a twisted ladder. In the most common conformation, B-form DNA — the shape James Watson and Francis Crick modelled in 1953 from Rosalind Franklin's and Raymond Gosling's X-ray diffraction data — the helix repeats every 3.4 nanometres, completing one full turn roughly every 10.5 base pairs, with an overall diameter of about 2 nanometres.
B-DNA geometry (approximate): helical diameter ≈ 2.0 nm rise per base pair ≈ 0.34 nm base pairs per full turn ≈ 10.5 twist per base pair ≈ 34.3°
Base pairing: A–T, G–C, and nothing else
The two strands run antiparallel — one reads 5' to 3' while its partner runs 3' to 5' alongside it — and are held together purely by the pattern of hydrogen bonds between complementary bases. Adenine pairs only with thymine (two hydrogen bonds), and guanine pairs only with cytosine (three hydrogen bonds); this is why a G–C-rich stretch of DNA is measurably more thermally stable than an A–T-rich one — one extra hydrogen bond per pair adds up quickly over thousands of base pairs. Because each base has exactly one correct partner, knowing the sequence of one strand instantly gives you the complementary sequence of the other — the single most consequential fact in molecular biology, since it is what lets a cell copy its genome and what lets PCR and sequencing machines work at all.
Major and minor grooves
Winding two strands around one axis instead of stacking them symmetrically leaves two grooves of unequal width running along the helix — a wide major groove (about 2.2 nm) and a narrow minor groove (about 1.2 nm). This asymmetry exists because the two backbone attachment points on each base pair are not diametrically opposite. It matters biologically because most of a base pair's chemically distinctive surface — the pattern that lets a protein tell an A–T pair from a G–C pair without unwinding the helix — is exposed in the major groove, which is why the overwhelming majority of sequence-specific DNA-binding proteins, including transcription factors, read the genome by inserting a recognition helix into the major groove.
Why it twists at all
The helical twist is a direct consequence of the sugar-phosphate backbone's own geometry — the deoxyribose sugar has a fixed puckered conformation and the phosphodiester bond linking one sugar to the next has a preferred torsion angle, so a straight, untwisted ladder of stacked base pairs is not a low-energy shape; the chain naturally coils. Stacking the flat, roughly planar bases directly on top of one another also gives a stabilising base-stacking interaction (a mix of van der Waals contacts and the hydrophobic effect of burying the flat aromatic rings away from water), which favours a tightly wound, base-pairs-parallel arrangement over a loose, splayed one. Hydrogen bonding holds the two strands to each other; stacking and backbone geometry are what make the assembly coil into a helix rather than lying flat.
Randomising the sequence
Because each of the four bases (A, T, G, C) pairs deterministically with exactly one partner, a renderer only needs to choose the sequence of one strand at random and its partner strand follows automatically — every A generates a T on the opposite backbone at the same rung height, every G a C. Colour-coding the two pair types differently is what makes the ladder's rungs visually pop as the simulation rotates, and regenerating a random sequence is simply redrawing that column of choices and mirroring it.
Frequently asked questions
Why does adenine only pair with thymine, and guanine only with cytosine?
Purely geometric and chemical fit: A and T align to form exactly two hydrogen bonds and G and C align to form exactly three, and only these pairings fit the fixed width of the helix without straining the backbone. Mismatched pairs don't fit the same geometry, which is also how DNA polymerase and repair enzymes detect copying errors.
Why does DNA form a helix instead of a flat ladder?
A flat, untwisted ladder isn't the lowest-energy shape available — the backbone's sugar-phosphate torsion angles have a preferred twist, and stacking the flat bases directly on top of each other (rather than splayed) gives extra stabilising stacking interactions, so the whole assembly naturally coils into a helix.
What's the difference between the major and minor groove?
They're the two unequal-width grooves created because the backbone attachment points on each base pair aren't diametrically opposite. The major groove exposes more of each base pair's distinctive chemical surface, which is why most DNA-binding proteins read the genetic sequence through the major groove rather than the narrower minor groove.
Try it live
Everything above runs in your browser — open DNA Double Helix and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open DNA Double Helix simulation