Restriction Enzyme Digest Calculator

Paste a DNA sequence, choose one or two restriction enzymes, and instantly see cut sites, fragment sizes, and a visual digest map.

Restriction digest setup

Length: 0 bp
DNA topology
Digest type

Enzyme 1

Offset is the cut position (0-based) from the 5′ end of the recognition site on the top strand.

Enzyme 2 (for double digest)

Leave blank if you only want a single-enzyme digest.

Digest results

How this restriction enzyme digest calculator works

This tool performs a virtual restriction digest on your DNA sequence. It scans for recognition sites of one or two restriction enzymes, computes the cut positions, and then derives the resulting fragment sizes and a simple restriction map.

1. Cleaning and parsing your DNA sequence

The calculator accepts plain DNA sequences or FASTA-formatted input. Any header lines starting with > are ignored, and only the characters A, T, G, and C (case-insensitive) are kept. All other symbols (spaces, numbers, ambiguous bases) are removed before analysis.

Effective sequence length

If your raw input has length \(N_{\text{raw}}\) and contains \(N_{\text{valid}}\) valid bases (A/T/G/C), the calculator uses:

\( L = N_{\text{valid}} \quad \text{(bp)} \)

2. Recognition sites and cut positions

Each restriction enzyme is defined by:

  • Name (e.g., EcoRI, HindIII)
  • Recognition sequence (e.g., GAATTC)
  • Cut offset: the 0-based index of the phosphodiester bond cut relative to the 5′ end of the recognition site on the top strand.

For simplicity, this calculator assumes a single cut per recognition site and does not model staggered vs. blunt ends in detail; it focuses on fragment boundaries and sizes.

3. Fragment size calculation

After finding all cut positions for the selected enzymes, the tool sorts them and computes fragment lengths.

Linear DNA

For a linear molecule of length \(L\) with cut positions \(c_1, c_2, \dots, c_n\) (0-based, sorted), the fragment lengths are:

  • First fragment: \( f_1 = c_1 - 0 \)
  • Intermediate fragments: \( f_i = c_i - c_{i-1} \) for \( i = 2, \dots, n \)
  • Last fragment: \( f_{n+1} = L - c_n \)

Circular DNA

For a circular plasmid, the ends are joined, so the last fragment wraps around:

  • Fragments: \( f_i = c_i - c_{i-1} \) for \( i = 2, \dots, n \)
  • Wrap-around fragment: \( f_{\text{wrap}} = L - c_n + c_1 \)

4. Single vs. double digest

In a single digest, only one enzyme is used; all cut positions come from that enzyme. In a double digest, the calculator:

  1. Finds all recognition sites for enzyme 1 and enzyme 2.
  2. Combines and sorts all unique cut positions.
  3. Applies the fragment formulas above to the merged list.

This mirrors how a real double digest generates a fragment pattern determined by the union of both enzymes’ cut sites.

Practical tips for planning a restriction digest

While this calculator focuses on the in silico map, successful wet-lab restriction digests also depend on buffer conditions, enzyme activity, and DNA quality.

  • Check buffer compatibility: For double digests, choose a buffer where both enzymes have high activity (consult the manufacturer’s chart).
  • Use enough units of enzyme: A common rule of thumb is 1 unit per µg DNA for 1 hour in optimal conditions.
  • Avoid star activity: Excess enzyme, long incubations, or non‑optimal buffers can cause off‑target cuts.
  • Consider methylation sensitivity: Some enzymes do not cut methylated sites (e.g., dam/dcm methylation in E. coli).

Limitations of this restriction digest calculator

  • Assumes exact recognition sequences (no degenerate bases like N, R, Y).
  • Does not model methylation, star activity, or partial digests.
  • Does not distinguish between 5′ overhang, 3′ overhang, or blunt ends beyond reporting fragment boundaries.

For critical cloning steps, always cross‑check with the enzyme supplier’s documentation and, if possible, validate your construct by sequencing.

Restriction enzyme digest – FAQ

What is a restriction enzyme digest?

A restriction enzyme digest is a reaction in which one or more restriction endonucleases cut DNA at specific recognition sequences. The resulting fragments can be separated by gel electrophoresis or ligated into vectors for cloning. This calculator simulates that process on your sequence to predict fragment sizes and patterns.

How accurate are the fragment sizes?

Fragment sizes are exact with respect to the input sequence and recognition sites you specify. In real gels, apparent sizes can differ slightly due to gel concentration, DNA conformation (supercoiled vs. linear), and ladder choice, but the relative fragment pattern should match the simulation closely for complete digests.

Can I use this for genomic DNA digests?

In principle yes, but genomic sequences are often very long and contain many cut sites, leading to thousands of fragments that are not individually resolvable on a standard agarose gel. This tool is most useful for plasmids, PCR products, and moderate‑length constructs (a few kb to tens of kb).

Why don’t I see any cut sites for my enzyme?

Common reasons include: (1) the recognition sequence is not present in your DNA; (2) the recognition sequence was entered incorrectly (orientation or spelling); or (3) the sequence contains ambiguous bases that were stripped out during cleaning. Try verifying the recognition site and using the “Clean sequence” button before running the digest again.