PCR primer checker: Tm, GC content, GC clamp, hairpins, primer-dimers and product size on a template

Check a PCR primer pair before you order it. Get the length, GC %, melting temperature by three simple formulas, the G/C clamp, runs and repeats, the longest hairpin, self- and cross-dimers with a picture of the worst one, and, with a template, every binding site and the product size.

Keep it one tap away for everyday use.

Bookmark Primer checker?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Primers
  2. Checks
  3. Dimers
  4. Product
Nothing is uploadedWorks offline once open

Primers

Type each primer 5′ to 3′ as written on the order sheet (the reverse primer as it is, not its complement). Spaces and dashes are ignored; only A, C, G, T (or U) are accepted. Sodium is used only by the salt-adjusted Tm.

Template (optional)

Both strands are searched. Sites may have the mismatches you allow, but the last 3 bases at the primer's 3′ end must match, since that is where the polymerase starts. Up to 1 million bases; letters other than A, C, G, T are skipped over as mismatches. The example template is random made-up sequence.

Checks

Strongest primer-dimer

 

On the template

Ranges are common rules of thumb (length 18–30, GC 40–60 %, 1–3 G or C in the last 5 bases, no runs of 4 or more, Tm within 5 °C). The Tm formulas are simple estimates that ignore neighbouring bases; real annealing temperatures depend on your polymerase and buffer, so check the supplier's calculator for the final setting.

Download

What it does

A primer that folds on itself, sticks to its partner or binds in the wrong place wastes a PCR run. This page checks a primer or a pair against the usual design rules, entirely in your browser:

  • Basics: length, GC % and the number of G or C bases among the last five at the 3′ end (the “GC clamp”).
  • Melting temperature (Tm) by three simple formulas: the basic GC formula (used for the summary), a sodium-adjusted GC formula, and the Wallace rule for short oligos. All three ignore the order of the bases, so treat them as estimates.
  • Runs and repeats: the longest run of one base and the longest dinucleotide repeat (such as ATATAT).
  • Hairpins: the longest stem of paired bases that closes a loop of at least three.
  • Primer-dimers: for each primer with itself and for the pair, the longest stretch of complementary bases, and how much of it sits at a 3′ end, where the polymerase can extend it. The worst one is drawn.
  • Template: paste the target DNA to see where each primer binds (both strands, with up to two mismatches but a matching 3′ end), the products and their sizes, and any extra sites.

How to use it

  1. Primers. Type or paste each one 5′ to 3′, exactly as you would order it. The reverse primer is optional.
  2. Sodium. Only the salt-adjusted Tm uses it; 50 mM is a common PCR buffer value.
  3. Template. Optional: paste the sequence (FASTA headers are skipped), choose how many mismatches to allow and the largest product to report.
  4. Read the checks. Anything outside the usual ranges is marked “(check)” and listed at the top.

Worked example

The made-up example pair is ACTCACATCGGTGTCACCTG and TACTTCACGGCGTGTGCATC. Both are 20 nt with 55 % GC, so the basic formula gives 53.8 °C for each (62 °C by the Wallace rule, 48.7 °C salt-adjusted at 50 mM). Each ends with 3 G or C in its last five bases, has no run longer than 2, a hairpin stem of only 3 bp, and dimers of at most 4 bp with no more than 2 at a 3′ end. On the 1,500-base made-up template the forward primer binds at 201–220 and the reverse at 901–920 on the other strand, giving one 720 bp product: “Pair looks good: Tm 53.8 / 53.8 °C, 720 bp product”.

Good to know

  • Formula Tm values differ from nearest-neighbour calculators by several degrees. For the annealing temperature, use your polymerase supplier’s calculator, then fine-tune with a gradient.
  • A dimer that ends at a 3′ end matters far more than one in the middle.
  • The template search is exact apart from the mismatches you allow; it does not search a whole genome.

FAQ

Why is my reverse primer not found? Type it 5′ to 3′ as ordered; the tool looks for its reverse complement on the top strand itself.

Can I check degenerate primers? Not yet: only A, C, G and T.

Is my sequence uploaded? No. Everything runs in your browser.

Where the numbers come from

  • Tm by the Wallace rule (2 °C per A/T, 4 °C per G/C), the basic formula 64.9 + 41 × (G+C − 16.4) ÷ N and the sodium-adjusted formula 81.5 + 16.6 log₁₀[Na⁺] + 0.41 × %GC − 675 ÷ N: textbook formulas, checked against Biopython 1.88 MeltingTemp. No nearest-neighbour parameter tables are used.
  • Hairpin, dimer, run and clamp checks and template search written by fibub, checked in the tests against an independent brute-force Python search. The ranges are common rules of thumb, not a standard.
  • The example primers and template are random made-up sequence.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Change log for Primer checker

  1. Add #167 primer checker: Tm, GC clamp, runs, hairpins, dimers and template products Details on GitHub

Every change to fibub

Related tools

FASTQ and FASTA quality inspector #171 Open a FASTQ or FASTA file of any size (.gz too) and see read counts, lengths and N50, GC content per read, quality by position as boxes, reads by mean quality, base composition along the read and the most repeated sequences. The file is read on your device and never uploaded. Genetic circuit designer #980 Type a genetic design as a list of parts and regulatory interactions and get a clean SBOL Visual style diagram with repression and activation arcs, its transcription units, and checks for missing RBSs, promoters and terminators. Download as SVG or PNG. Punnett square and pedigree probability #202 Draw a Punnett square for 1 to 4 genes (complete, incomplete and codominant dominance, ABO blood groups, X-linked traits) and get the genotype and phenotype ratios as exact fractions. Use the branch method for up to 6 genes, the binomial rule for several children, and a Bayes table for carrier risk in a family. For learning, not genetic counselling. Pairwise sequence alignment #172 Align two DNA or protein sequences end to end (global), with free end gaps (semi-global) or by their best-matching stretch (local), with affine gap scores you can set. See the score, identity, similarity and gaps, the alignment in blocks, and a dot plot. Runs in your browser. VCF viewer and filter #173 Open a VCF or .vcf.gz file of any size and see variant types, Ti/Tv ratio, multi-allelic sites, FILTER and QUAL, allele frequencies, genotypes per sample and counts by chromosome. Filter by chromosome, region, QUAL, depth, PASS and type, then download the filtered VCF. Nothing is uploaded. Pedigree drawing tool #205 Type or paste a family table, or add relatives with buttons, and get a pedigree drawn with the standard NSGC symbols: affected, carrier, deceased, proband, twins, adoption and consanguinity, with generation numbers. Checks for loops, missing parents and sex conflicts. Download SVG or PNG. Nothing leaves your device. PCR master mix calculator #31 Type your stocks and final concentrations, the reaction volume and the number of reactions. Get the volume of every component for one reaction and for the whole mix with spare, plus water, as a tick-off list. DNA sequence tools #163 Paste a DNA or RNA sequence or open a FASTA file. Get the length and GC content, the reverse complement, the protein in any of the six reading frames, every open reading frame above a length you choose drawn on a map, and a codon usage table. Runs in your browser; your sequence never leaves the device. qPCR analyser #165 Paste sample, gene and Cq for every well. Get fold changes against a control sample with 2^−ΔΔCq or efficiency correction, normalised to one or more reference genes, with replicate checks and a bar chart. Fit standard curves for slope, efficiency and R², and read unknown quantities off them. Ligation and assembly calculator #166 Set up a ligation or a multi-fragment assembly. Enter the vector and inserts with their lengths, concentrations and molar ratios, and get the ng, fmol and µL of each, the buffer, enzyme and water volumes, a check that it all fits, and the insert amount at other ratios. Restriction digest simulator #168 Paste a plasmid or other DNA, pick classic enzymes or type your own sites, and see every cut on both strands, the fragment sizes for single and combined digests, a circular or linear map, single cutters for cloning, and a virtual gel next to your ladder. Gel band size estimator #169 Type your ladder sizes and how far each band ran, or tap them on a gel photo that stays in your browser, then read the size of every unknown band with a fit line, R², a typical error and a warning when a band sits outside the ladder. Plasmid map viewer and editor #170 Open or paste a GenBank or FASTA file and get a clean circular or linear plasmid map with feature arrows, single-cutter sites and a size ruler. Rename, recolour, move or add features, move the origin, and download the map as SVG, PNG or PDF and the plasmid as GenBank.