Reverse Complement Tool for DNA and RNA
This reverse complement tool converts a DNA or RNA sequence into its reverse complement, written 5′→3′, as you type. It also gives the reverse or the complement alone, keeps IUPAC ambiguity codes and accepts FASTA.
In short: to get the reverse complement, swap A↔T and G↔C and read the result backwards. 5′‑ATGGTGAGC‑3′ becomes 5′‑GCTCACCAT‑3′.
Reverse complement tool
Converted as you type.
Reverse complement of 30 bp DNA, written 5′→3′.
Reverse complementGGTGAACAGCTCCTCGCCCTTGCTCACCAT30 bases · DNA (T)
- Length
- 30
- Type
- DNA
- Mode
- Reverse complement
Show full calculation
| Reverse complement (5′→3′) | GGTGAACAGCTCCTCGCCCTTGCTCACCAT |
|---|---|
| Input (5′→3′) | ATGGTGAGCAAGGGCGAGGAGCTGTTCACC |
- IUPAC ambiguity codes are complemented (R↔Y, K↔M, B↔V, D↔H; S, W and N stay the same).
- FASTA headers, numbers and spaces are removed before conversion.
What is a reverse complement?
A reverse complement is the sequence of the opposite DNA strand, read in its own 5′→3′ direction. Because the two strands of a double helix are antiparallel, you complement each base (A↔T, G↔C) and then reverse the order. The reverse complement of ATGGTGAGCAAG… is GGTGAACAGCTC….
| Operation | Result (5′→3′) | Used for |
|---|---|---|
| Input | ATGGTGAGC | Top strand |
| Reverse | CGAGTGGTA | Rarely used alone |
| Complement | TACCACTCG | Bottom strand read 3′→5′ |
| Reverse complement | GCTCACCAT | Reverse primers, opposite strand |
Why do reverse primers use the reverse complement?
Reverse primers use the reverse complement because they bind the top strand and must be written 5′→3′ like every oligo you order. Take the last 18–25 bases of your target on the top strand, paste them here, and order the reverse complement. Then check both primers in the Tm calculator.
How are IUPAC codes complemented?
IUPAC codes are complemented by complementing every base they stand for: R (A/G) ↔ Y (C/T), K (G/T) ↔ M (A/C), B (not A) ↔ V (not T), D (not C) ↔ H (not G), while S (G/C), W (A/T) and N stay the same. This keeps degenerate primers correct.
Frequently asked questions
How do you find the reverse complement of a DNA sequence?
You find the reverse complement of a DNA sequence by replacing each base with its partner (A↔T, G↔C) and reading the result from the last base to the first. Paste the sequence above to do it instantly.
Is the reverse complement the same as the complementary strand?
The reverse complement is the complementary strand written 5′→3′. The plain complement is the same strand written 3′→5′, which is why oligos are always ordered as the reverse complement.
Does the reverse complement tool work for RNA?
The reverse complement tool works for RNA: choose RNA or leave Auto, and U pairs with A in the result.
Sources
Data reviewed on . How we calculate.
