TM Calculator

Tm Calculator: Primer Melting and Annealing Temperature

This Tm calculator gives the melting temperature of your PCR primers and the annealing temperature to use with your polymerase. It applies nearest-neighbor thermodynamics with the salt and Mg²⁺ of your buffer, runs in your browser and shows every step.

In short: primers for PCR usually melt at 52–65 °C. The example pair below has a Tm of 64.9 °C and 65.9 °C in Q5 buffer, so it anneals at 67.9 °C with Q5, 63.7 °C with Phusion and 57.5 °C with Taq.

Primer Tm calculator

Results update as you type.

Paste the sequence; spaces, numbers and FASTA headers are ignored.

Reaction conditions
nM
mM
mM
mM

200 µM of each dNTP = 0.8 mM total.

Tm forward 64.9 °C, reverse 65.9 °C. Anneal at 67.9 °C.

Annealing temperature67.9 °CQ5 / Q5 Hot Start · Anneal 3 °C above the Tm of the lower-Tm primer (Q5 protocol)

Tm forward
64.9 °C
Tm reverse
65.9 °C
Δ Tm
1.0 °C
0%50%100%50556065707580 Ta 67.9
Forward Tm 64.9 °CReverse Tm 65.9 °CAnnealing
Show full calculation
Forward primer21 nt · 52.4% GC
Forward Tm64.9 °C
Reverse primer20 nt · 55.0% GC
Reverse Tm65.9 °C
Tm difference1.0 °C
Annealing temperature (Ta)67.9 °C
Ta ruleAnneal 3 °C above the Tm of the lower-Tm primer (Q5 protocol)
PolymeraseQ5 / Q5 Hot Start
Primer concentration500 nM
Monovalent cations50 mM
Mg²⁺ total / free2.00 / 1.22 mM
dNTPs (total)0.80 mM
Salt modelOwczarzy 2008 (Mg²⁺)
ΔH° / ΔS° (forward)−168.8 kcal/mol · −457.1 cal/(mol·K)
ΔG°37 (forward)−27.03 kcal/mol
Wallace rule (forward)64 °C
Basic GC formula (forward)54.4 °C
  • Nearest-neighbor thermodynamics (SantaLucia 1998) with Owczarzy salt and Mg²⁺ corrections, primer in excess over template.
  • Vendor calculators use their own buffer adjustments; expect 1–3 °C differences. Confirm the annealing temperature with a gradient PCR.
Advertisement

Data reviewed on · How we calculate

What is the melting temperature (Tm) of a primer?

The melting temperature (Tm) of a primer is the temperature at which half of the primer molecules are bound to their complementary DNA and half are free. Above the Tm the primer falls off; well below it, the primer also binds to partly matching sites. The curves in the result show this: each primer goes from fully bound to free over a few degrees around its Tm.

Tm depends on more than length and GC content. The order of the bases (stacking), the primer concentration, monovalent salt, free Mg²⁺ and dNTPs all move it. That is why this calculator asks for your polymerase: it sets the buffer conditions of that enzyme.

Which annealing temperature should I use for Q5, Phusion or Taq?

The annealing temperature you should use depends on the polymerase: Q5 anneals at the lower primer Tm + 3 °C, Phusion at Tm + 3 °C for primers longer than 20 nt, and Taq-type enzymes about 5 °C below the lower Tm. Each enzyme also has its own Mg²⁺ and primer concentration, which shifts the Tm itself.

Example pair (21 + 20 nt) under each polymerase's default conditions
PolymeraseMg²⁺PrimersTm F / RTa
Q5 / Q5 Hot Start2.00 mM500 nM64.9 / 65.9 °C67.9 °C
Phusion / Phusion Hot Start1.50 mM500 nM63.7 / 64.7 °C63.7 °C
Taq / Hot Start Taq1.50 mM200 nM62.5 / 63.4 °C57.5 °C
OneTaq1.80 mM200 nM63.3 / 64.2 °C58.3 °C
DreamTaq2.00 mM200 nM63.6 / 64.5 °C58.6 °C
GoTaq1.50 mM200 nM62.5 / 63.4 °C57.5 °C

Q5 Tm calculator

Q5 runs hot: the example pair anneals at 67.9 °C (lower Tm + 3 °C).

Open Q5 calculator

Taq Tm calculator

Taq, OneTaq, DreamTaq and GoTaq anneal about 5 °C below Tm: 57.5 °C.

Open Taq calculator

Annealing temperature calculator

Polymerase rule or the Rychlik formula with your amplicon length and GC%.

Find your Ta
Advertisement

What is the Tm of M13, T7 and SP6 primers?

The Tm of the M13, T7 and SP6 sequencing primers ranges from 47.0 °C (SP6 in Taq buffer) to 72.5 °C (CMV forward in Q5 buffer). Short AT-rich primers such as SP6 and T7 need a low annealing temperature; pair them with a partner of similar Tm.

Tm of universal sequencing primers (nearest-neighbor, default buffer)
PrimerSequence (5′→3′)Q5PhusionTaq
M13 forward (−20)GTAAAACGACGGCCAGT60.6 °C59.3 °C57.8 °C
M13 reverse (−27)CAGGAAACAGCTATGAC54.9 °C53.5 °C52.0 °C
T7 promoterTAATACGACTCACTATAGGG55.4 °C54.2 °C52.9 °C
T7 terminatorGCTAGTTATTGCTCAGCGG61.6 °C60.4 °C59.0 °C
T3ATTAACCCTCACTAAAGGGA58.3 °C57.1 °C55.7 °C
SP6ATTTAGGTGACACTATAG49.8 °C48.4 °C47.0 °C
BGH reverseTAGAAGGCACAGTCGAGG61.7 °C60.5 °C59.0 °C
CMV forwardCGCAAATGGGCGGTAGGCGTG72.5 °C71.5 °C70.3 °C

Sequences from Addgene's sequencing-primer reference. Tm calculated by this page with each polymerase's default buffer.

How does this Tm calculator work?

This Tm calculator works in four steps, the same ones used in molecular biology software:

  1. Nearest-neighbor sums. Each pair of neighboring bases adds its enthalpy (ΔH°) and entropy (ΔS°) from SantaLucia's 1998 unified table, plus an initiation term for each end.
  2. Primer concentration. Tm = ΔH° ÷ (ΔS° + R ln CT), with CT the primer concentration, because primers are in large excess over the template.
  3. Salt and magnesium. The 1 M Na⁺ result is corrected with Owczarzy's 2008 model for Mg²⁺ and monovalent ions; dNTPs bind part of the Mg²⁺, so only free Mg²⁺ counts.
  4. Annealing rule. The lower primer Tm goes through the rule published for your polymerase.

Our implementation reproduces the reference values of Biopython's MeltingTemp module to two decimals. The full derivation, with worked examples, is in how to calculate Tm.

Why do Tm calculators give different results?

Tm calculators give different results because they use different formulas and different default buffers, not because one of them is broken. For one 21-nt primer the answers below span 20.4 °C.

Same primer, seven answers: GACGTAAACGGCCACAAGTTC (21 nt, 52.4% GC)
MethodFormula / conditionsTm
Wallace rule2 °C × (A+T) + 4 °C × (G+C)64.0 °C
Basic GC formula64.9 + 41 × (G+C − 16.4) ÷ N54.4 °C
Salt-adjusted formula (50 mM Na⁺)81.5 + 16.6 log[Na⁺] + 0.41 %GC − 600 ÷ N52.8 °C
Nearest-neighbor, 1 M Na⁺SantaLucia 1998, no salt correction73.2 °C
Nearest-neighbor, 50 mM Na⁺, no Mg²⁺+ Owczarzy 200457.7 °C
Nearest-neighbor, Taq buffer (1.5 mM Mg²⁺)+ Owczarzy 2008, free Mg²⁺62.5 °C
Nearest-neighbor, Q5 buffer (2 mM Mg²⁺, 500 nM)+ Owczarzy 2008, free Mg²⁺64.9 °C

Two rules keep results comparable: use one calculator for a whole project, and always set the conditions of the reaction you will actually run. Each polymerase maker calibrates its annealing rule to its own Tm method, so a Tm from one tool plus another tool's rule can miss by several degrees.

How do I read a primer Tm result?

You read a primer Tm result by checking four numbers against these targets:

Targets for a PCR primer pair
CheckTargetWhy
Tm of each primer52–65 °CLower is unspecific; higher needs two-step PCR
Tm difference≤ 5 °C (ideally ≤ 2 °C)One Ta must suit both primers
GC content40–60%Balanced binding, fewer secondary structures
3′ end1–3 G/C in the last 5 basesA clamp without mispriming

The calculator flags a difference over 5 °C, strong 3′ ends and long base runs. Check GC content base by base with the GC content calculator and see all the rules in our primer design guidelines.

Which other PCR and DNA calculators are there?

Other PCR and DNA calculators on this site cover the rest of the bench work around a primer: converting sequences, quantifying DNA and setting up reactions.

Which calculator do you need?
Advertisement

Frequently asked questions

What is a good Tm for PCR primers?

A good Tm for PCR primers is 52–65 °C, with both primers within 5 °C of each other. The example pair on this page sits at 64.9 °C and 65.9 °C in Q5 buffer.

How do you calculate the Tm of a primer?

You calculate the Tm of a primer most accurately with nearest-neighbor thermodynamics plus a salt correction, as this calculator does. Quick rules exist: the Wallace rule 2(A+T) + 4(G+C) works only for primers under about 14 nt. See how to calculate Tm step by step.

Is annealing temperature the same as Tm?

Annealing temperature is not the same as Tm. Tm is a property of the primer and buffer; the annealing temperature (Ta) is the setting on your cycler, chosen from the lower Tm with your polymerase's rule. Use the annealing temperature calculator.

Why is my Tm different from the NEB or Thermo calculator?

Your Tm differs from the NEB or Thermo Fisher calculator because each tool uses its own thermodynamic table, buffer model and primer concentration. Differences of 1–3 °C are normal. Use one tool consistently and confirm with a gradient PCR.

Does primer concentration change the Tm?

Primer concentration does change the Tm: going from 200 nM to 500 nM raises it by about 1.2 °C for the example primer, because more primer molecules shift the binding equilibrium.

How does Mg²⁺ affect primer Tm?

Mg²⁺ affects primer Tm by raising it, because it stabilizes the DNA duplex more strongly than Na⁺. Raising total Mg²⁺ from 1.5 to 2.5 mM adds about 1.8 °C to the example primer. dNTPs bind Mg²⁺, so more dNTPs lower it.

Can I use this Tm calculator for qPCR probes?

You can use this Tm calculator for unmodified DNA probes, which should melt 5–10 °C above the primers. It does not model LNA, MGB or other modified bases; use the supplier's tool for those.

Is this the official NEB Tm calculator?

This is not the official NEB Tm calculator. TM Calculator is an independent tool that uses published nearest-neighbor and salt models and each manufacturer's public annealing rules. For NEB's own tool, visit neb.com.

Sources

Data reviewed on . How we calculate.