molecalculator

Moles & Molar Mass

DNA to RNA to Protein Diagram: How It Works

Calculator No. 01-13640 · Updated · Formula and assumptions shown below

RNA length (nucleotides) 300 nt
Protein length (amino acids)
100 aa
Result, rounded to a whole number
Codons in mRNA
100 codons
Result, rounded to a whole number
DNA length (base pairs)
300 bp
Set in the form below
You enter
DNA length (base pairs) (bp)
You get
RNA length (nucleotides) (nt), Protein length (amino acids) (aa), Codons in mRNA (codons)
Rounding
0 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This page explains the central dogma of molecular biology—how genetic information flows from DNA to RNA to protein—and provides a clear diagram of the process. You can use the calculator below to convert between DNA length, RNA length, and the number of amino acids in the resulting protein, which helps visualize the scale of each step.

Formula

The diagram follows three main steps: transcription (DNA → RNA) and translation (RNA → protein). The calculator uses these relationships:

  • RNA length (nt) = DNA length (bp) × 1. In double-stranded DNA, one strand serves as the template, so the mRNA is single-stranded and has the same number of nucleotides as the base pairs of the coding region.
  • Protein length (amino acids) = floor(RNA length / 3). Each codon (three nucleotides) codes for one amino acid. The stop codon does not code for an amino acid, so the actual protein is slightly shorter, but this is a good estimate.

Variables: bp = number of base pairs in the DNA coding sequence (unit: bp), nt = number of nucleotides in the mRNA (unit: nt), aa = number of amino acids in the protein (unit: aa).

Worked Example

Suppose you have a DNA coding sequence of 300 base pairs.

  1. Transcription: The mRNA will have the same number of nucleotides as the DNA base pairs: 300 nt.
  2. Translation: Divide by 3 to get the number of codons: 300 / 3 = 100 codons.
  3. Protein length: Each codon adds one amino acid, so the protein has about 100 amino acids (ignoring the stop codon).

The calculator returns: RNA length = 300 nt, codons = 100, protein length = 100 amino acids.

Assumptions

  • The DNA sequence is a coding region (exon) with no introns.
  • Transcription produces a single mRNA from the template strand.
  • Each codon codes for exactly one amino acid, and the stop codon is not counted.
  • The protein is not subject to post-translational cleavage or modifications that change length.

Background: The Central Dogma

The central dogma of molecular biology, first stated by Francis Crick in 1957, describes the flow of genetic information: DNA is transcribed into RNA, and RNA is translated into protein. This flow is unidirectional in most organisms, though retroviruses reverse it (RNA → DNA) using reverse transcriptase. The diagram you are looking for typically shows a double helix (DNA) unzipping, an mRNA strand being synthesized, and then ribosomes reading the mRNA to assemble a chain of amino acids.

How the Process Works Step by Step

Here is a detailed breakdown of the steps shown in a typical DNA-to-RNA-to-protein diagram:

  • Initiation: RNA polymerase binds to a promoter region on the DNA, unwinding a small section of the double helix.
  • Elongation (Transcription): RNA polymerase moves along the template strand (3′ to 5′), adding complementary RNA nucleotides (A, U, G, C) to form a growing mRNA strand (5′ to 3′).
  • Termination: RNA polymerase reaches a terminator sequence, and the mRNA is released.
  • Processing (Eukaryotes): Introns are spliced out, a 5′ cap and a poly-A tail are added, producing mature mRNA.
  • Initiation (Translation): The ribosome binds to the mRNA at the start codon (AUG).
  • Elongation (Translation): tRNA molecules bring amino acids to the ribosome, matching their anticodons to the mRNA codons; peptide bonds form between amino acids.
  • Termination: A stop codon (UAA, UAG, UGA) is reached, and the ribosome releases the completed polypeptide.

How to Read the Diagram

When you look at a DNA-to-RNA-to-protein diagram, focus on three key parts:

  • DNA: Usually shown as a double helix with one strand labeled “template” (3′ to 5′) and the other “coding” (5′ to 3′). The coding strand has the same sequence as the mRNA (except T replaces U).
  • mRNA: A single strand with nucleotides A, U, G, C. It is complementary to the template strand.
  • Protein: A chain of amino acids, often drawn as a string of circles or a folded shape. Each group of three mRNA nucleotides (codon) corresponds to one amino acid.

Remember that the diagram is a simplification: in reality, multiple ribosomes can translate the same mRNA simultaneously, and proteins often fold and undergo modifications after translation.

Common Mistakes and Misconceptions

  • Confusing the template strand with the coding strand: The mRNA is complementary to the template strand, not identical to it. The coding strand has the same sequence as the mRNA (with T instead of U).
  • Thinking every DNA base pair codes for an amino acid: Only exons (coding regions) are translated. Introns are removed during splicing.
  • Forgetting the stop codon: The stop codon does not code for an amino acid, so the protein is shorter than the total number of codons. For example, a 300-nt mRNA has 100 codons, but if the last codon is a stop, the protein has 99 amino acids.
  • Using the wrong reading frame: Translation starts at the start codon (AUG) and proceeds in triplets; shifting the frame by one nucleotide completely changes the protein.

Why This Matters in Real Life

Understanding the DNA-to-RNA-to-protein diagram is essential for many fields:

  • Genetic engineering: When you insert a gene into a plasmid, you need to know the coding sequence length to predict the protein size.
  • PCR and cloning: Designing primers requires knowing the exact sequence and reading frame.
  • Medicine: Many diseases are caused by mutations that alter the protein sequence; the diagram helps explain how a single base change can lead to a nonfunctional protein.
  • Biotechnology: Producing recombinant proteins (like insulin) in bacteria relies on the same transcription and translation machinery.

Frequently Asked Questions

What is the difference between DNA and RNA?

DNA is double-stranded, contains deoxyribose sugar, and uses thymine (T). RNA is single-stranded, contains ribose sugar, and uses uracil (U) instead of thymine. DNA stores genetic information, while RNA carries it to the ribosome for protein synthesis.

How many nucleotides code for one amino acid?

Three nucleotides, called a codon, code for one amino acid. There are 64 possible codons (4^3), but only 20 standard amino acids, so the genetic code is degenerate—multiple codons can specify the same amino acid.

Why is the protein shorter than the number of codons?

Because the stop codon (UAA, UAG, or UGA) does not code for an amino acid. It signals the ribosome to release the polypeptide chain. So if an mRNA has 100 codons including the stop codon, the protein has 99 amino acids.

Does every DNA sequence get transcribed into RNA?

No. Only genes—specific regions with promoters—are transcribed. In eukaryotic genomes, a large portion of DNA is non-coding (introns, regulatory regions, repetitive sequences) and is not transcribed into mRNA. Even within a gene, introns are spliced out of the pre-mRNA.

Can the process go in reverse?

Yes, in retroviruses like HIV, the enzyme reverse transcriptase converts RNA back into DNA, which then integrates into the host genome. This is an exception to the central dogma, but it does not change the normal flow in most organisms.

Limits of This Calculator

This calculator assumes a simple coding sequence with no introns, a single open reading frame, and no post-translational modifications. Real genes often have multiple exons, alternative splicing, and regulatory sequences that affect the final protein length. For a precise protein length, you need the actual mRNA sequence and knowledge of the start and stop codons. This tool is for educational and planning purposes only—always verify with experimental data.

Related

Formula used
in bp | DNA length (base pairs) | bp | 300 | 0
out nt | RNA length (nucleotides) | nt | bp | 0
out aa | Protein length (amino acids) | aa | floor(nt / 3) | 0
out codons | Codons in mRNA | codons | floor(nt / 3) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →