Skip to content
Test versionSearch

Mathematics

Standard-code DNA/RNA codon reader

Translate a short DNA or RNA sequence into amino acids with the standard genetic code, choosing strand orientation and one of three reading frames.

How it worksFAQRelated tools

Content reviewed:

Also available for Germany, in German 

1–300 bases; DNA A/C/G/T or RNA A/C/G/U only. ASCII whitespace is removed. Frame 1–3; at least one complete codon. TXT/CSV and explicitly added in-tab scenarios.

Teaching sequences and standard code 1 only. No variant codes, introns, diagnosis or biological ORF/initiation detection. AUG positions are not confirmed initiation sites; alternative initiation is not modelled. NCBI/NLM public-domain facts, no warranty or endorsement; own implementation.

Decimal results are approximate. Inputs stay in this browser tab.

Sources

How it works

Standard code 1; explicit strand orientation; complete triplets only.

Worked example

ATG GCC TAA → M A *.

About this calculation

The tool reads a short teaching sequence in groups of three bases, called codons, and translates them into amino acids using the standard genetic code (NCBI code 1). You type in 1 to 300 bases: A, C, G and T for DNA, or A, C, G and U for RNA, and any spaces are removed. You then choose the strand orientation and one of three reading frames. The tool turns this into RNA reading 5′ to 3′ and splits it into complete codons.

The result lists the codons, the one-letter translation (an asterisk means stop), the number of complete codons, and the positions of AUG and stop codons, counted from 1. An AUG position is not a confirmed start site: the tool does not look for biological open reading frames, and it ignores variant codes and introns. An incomplete codon at the end is not read. The tool is meant for teaching, not diagnosis.

Example: the coding strand ATGGCCTAA in frame 1 becomes AUG GCC UAA and translates to M A *. AUG sits at position 1 and the stop codon at position 3.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Teaching sequence
ATGGCCTAA
Alphabet and orientation
DNA coding strand 5′ → 3′
Reading frame (1–3)
1

Result

Oriented RNA (5′ to 3′)
AUGGCCUAA
Complete RNA codons in selected frame
AUG GCC UAA
One-letter translation (* = stop)
MA*
Number of complete codons
3
AUG codon positions (1-based, not biological starts)
1
Stop codon positions (1-based)
3

Frequently asked questions

How do I read a DNA or RNA sequence in codons?

Enter a sequence of 1 to 300 bases, choose the orientation and a reading frame from 1 to 3, and the tool reads complete triplets. For example, ATG GCC TAA reads as M A *.

Which bases and characters are accepted?

DNA accepts A, C, G and T, and RNA accepts A, C, G and U only. ASCII whitespace is removed, and at least one complete codon is required.

Which genetic code does the codon reader use?

It uses the standard genetic code (NCBI code 1) only. Variant codes are not included.

Does the tool find start codons or open reading frames?

No. It does not detect biological ORFs or initiation. AUG positions are not confirmed initiation sites, and alternative initiation is not modelled.

Can the codon reader be used for diagnosis?

No. It is for short teaching sequences only and does not model introns or provide diagnosis.

What happens to an incomplete codon at the end?

The tool reads complete triplets only, so incomplete codons are not read as codons.