1. Home
  2. Calculators
  3. DNA Reverse Complement Tool

DNA Reverse Complement Tool

For primer design and cloning: the other strand of a sequence, written 5′ to 3′, with its composition.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use DNA Reverse Complement Tool

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Reverse complement, complement, reverse and transcription
  • IUPAC ambiguity codes and FASTA input
  • GC and AT content with base counts
  • Approximate molecular weight of a single strand
  • Line wrapping and case options

Supported formats

Input

  • DNA or RNA sequence, plain text or FASTA

You get

  • On-screen result
  • Copyable text
  • Text file

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the DNA Reverse Complement Tool is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Single sequences up to the size your browser can handle comfortably, well beyond a gene.
  • Molecular weight is approximate and is shown for unambiguous DNA only.

Guide

Reverse complement, GC content and transcription of DNA and RNA sequences

DNA is a double helix of two strands that run in opposite directions, and whenever you design a primer, check a sequencing read or look for a restriction site, you need the sequence of the other strand. That sequence is the reverse complement, and writing it by hand is slow and error-prone. This tool produces it instantly, along with the complement, the reverse, the RNA transcript of a DNA sequence and the base composition, including the GC content.

Reverse complement

The bases pair A with T and C with G, or A with U in RNA. The complement replaces every base by its partner, and because the partner strand runs the opposite way, it is also reversed so that it reads 5′ to 3′. The default sequence ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG becomes CTATCGGGCACCCTTTCAGCGGCCCATTACAATGGCCAT. A primer that binds to the top strand must have the reverse complement of the region it targets.

Input and options

Paste a sequence as plain text or FASTA. A header line beginning with “>” is ignored, and so are digits, spaces and line breaks, which lets you paste text copied from a database or a printed sequence. Letters are upper-cased. Under Operation choose Reverse complement, Complement, Reverse, Transcribe DNA to RNA (T becomes U) or Back-transcribe RNA to DNA. Options set the line width (one line, or 60, 70 or 80 characters) and the case of the output.

GC content and counts

The page reports the sequence type (DNA, or RNA when it contains U and no T), the length and the base counts. GC content is (G + C) as a percentage of the unambiguous bases, AT content is the rest. The default sequence is 39 bases with A 9, C 8, G 14 and T 8, a GC content of 56.41% and AT content of 43.59%. GC content matters because G–C pairs have three hydrogen bonds and A–T pairs two, so GC-rich DNA melts at a higher temperature.

Palindromes and restriction sites

A sequence that equals its own reverse complement is palindromic in the molecular-biology sense. GAATTC, the site cut by the enzyme EcoRI, is an example: 6 bases with GC content 33.333% and counts A 2, C 1, G 1, T 2. When you choose the reverse complement of such a sequence the page notes that it is its own reverse complement. Many restriction enzymes recognise palindromic sites, because the enzyme works on both strands in the same way.

Transcription

DNA is transcribed into RNA using the template strand, and the RNA has the same sequence as the coding strand with T replaced by U. The Transcribe option does exactly that replacement: ATGGAGGAGCCGCAGTCAGATCCTAGC becomes AUGGAGGAGCCGCAGUCAGAUCCUAGC. Back-transcribing reverses it. To get the mRNA made from a template strand, first take the reverse complement and then transcribe, or use the translator tool, which has a template-strand option.

Molecular weight

For DNA of up to 200 bases with no ambiguous letters the page shows an approximate single-strand molecular weight, adding 313.21 for each A, 289.18 for C, 329.21 for G and 304.2 for T and subtracting 61.96 as the usual correction for the ends of the strand. The 39-base default is 12,112.91 g/mol, and GAATTC is 1,791.25 g/mol. The value is approximate and meant for quick planning of oligonucleotide amounts, not for mass spectrometry.

Limits

The tool handles single sequences in the browser and does not align, search databases or predict structure. Letters outside the IUPAC nucleotide codes are rejected with the character named, and a mixture of T and U in one sequence is rejected because a sequence is either DNA or RNA. RNA molecular weights, melting temperatures and secondary structure are not given; use the primer Tm tool for the melting temperature.

Checked against the current version of the DNA Reverse Complement Tool on .

Frequently asked questions

Why must the complement be reversed as well as swapped?

Because the two strands of DNA run in opposite directions, and sequences are always written 5′ to 3′. Swapping the bases only gives the complement read in the wrong direction, written 3′ to 5′. For ATGC the complement is TACG, but the opposite strand written 5′ to 3′ is GCAT, the reverse complement, which is what a primer that binds it must contain.

How does the tool treat the letter N and the other IUPAC codes?

Each code pairs with the code for the complementary set of bases: R (A or G) with Y (C or T), K (G or T) with M (A or C), B with V and D with H, while S, W and N pair with themselves. Ambiguous bases are counted separately, so GC content uses only unambiguous bases. Entering ATGRYKMSWNCAT gives ATGNWSKMRYCAT.

What does reverse complement mean?

Replace every base by its partner (A↔T, C↔G) and read the result backwards, so it is again written 5′ to 3′ and equals the opposite strand.

Why is GAATTC its own reverse complement?

It is a palindromic sequence, the EcoRI site, so the opposite strand reads the same 5′ to 3′.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.