Pedigree
Tools Learn
Tool

Reverse complement calculator

Enter a DNA or RNA sequence to get the reverse complement, complement, and reverse. Useful for primer design, cloning, and sequence analysis.

Enter sequence
Enter a valid sequence

Explore more genetics tools

Punnett squares, blood type, Hardy-Weinberg equilibrium, and more.

See all tools

How the reverse complement calculator works

The reverse complement calculator takes a single-stranded DNA sequence and outputs the corresponding antiparallel strand. You paste a sequence into the text box, and the tool instantly returns the exact reverse complement. This output gives you the sequence of the opposing DNA strand as it would appear in a standard 5' to 3' format.

The science behind the antiparallel strand

To understand why this matters, you have to look at how DNA is built. DNA exists as a double helix made of two antiparallel strands. One strand runs in the 5' to 3' direction, while the opposite strand runs in the 3' to 5' direction. The nucleotide bases on these strands pair according to strict rules. Adenine pairs with thymine, and guanine pairs with cytosine.

There is a distinct difference between a complement and a reverse complement. If you have the sequence 5'-ATGC-3', the direct complement running in the opposite direction is 3'-TACG-5'. However, biologists read and write all DNA sequences in the 5' to 3' direction. To read the complementary strand properly, you must reverse the direction of the text and swap the bases. The 3'-TACG-5' strand becomes 5'-GCAT-3' when read backward. This final sequence is the reverse complement. The calculator automates this two-step process so you do not have to manually flip the sequence and swap the letters.

Why this matters for primer design and cloning

This tool is essential for molecular biology tasks like primer design and gene cloning. When you design a primer to copy a specific gene, the primer must bind to the template strand. DNA polymerase only builds new DNA in the 5' to 3' direction, meaning the primer sequence must be the reverse complement of the target region. If you accidentally use the direct complement, the primer will face the wrong direction and DNA synthesis will fail.

Plasmid cloning also relies on reverse complements. When you insert a new gene into a plasmid vector, the gene must face the correct direction so the bacterial machinery can read it. Researchers calculate reverse complements to design restriction enzyme cut sites that ensure the gene aligns properly within the vector.

What the calculator leaves out

This calculator assumes standard Watson-Crick base pairing. It does not process RNA sequences directly. The tool supports both DNA and RNA — select RNA mode to process sequences with uracil. The calculator also ignores modified bases like methylated cytosine and cannot predict secondary structures like hairpins that might form in your final sequence.

Frequently asked questions

What is the reverse complement of a DNA sequence?

The reverse complement is the sequence of the opposing DNA strand written in the standard 5' to 3' direction. Because DNA strands run in opposite directions, you must reverse the order of the bases and swap adenine for thymine and guanine for cytosine to read the opposite strand correctly.

Why is the reverse complement useful?

It is useful for molecular biology tasks like primer design and gene cloning. DNA polymerase only builds new strands in the 5' to 3' direction. Researchers need the reverse complement to build primers that bind to the template strand and face the correct direction during DNA synthesis.

What is the difference between complement and reverse complement?

A complement is the sequence of bases that pair with your original strand, read in the 3' to 5' direction. A reverse complement takes that paired sequence and flips it backward so it can be read in the standard 5' to 3' direction that scientists use to write DNA.

How do you find the complement of a DNA strand?

To find the complement of a DNA strand, you swap adenine for thymine and guanine for cytosine across the entire sequence. This gives you the matching bases. If you need the reverse complement, you then read that new sequence backward from right to left.