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.
At a glance
| DNA | Gene | |
|---|---|---|
| What it is | The full genetic molecule | A segment of DNA |
| Scale | Entire code (billions of letters) | One instruction (a stretch of letters) |
| Job | Stores and passes on all information | Codes for one protein or trait |
| Analogy | The whole cookbook | A single recipe |
| How many | One 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.

