DNA, RNA & Protein

Nucleic-Acid Complement and Reverse-Complement Workbench

Generate same-order complements and 5′→3′ reverse complements for DNA or RNA while preserving every supported IUPAC ambiguity set.

Biology · experimental measurements

Keep base pairing separate from orientation reversal and make the requested polymer explicit.

Private calculations in your browser · explicit inputs and model boundaries
Example preview · DNA reverse complementSymbol composition of the requested DNA output
A3 symbols
C1 symbols
G1 symbols
T3 symbols
Ambiguous IUPAC2 symbols

Canonical-base counts and unresolved IUPAC symbols remain separate. Reversal changes order, not composition.

  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

One raw or single-record FASTA sequence; IUPAC ambiguity symbols are supported.

Calculation result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the relationship

The reasoning behind the result

Complement and reverse complement differ

reverse complement = reverse(complement(sequence))

A same-order complement aligns paired bases under the entered 5′→3′ string and is therefore interpreted antiparallel. Reversing it writes the partner in the usual 5′→3′ direction.

These two outputs are both displayed so orientation is inspectable.

DNA and RNA use different partners for A

DNA maps A to T, whereas RNA maps A to U. C and G remain paired in both polymers.

A sequence containing the other polymer's exclusive symbol is rejected rather than silently converted.

IUPAC ambiguity is complemented as a set

R means A or G and complements to Y, meaning C or T/U. Self-complementary sets such as S and W remain themselves.

No base is selected from an ambiguity code.

Pairing syntax is not structure prediction

The transform does not calculate duplex stability, secondary structure, strand abundance, genomic locus or hybridization specificity.

Modified bases and nonstandard pairing require a different chemical representation.

Follow the numbers

Build a DNA reverse complement

  1. The entered DNA is 5′-ATGCRYTTAA-3′.
  2. The same-order paired symbols are TACGYRAATT.
  3. R complements to Y and Y complements to R because their possible-base sets swap.
  4. Reversing the paired string gives TTAARYGCAT.
  5. The reported reverse complement is 5′-TTAARYGCAT-3′.

The output preserves sequence uncertainty and direction; it does not predict binding or function.

Quick guide

How to use this calculator

  1. Choose DNA or RNA so thymine and uracil are never mixed silently.
  2. Use same-order complement to inspect paired columns and reverse complement for a partner strand written 5′→3′.
  3. Retain the direction labels when copying a result into another workflow.

Calculation method

Calculation and interpretation

Keep base pairing separate from orientation reversal and make the requested polymer explicit.

Complement each IUPAC symbol by its paired base set; reverse-complement mode then reverses that complemented string so the result is written 5′→3′.

Worked example

Build a DNA reverse complement

The output preserves sequence uncertainty and direction; it does not predict binding or function.

Complement each IUPAC symbol by its paired base set; reverse-complement mode then reverses that complemented string so the result is written 5′→3′.

Supported inputs

Precision and limits

One declared polymer

DNA accepts T and RNA accepts U; mixed T/U input is rejected.

One continuous record

One raw or single-record FASTA sequence is transformed without alignment or assembly.

IUPAC ambiguity only

Every ambiguity code remains a set; modified or nonstandard bases are unsupported.

No structure or specificity

Hybridization, secondary structure, melting and off-target interpretation are excluded.

Numerical support

The complete entered, complement and reverse-complement strings are retained for up to 20,000 symbols.

Continue calculating

Related calculators