Skip to main content

Reverse Complement Calculator

Compute reverse complement using validated scientific equations. See step-by-step derivations, unit analysis, and reference values.

Reviewed by Daniel Agrici, Founder & Lead Developer

Reviewed by Daniel Agrici, Founder & Lead Developer

Formula

Reverse Complement = Reverse(Complement(Sequence))

The complement replaces each base with its Watson-Crick pair (A<->T for DNA, A<->U for RNA, G<->C). The reverse then flips the sequence to maintain the conventional 5-prime to 3-prime reading direction. This two-step operation gives the sequence of the antiparallel complementary strand.

Worked Examples

Example 1: Reverse Complement for Primer Design

Problem:Find the reverse complement of the target sequence ATCGATCGATCGATCG to design a reverse primer.

Solution:Step 1 - Complement: A->T, T->A, C->G, G->C\nATCGATCGATCGATCG -> TAGCTAGCTAGCTAGC\nStep 2 - Reverse the complement:\nTAGCTAGCTAGCTAGC -> CGATCGATCGATCGAT\nThe reverse primer sequence is: CGATCGATCGATCGAT

Result:Reverse complement: CGATCGATCGATCGAT (16 bp, 50% GC content)

Example 2: Checking for Palindromic Restriction Site

Problem:Determine if the EcoRI site GAATTC is palindromic.

Solution:Complement of GAATTC: CTTAAG\nReverse of complement: GAATTC\nReverse complement = original sequence GAATTC\nSince sequence equals its reverse complement, it is palindromic.

Result:GAATTC is palindromic - its reverse complement is identical to itself

Frequently Asked Questions

What is the reverse complement of a DNA sequence?

The reverse complement of a DNA sequence is obtained by first complementing each base (A to T, T to A, G to C, C to G) and then reversing the resulting string from 5-prime to 3-prime. This operation is fundamental in molecular biology because DNA is double-stranded and antiparallel. The reverse complement represents the sequence of the opposite strand read in the same 5-prime to 3-prime direction. For example, if the top strand reads 5-prime-ATCG-3-prime, the bottom strand reads 5-prime-CGAT-3-prime, which is the reverse complement. This concept is crucial for primer design, probe hybridization, and understanding gene orientation.

Why is the reverse complement important for primer design?

When designing PCR primers, the forward primer matches the sense strand in the 5-prime to 3-prime direction, but the reverse primer must be the reverse complement of the antisense strand at the 3-prime end of the target. This is because DNA polymerase synthesizes in the 5-prime to 3-prime direction only. If you want a reverse primer that binds to the bottom strand ending at position X, you take the bottom strand sequence and write its reverse complement, which gives you the primer sequence to order. Misunderstanding this concept leads to primers that bind the wrong strand or in the wrong orientation, resulting in no PCR amplification.

How does the reverse complement differ for RNA sequences?

For RNA, the reverse complement uses uracil (U) instead of thymine (T). The complement rules become: A pairs with U, U pairs with A, G pairs with C, and C pairs with G. RNA is typically single-stranded, so the reverse complement represents the hypothetical complementary strand. This is relevant when designing antisense oligonucleotides, siRNA duplexes, or when converting between mRNA and cDNA sequences. When working with cDNA synthesis, reverse transcriptase reads the mRNA template 3-prime to 5-prime and synthesizes the cDNA 5-prime to 3-prime, effectively creating the reverse complement of the mRNA.

References

Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy