molecalculator

Moles & Molar Mass

Translation DNA RNA: How It Works

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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.

Translation is the process by which a cell reads a messenger RNA (mRNA) sequence and uses it to build a protein from amino acids. You input an mRNA sequence (or the coding DNA strand) and the genetic code table, and the output is the corresponding amino acid sequence. This page explains the steps, the genetic code, and common questions about translation.

Formula

The translation formula is the genetic code itself: each three-nucleotide codon in the mRNA specifies one amino acid. The sequence is read in a fixed reading frame, starting at the first nucleotide of the chosen frame. The standard code has 64 codons: 61 encode amino acids and 3 are stop signals (UAA, UAG, UGA). The translation is written as:

Protein sequence = f(codon1) + f(codon2) + … + f(codonN)

where each codon is a triplet of nucleotides (A, U, G, C) and f(codon) is the amino acid assigned by the genetic code table. For example, AUG codes for Methionine (Met) and also serves as the start codon. The reading frame determines which triplets are read: frame 1 starts at position 1, frame 2 at position 2, frame 3 at position 3.

Worked Example

Using the default mRNA sequence AUGGCCAAACGUGA and reading frame 1:

  1. Split into codons: AUG | GCC | AAA | CGU | GA
  2. Translate each codon:
    • AUG = Methionine (Met)
    • GCC = Alanine (Ala)
    • AAA = Lysine (Lys)
    • CGU = Arginine (Arg)
    • GA is incomplete (only two nucleotides) – the translation stops because it’s not a full codon.
  3. The resulting amino acid sequence is Met-Ala-Lys-Arg (often written as M-A-K-R).

Note that the stop codon UAA appears at the end of the sequence, but because the last codon is incomplete (GA), the translation actually terminates at the incomplete codon. In a real cell, translation would stop at the first stop codon encountered in the same reading frame.

Assumptions

  • The mRNA sequence is given in the 5′ to 3′ direction.
  • The standard genetic code is used (nuclear code, not mitochondrial or other variants).
  • Translation starts at the first nucleotide of the chosen reading frame, not necessarily at an AUG start codon.
  • The sequence is assumed to be mature mRNA (no introns).

Background: From DNA to RNA to Protein

Translation is the second half of the central dogma of molecular biology: DNA → RNA → Protein. The first step, transcription, copies a gene’s DNA sequence into messenger RNA (mRNA). In eukaryotes, this mRNA is processed (spliced, capped, polyadenylated) and exported to the cytoplasm, where ribosomes translate it. In prokaryotes, transcription and translation can occur simultaneously because there is no nucleus.

The ribosome is a large complex of ribosomal RNA (rRNA) and proteins. It has three binding sites for transfer RNA (tRNA): the A (aminoacyl) site, the P (peptidyl) site, and the E (exit) site. Each tRNA carries a specific amino acid and has an anticodon that base-pairs with the mRNA codon. The ribosome catalyzes peptide bond formation between adjacent amino acids.

How Translation Works: Step by Step

  1. Initiation: The small ribosomal subunit binds to the mRNA near the start codon (AUG). In eukaryotes, the ribosome scans from the 5′ cap to the first AUG. The initiator tRNA (carrying methionine) binds to the start codon in the P site.
  2. Elongation: The large subunit joins, forming a functional ribosome. A tRNA with an anticodon matching the next codon enters the A site. The ribosome catalyzes a peptide bond between the amino acid in the P site and the one in the A site. The ribosome then translocates one codon forward, moving the peptidyl-tRNA from the A site to the P site, and the empty tRNA moves to the E site and exits.
  3. Termination: When a stop codon (UAA, UAG, UGA) enters the A site, no tRNA matches it. Instead, release factors bind, prompting the ribosome to hydrolyze the bond between the polypeptide and the tRNA, releasing the new protein.
  4. Folding and processing: The polypeptide chain folds into its functional three-dimensional structure, often with the help of chaperones. Post-translational modifications (e.g., phosphorylation, glycosylation) may occur.

Reading Frames and the Genetic Code

Because each codon is three nucleotides, an mRNA sequence can be read in three possible reading frames (starting at position 1, 2, or 3). The correct frame is determined by the start codon and the cellular machinery. A shift in reading frame (a frameshift mutation) usually produces a nonfunctional protein because the codon grouping changes.

The genetic code is degenerate: most amino acids are encoded by more than one codon. For example, leucine has six codons (UUA, UUG, CUU, CUC, CUA, CUG), while tryptophan has only one (UGG). The code is nearly universal, but mitochondria and some organisms use slight variations.

Common Mistakes and Misconceptions

  • Confusing transcription and translation: Transcription makes RNA from DNA; translation makes protein from RNA.
  • Reading the wrong strand: The mRNA sequence is complementary to the template (antisense) DNA strand and identical to the coding (sense) strand except that U replaces T. When given a DNA sequence, you must first determine which strand is the template.
  • Forgetting the direction: mRNA is always read 5′ to 3′. The protein is synthesized from the N-terminus to the C-terminus.
  • Ignoring stop codons: Translation stops at the first stop codon in the reading frame, not at the end of the mRNA. In the example above, the incomplete codon at the end is not a stop; it’s just a truncated sequence.
  • Using the wrong genetic code: Mitochondrial and some bacterial codes differ (e.g., AUA codes for methionine in mitochondria, not isoleucine).

Why Translation Matters

Translation is fundamental to all life. Errors in translation can lead to diseases such as cancer, neurodegenerative disorders, and genetic conditions. Antibiotics like tetracycline and erythromycin work by inhibiting bacterial translation, which is why they are effective against infections without harming human cells. Understanding translation also underpins biotechnology: recombinant proteins (like insulin) are produced by translating engineered genes in bacteria or yeast.

Frequently Asked Questions

What is the difference between transcription and translation?

Transcription is the synthesis of RNA from a DNA template, occurring in the nucleus (eukaryotes) or cytoplasm (prokaryotes). Translation is the synthesis of a protein from mRNA, occurring on ribosomes. Transcription produces mRNA, while translation produces a polypeptide chain.

How do I find the amino acid sequence from a DNA sequence?

First, transcribe the DNA to mRNA: replace T with U, and use the template strand as the complement. Then, read the mRNA in triplets starting from the first AUG (start codon). Use the genetic code table to translate each codon to an amino acid until a stop codon is reached.

Why are there 64 codons but only 20 amino acids?

The genetic code has 64 possible triplets (4^3), but only 20 standard amino acids. This redundancy means most amino acids are encoded by multiple codons (e.g., leucine has 6). Three codons are stop signals, and one (AUG) is both a start signal and codes for methionine.

What is a reading frame and why does it matter?

A reading frame is the grouping of nucleotides into codons. Because codons are non-overlapping triplets, shifting the start point by one nucleotide changes every subsequent codon. Only one frame usually produces a functional protein; the others often contain premature stop codons. Mutations that insert or delete nucleotides can shift the frame, causing a frameshift.

Can translation occur without a start codon?

In cells, translation typically initiates at an AUG start codon, which sets the reading frame and recruits the initiator tRNA. Without a start codon, the ribosome may bind randomly and produce a short, likely nonfunctional peptide. In the calculator above, you can choose a frame manually, but in a real cell, the start codon is essential.

What happens if a stop codon is mutated?

If a stop codon is mutated to a sense codon, translation continues past the normal termination point, producing a longer protein with an extra tail. This can alter protein function and is the basis of some genetic diseases, such as certain forms of thalassemia.

Limits of This Calculator

This calculator translates a given mRNA sequence using the standard genetic code and a chosen reading frame. It does not account for alternative start codons, RNA editing, selenocysteine incorporation, or post-translational modifications. It also assumes the sequence is mature mRNA without introns. For real-world work, always verify with laboratory methods and consult the relevant genetic code for your organism.

Related

Formula used
in s | mRNA sequence (5' to 3') | - | AUGGCCAAACGUGA | 0
sel frame | Reading frame | 1=1, 2=2, 3=3
out aa | Amino acid sequence | - | translate(s, frame) | 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 →