PCR Primer Designer
Primer design with SantaLucia 1998 nearest-neighbour Tm, GC clamp checking, hairpin and dimer screening.
How it works
Melting temperature is calculated with nearest-neighbour thermodynamics, summing enthalpy and entropy contributions for each adjacent base pair and applying a salt correction for the reaction’s monovalent cation concentration. Candidates are screened for GC clamps, self-complementarity that would form hairpins, and cross-complementarity that would form primer dimers.
Thermodynamics and buffer correction
Primer melting temperature is computed from SantaLucia (1998) unified nearest-neighbour dinucleotide ΔH° and ΔS° parameters with G·C versus A·T helix initiation terms and a non-self-complementary duplex term R · ln(C_T / 4), where R = 1.987 cal/(mol·K).
- Monovalent salt entropy correction scales with phosphate count: ΔS°[Na+] = ΔS°[1 M] + 0.368 · (N - 1) · ln([Na+]).
- Divalent magnesium is mapped to monovalent equivalent via von Ahsen et al. (2001): [Na+]eq = [Na+] + 4 · sqrt([Mg2+]), using default PCR conditions of 50 mM Na+, 1.5 mM Mg2+, and 250 nM total primer concentration.
- Worked example for ATGCGTACGTAGCTAGCTAG (20 nt, 50.0% GC): Tm is 60.1 °C in 50 mM Na+ / 1.5 mM Mg2+ / 250 nM primer, versus 53.2 °C without magnesium.
Template specificity and scope limits
The specificity check counts exact full-length matches and 3'-most 12-base seed matches on both strands of the pasted template sequence. A 3' match can prime extension even when the 5' tail carries mismatches or cloning overhangs.
This runs strictly in the browser against the pasted template sequence — it does not BLAST against a host genome. Before ordering primers for genomic DNA or cDNA, confirm genome-wide uniqueness with NCBI Primer-BLAST.
Frequently asked questions
What is a good melting temperature for PCR primers?
Most primers work well between 55 and 65 °C, with the annealing temperature set roughly 3–5 °C below the lower of the two primer Tm values. What matters more than the absolute value is that the pair is matched: primers differing by more than about 5 °C in Tm will not anneal efficiently at the same temperature, which reduces yield and specificity.
Why do nearest-neighbour and basic Tm calculations disagree?
The basic rule of 2 °C per A/T and 4 °C per G/C counts bases in isolation and ignores that duplex stability depends on which bases are adjacent to which. Nearest-neighbour models sum measured thermodynamic parameters for each dinucleotide step and correct for salt concentration and strand concentration, which is why they agree far better with experiment — often differing from the basic rule by 5 °C or more.
Method reference
SantaLucia J Jr (1998) PNAS 95(4):1460-1465.