PCR Primer Tm & Annealing Temperature Calculator

Calculate primer melting temperatures with nearest-neighbour thermodynamics and get a recommended PCR annealing temperature, with GC content and primer design checks.

Updated · Free · Runs in your browser

Polymerase
nM
mM
mM
mM
Suggested annealing temperature —
Lower primer Tm —
Forward primer —
Reverse primer —
Rule used —
    Was this calculator helpful?

    The formula

    Nearest-neighbour Tm = ΔH ÷ (ΔS + R ln(C/4)) − 273.15, with SantaLucia (1998) ΔH and ΔS for each base pair step
    Salt correction: ΔS += 0.368 × (N − 1) × ln[Na⁺eq], where [Na⁺eq] = [Na⁺] + 120√([Mg²⁺] − [dNTP]) (mM)
    Basic Tm = 64.9 + 41 × (G + C − 16.4) ÷ N;  Wallace rule Tm = 2(A + T) + 4(G + C)
    Taq: Ta ≈ lower Tm − 5 °C;  high-fidelity (Q5): Ta = lower Tm + 3 °C

    Worked example

    1. Primers M13 reverse (AGCGGATAACAATTTCACACAGGA, 24 nt, 41.7% GC) and M13 forward-style (GTAAAACGACGGCCAGTGAATTC, 23 nt, 47.8% GC), 250 nM, 50 mM Na⁺, 1.5 mM Mg²⁺:
    2. Nearest-neighbour Tm: 62.3 °C (forward) and 62.2 °C (reverse), within 0.1 °C of each other.
    3. With Taq, the suggested annealing temperature is 62.2 − 5 = 57.2 °C.
    4. For Q5 it would be 62.2 + 3 = 65.2 °C. Confirm with a gradient PCR.

    Why primer Tm matters

    In PCR, the annealing step lowers the temperature so primers can bind to their target sequences. If the temperature is too high, primers don't bind and the reaction yields little or no product. If it's too low, primers bind to partially matching sites, producing extra bands and primer dimers. The melting temperature, Tm, is the temperature at which half the primer molecules are bound to their complementary sequence. Choosing an annealing temperature relative to the primers' Tm is the starting point for a specific, efficient reaction.

    Nearest-neighbour calculation

    Simple formulas based only on GC content are easy but can be off by 5 °C or more. The nearest-neighbour method is more accurate because the stability of DNA depends on neighbouring base pairs stacking on each other, not just on how many G·C pairs there are. The calculator sums the enthalpy and entropy of each two-base step using the unified parameters published by SantaLucia in 1998, adds initiation terms for the ends, and corrects for salt and primer concentration. The basic and Wallace-rule values are shown for comparison with older protocols.

    Salt, magnesium and primer concentration

    Positive ions stabilise DNA duplexes by shielding the negative charges on the phosphate backbone, so higher salt raises Tm. Magnesium has a much stronger effect than sodium or potassium, but dNTPs bind magnesium and reduce the free amount, which the calculator accounts for using the von Ahsen correction. Higher primer concentrations also raise Tm slightly. Enter the values from your polymerase's buffer: typical Taq buffers have 50 mM KCl and 1.5 mM MgCl₂, and each dNTP is often 0.2 mM, for 0.8 mM in total.

    Choosing the annealing temperature

    For standard Taq polymerase, a common starting point is 3–5 °C below the lower of the two primers' Tm values. High-fidelity enzymes such as Q5 and Phusion use buffers that raise primer Tm, and their manufacturers recommend annealing at about 3 °C above the lower Tm calculated with their own tools, so select that option for those enzymes. If results are poor, run a gradient PCR across several temperatures, or use touchdown PCR, which starts high and lowers the annealing temperature in each early cycle.

    Primer design checklist

    Good primers are typically 18–30 nucleotides long with 40–60% GC content, and the two primers' Tm values should be within about 2–5 °C of each other. A G or C at the 3′ end, called a GC clamp, helps the polymerase start extension, but more than three G or C bases in the last five can promote mispriming. Avoid runs of four or more identical bases, repeats, and sequences that are complementary to themselves or to the other primer, which form hairpins and dimers. The calculator flags the most common issues.

    Differences between tools

    Different Tm calculators use different thermodynamic tables, salt corrections and assumptions about primer concentration, so the same primer can give values a few degrees apart. That's normal; what matters is using one tool consistently and confirming the best temperature experimentally. After PCR, quantify your product with the DNA concentration calculator, prepare dilutions with the dilution calculator and make buffers with the molarity calculator.

    Frequently asked questions

    How do I calculate annealing temperature?
    Calculate the Tm of both primers, take the lower one and subtract about 5 °C for Taq polymerase. For high-fidelity enzymes like Q5, add about 3 °C to the lower Tm, following the manufacturer's guidance.
    What is a good Tm for PCR primers?
    Usually 55–65 °C, with the forward and reverse primers within 5 °C of each other, ideally within 2 °C.
    Why do Tm calculators give different results?
    They use different formulas, thermodynamic parameters and salt and concentration assumptions. Nearest-neighbour methods are the most accurate, but always confirm with an experiment.
    What is the Wallace rule?
    A quick estimate for short primers: Tm = 2 °C × (A + T) + 4 °C × (G + C). It's only reasonable for primers under about 14 bases at standard salt.
    What should I do if I get non-specific bands?
    Raise the annealing temperature in 2 °C steps, reduce the number of cycles or the primer concentration, or use touchdown PCR. Redesigning primers with higher specificity may also help.

    ↑↓ to navigate · Enter to open