Analytical Chemistry

Gel Electrophoresis

A field, a sieve, and a band of light

Gel electrophoresis pulls charged biomolecules through a porous gel using an electric field; small molecules thread through faster than large ones. Agarose handles DNA, polyacrylamide handles proteins, and a ladder of known sizes lets you read the molecular weight of an unknown band.

  • Mobility μv / E (cm²·V⁻¹·s⁻¹)
  • DNA charge−1 per phosphate
  • SDS binding~1.4 g / g protein
  • Agarose run voltage5–10 V/cm
  • SDS-PAGE typical100–200 V, 60–90 min

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

How the gel sieves molecules

Pour molten agarose or polymerize acrylamide into a tray with a comb. As it cools, the polymer chains form a 3D mesh whose pore size depends on the gel concentration. Slip the comb out, leaving wells. Submerge the gel in a buffer that conducts current. Load samples into the wells with a tracking dye that lets you see the front. Hook electrodes to a power supply, switch on, and watch.

The samples carry charge: DNA's phosphate backbone is uniformly negative; proteins coated with SDS are uniformly negative. The electric field pushes them toward the positive electrode. To get there, they have to thread through the gel's pores. A 100 base-pair fragment slips through quickly; a 10,000 bp fragment crawls. After 30–90 minutes, the molecules separate into bands at different positions down the lane.

The relationship between distance migrated and molecular weight is log-linear in the gel's resolving range:

distance ∝ log(1 / MW)

so:  log(MW_unknown) = m · d_unknown + b

where m, b come from the ladder calibration.

The setup

            ┌────────────────────────────────┐
            │   power supply  100–200 V DC   │
            └──┬──────────────────────────┬──┘
               │ (−)                  (+) │
               ▼                          ▼
       ┌────────────────────────────────────┐
       │   ╔════════════════════════════╗   │
       │   ║ buffer (TAE / TBE / Tris)  ║   │
       │   ║                            ║   │
       │   ║  ▢▢▢▢▢▢▢▢▢▢  ← wells       ║   │
       │   ║  │ │ │ │ │ │                ║   │
       │   ║  ▼ ▼ ▼ ▼ ▼ ▼  migration    ║   │
       │   ║                            ║   │
       │   ║  ─── ─── ─── ─── ─── ───  ║   │  bands
       │   ║                            ║   │
       │   ║  agarose / polyacrylamide  ║   │
       │   ╚════════════════════════════╝   │
       └────────────────────────────────────┘
                       cassette / tank

For DNA, the gel sits horizontally submerged in buffer. For proteins, the gel runs vertically between two glass plates with buffer above and below — the geometry forces a sharper field and gives finer resolution at smaller scale.

Worked example — reading a protein from a ladder

You ran SDS-PAGE on a recombinant protein next to a Precision Plus ladder. Measured migration distances from the well:

Ladder band (kDa)Distance (mm)log(kDa)
2505.02.398
1509.02.176
10013.52.000
7517.01.875
5023.01.699
3727.51.568
2534.01.398
Unknown20.5?

Plot log(kDa) on the y-axis and distance on the x-axis. A linear fit through the ladder gives roughly slope m = −0.034, intercept b = 2.57. For the unknown at d = 20.5 mm:

log(MW) = −0.034 × 20.5 + 2.57 = 1.873
MW ≈ 10^1.873 ≈ 75 kDa

Compare to the expected 73 kDa from the gene sequence. The 2 kDa discrepancy is well within the ±5–10% accuracy of SDS-PAGE for a normal globular protein. If your unknown lands far from the prediction, suspect post-translational modification (glycosylation adds 5–30 kDa), proteolytic cleavage, or that you've expressed the wrong fragment.

Six electrophoresis modes compared

ModeGel matrixSeparates byResolutionDetectionBest for
Agarose (DNA)0.7–4% agaroseSize (50 bp – 50 kb)~10% lengthEthidium bromide / SYBR + UVPCR products, restriction digests
SDS-PAGE6–20% polyacrylamideMolecular weight~5–10% MWCoomassie / silver / WesternProtein sizing, purity check
Native PAGE4–15% polyacrylamide, no SDSSize + charge + shapeVariableCoomassie / activity stainEnzyme complexes, oligomers
Isoelectric focusing (IEF)pH gradient gelIsoelectric point pI0.01 pH unitCoomassie / silverCharge variants, hemoglobin
2D electrophoresisIEF strip + SDS-PAGEpI then MW~10⁴ spots resolvableSilver / fluorescentWhole proteome maps
Capillary electrophoresisBuffer-filled capillaryCharge / mass / size10⁵+ theoretical platesUV / fluorescence / MSSanger sequencing, glycans
Pulsed-field gel (PFGE)1% agarose, alternating fieldVery large DNA (50 kb – 10 Mb)~10%Ethidium bromideBacterial chromosomes, yeast

Sanger DNA sequencing — the technique that finished the Human Genome Project's reference assembly — is fundamentally capillary electrophoresis with single-base resolution and four-color fluorescent detection.

Visualizing the bands

  • Ethidium bromide — intercalates DNA and fluoresces orange under UV. Detection limit ~1 ng. Mutagenic; many labs have switched to SYBR Safe or GelRed.
  • Coomassie Brilliant Blue — protein dye, ~50 ng detection limit, blue staining requires destaining in acetic acid.
  • Silver staining — much more sensitive, ~1 ng of protein, but non-quantitative and finicky.
  • Western blot — transfer the gel to nitrocellulose, probe with antibody, detect by chemiluminescence. Specific to one target protein, 1–10 pg sensitivity.
  • Stains-all / fluorescent dyes — modern alternatives like SYPRO Ruby give protein detection sensitivity rivaling silver but with linear quantification across three orders of magnitude.

Variants and adjacent techniques

  • Pulsed-field gel electrophoresis (PFGE) — alternates the field direction every few seconds; large DNA reorients each switch, separating up to 10 Mb. Used for bacterial epidemiology fingerprinting.
  • Two-dimensional electrophoresis (2DE) — first dimension is isoelectric focusing, second is SDS-PAGE perpendicular. Spreads thousands of proteins across the page.
  • Northern blot / Southern blot — gel + transfer + probe for RNA and DNA respectively. Largely replaced by qPCR and sequencing but still used for transcript size confirmation.
  • Microfluidic chip electrophoresis (Bioanalyzer, TapeStation) — miniaturized capillary system that runs a sample in 30 seconds with built-in sizing.

Common pitfalls

  • Smile-shaped lanes. The gel got too hot and the edges ran faster. Lower voltage, run at 4 °C, or use a buffer cooler.
  • Bands fall off the bottom. Watch the dye front and stop the run before it reaches the gel edge — the gradient is gone past that point.
  • No bands at all. Check polarity (DNA migrates to the +). Most power-supply mistakes are reversed leads.
  • Protein streaks vertically. Inadequate denaturation — boil samples in 2× Laemmli at 95 °C for 5 minutes with fresh DTT or β-mercaptoethanol.
  • Salt fronts. High ionic strength in the sample distorts the leading edge. Desalt the protein, or add SDS sample buffer 1:1 to dilute.
  • Old buffer. TAE pH drifts after multiple runs; the current rises and bands smear. Toss after 3–4 runs.

Why electrophoresis still matters

Despite mass spectrometry and high-throughput sequencing taking over identification work, gels remain the cheapest, fastest way to ask "is my purification clean?" or "did my PCR work?". A 1% agarose gel costs about $0.50 in reagents and tells a graduate student in 45 minutes what would otherwise need a $400 sequencing reaction. Every molecular biology lab on Earth runs at least one gel a day — and the apparatus has barely changed since Oliver Smithies invented starch-gel electrophoresis in 1955.

Frequently asked questions

Why does SDS-PAGE separate proteins by size when proteins have different charges?

Sodium dodecyl sulfate (SDS) coats every protein with a roughly constant ratio of negative charge per gram of protein (~1.4 g SDS per g protein). All proteins now have the same charge density and migrate to the anode at speeds determined almost entirely by their size, not their native charge.

What gel percentage should I use?

For agarose with DNA: 0.7% for fragments above 5 kb, 1% for 0.5–10 kb (the workhorse), 2% for 0.1–2 kb, 3–4% for short PCR products. For SDS-PAGE: 6% gel for proteins above 80 kDa, 10% for 30–80 kDa (the workhorse), 12–15% for 10–50 kDa, gradient 4–20% for unknown ranges.

Why is the migration distance log-linear with molecular weight?

The gel acts as a sieve: a molecule's mobility scales inversely with the friction of threading through pore-sized obstacles. Polymer reptation theory predicts that distance migrated is proportional to log(molecular weight) over the gel's resolving range. Plotting log(MW) of ladder bands vs. distance gives a near-straight line you read off for the unknown.

What's the difference between native and denaturing gels?

Native gels keep proteins folded and assembled — useful for studying complexes, enzyme activity, or preserving function for downstream assays. Denaturing gels (SDS-PAGE for proteins, urea or formaldehyde for nucleic acids) unfold everything to give clean size-based separation. Pick native when biology matters; pick denaturing for sizing.

Why are my DNA bands smeared instead of sharp?

Common causes: too much DNA loaded (a single agarose well saturates around 200 ng), running too fast (heat warps bands — keep below 5 V/cm for sharp lanes), degraded sample, or melting the gel from old buffer. Pour fresh 1× TAE, load 50–100 ng per lane, and run at 80 V on a typical 10 cm gel.

How precise is the molecular weight readout?

Within about 5–10% for SDS-PAGE in the gel's optimal range, worse outside it. The biggest sources of error are non-globular shape (intrinsically disordered proteins migrate as if heavier), abnormal SDS binding (highly basic or glycosylated proteins), and over- or underrunning the dye front. For accurate MW, mass spectrometry beats gels.