Skip to content
The Calculatorz
Molecular biology

DNA to Protein Translation Tool (Codon Translator)

Translate a DNA or mRNA sequence into its protein sequence with the standard genetic code, in any reading frame and on either strand.

Sequence and frame

Sequence

How to use this calculator

Paste a sequence of A, C, G and T (or U). Spaces, numbers and line breaks are ignored. Choose the reading frame and strand. The calculator translates each codon with the standard genetic code (NCBI table 1), marks stop codons with *, and finds the longest open reading frame starting with ATG.

Formula

The sequence is read in triplets (codons) from the chosen frame; each codon maps to one amino acid or a stop signal using the standard code. The reverse complement swaps A↔T and C↔G and reverses the order. The longest ORF is the longest stretch from ATG to the next in-frame stop codon. Mass is estimated at about 110 Da per amino acid.

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewJanBioinformatics Graduate, Genomic Data Analyst

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is a codon?

A sequence of three nucleotides that specifies one amino acid or a stop signal.

Why are there three reading frames?

Translation can start at the first, second or third base; each gives a different protein. With both strands there are six frames.

What are the start and stop codons?

ATG (AUG in RNA) codes for methionine and usually starts translation. TAA, TAG and TGA (UAA, UAG, UGA) are stop codons.

Is the genetic code the same in every organism?

Nearly. Mitochondria and some microbes use variant codes; this tool uses the standard code.

Can I enter RNA?

Yes. U is treated as T.

Does this predict the final protein?

No. Real genes contain introns that are spliced out, and proteins are often modified after translation.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. National Center for Biotechnology Information. (n.d.). The genetic codes. View source
  2. Clark, M. A., Douglas, M., & Choi, J. (2018). The genetic code. In Biology 2e (Section 15.1). OpenStax. View source
  3. Clark, M. A., Douglas, M., & Choi, J. (2018). Biology 2e. OpenStax. View source
  4. National Human Genome Research Institute. (n.d.). Codon. Talking glossary of genomic and genetic terms. View source