Skip to content

DNA vs. Gene: What's the Difference?

The difference is whole versus part. DNA is the long molecule that carries all of your genetic information, written in a chemical code. A gene is just a specific segment of that DNA — a single 'instruction' that codes for a particular protein or trait. Think of DNA as the whole book and a gene as one sentence in it.

See the difference, explained visually.
Watch a 2-minute animated lesson comparing dna and gene.
▶ Watch the lesson

At a glance

DNAGene
What it isThe full genetic moleculeA segment of DNA
ScaleEntire code (billions of letters)One instruction (a stretch of letters)
JobStores and passes on all informationCodes for one protein or trait
AnalogyThe whole cookbookA single recipe
How manyOne genome per cell~20,000 genes in humans

Which should you use?

DNA

You're talking about DNA when you mean the molecule itself — the double helix that holds the complete set of instructions and gets copied and passed to new cells and offspring.

Gene

You're talking about a gene when you mean one functional unit of that code — the part that determines a specific feature, like eye colour or a particular enzyme.

Frequently asked questions

Is a gene made of DNA?
Yes. A gene is literally a section of the DNA molecule. DNA is the material; a gene is a meaningful stretch of it that carries one set of instructions.
What's a chromosome then?
A chromosome is DNA wound up tightly into a package. Humans have 46 chromosomes, and each one contains many genes along its length.
How is DNA different from RNA?
DNA is the stable, long-term store of the code; RNA is a working copy the cell makes from DNA to actually build proteins. DNA is the master; RNA is the messenger.

Learn more about each