Primer Tm Calculator (Melting Temperature, Nearest-Neighbor Method)

The melting temperature (Tm) of a primer is the temperature at which half of it is paired with its target. This calculator finds it from the sequence by the nearest-neighbor method used by most primer design tools, corrected for the primer, salt, magnesium and dNTP concentrations of your reaction, and also gives the GC content, the duplex thermodynamics and the quick Wallace-rule estimate.

Inputs

Advanced options (1)

Results

Melting temperature, Tm (nearest-neighbor)
48.68
Tm by the Wallace rule, 2(A + T) + 4(G + C)
56
GC content
40
%
Length
20
ΔH° of duplex formation
-622.58
ΔS° at this salt concentration
-1,808.1
ΔG° at 37 °C
-61.8
Sodium-equivalent salt concentration
50
  • The Wallace rule is only meant for oligos shorter than about 14 nt; use the nearest-neighbor Tm.

RefBIO-MOL-006
MethodTm = ΔH° ÷ (ΔS° + R·ln C) with SantaLucia (1998) unified parameters; ΔS° salt correction 0.368·(N − 1)·ln[Na⁺]eq (SantaLucia 1998); [Na⁺]eq = [Na⁺] + 120·√([Mg²⁺] − [dNTP]) in mM (von Ahsen et al. 2001)
UnitsSI
Date2026-11-24

Working

Calculated in SI base units; inputs are converted from the units you choose.

  1. Sequence20 nt: A 7, C 4, G 4, T 5; GC 40 %
  2. Nearest-neighbor sums at 1 M NaClΔH° and ΔS° = initiation + Σ stacksΔH° = -148.8 kcal/mol; ΔS° = -411.2 cal/(K·mol)
  3. Salt correction[Na⁺]eq = [Na⁺] + 120√([Mg²⁺] − [dNTP]) (mM); ΔS° + 0.368·(N − 1)·ln[Na⁺]eq[Na⁺]eq = 50 mM; ΔS° = -411.2 + 0.368 × 19 × ln(0.05) = -432.15 cal/(K·mol)
  4. Strand concentration termC = C(primer) − C(target)/2C = 250 nM
  5. Melting temperatureTm = 1000·ΔH° ÷ (ΔS° + R·ln C) − 273.15, R = 1.9872 cal/(K·mol)1000 × -148.8 ÷ (-432.15 + 1.9872 × ln(2.500e-7)) − 273.15 = 48.68 °C
  6. Free energy at 37 °CΔG°37 = ΔH° − 310.15·ΔS°-148.8 − 310.15 × -0.43215 = -14.77 kcal/mol
  7. Wallace rule (short oligos)Tm ≈ 2(A + T) + 4(G + C) °C2 × 12 + 4 × 8 = 56 °C

Nearest-neighbor terms (SantaLucia 1998, 1 M NaCl)

TermΔH° (kcal/mol)ΔS° (cal/(K·mol))
Initiation, 5′ terminal T·A2.34.1
Initiation, 3′ terminal G·C0.1-2.8
TA (TA/AT)-7.2-21.3
AA (AA/TT)-7.9-22.2
AT (AT/TA)-7.2-20.4
TA (TA/AT)-7.2-21.3
AC (GT/CA)-8.4-22.4
CG (CG/GC)-10.6-27.2
GA (GA/CT)-8.2-22.2
AC (GT/CA)-8.4-22.4
CT (CT/GA)-7.8-21
TC (GA/CT)-8.2-22.2
CA (CA/GT)-8.5-22.7
AC (GT/CA)-8.4-22.4
CT (CT/GA)-7.8-21
TA (TA/AT)-7.2-21.3
AT (AT/TA)-7.2-20.4
TA (TA/AT)-7.2-21.3
AG (CT/GA)-7.8-21
GG (GG/CC)-8-19.9
GG (GG/CC)-8-19.9
Total at 1 M NaCl-148.8-411.2

How the nearest-neighbor Tm works

A duplex is held together mainly by the stacking of neighboring base pairs, so its enthalpy ΔH° and entropy ΔS° are sums over the overlapping pairs of bases (AA/TT, CG/GC and so on) plus terms for the two ends. With the SantaLucia (1998) unified values at 1 M NaCl, the Tm follows from Tm = ΔH° ÷ (ΔS° + R ln C), where C is the primer concentration when the primer is in excess over its target. Lower salt destabilises the duplex: the entropy is corrected by 0.368 (N − 1) ln[Na⁺], and magnesium is counted as an equivalent sodium concentration after subtracting the Mg²⁺ held by dNTPs.

Using the result

Primers in a pair are usually designed within a few degrees of each other, and a first annealing temperature is often set a few degrees below the lower Tm, then refined with a gradient PCR. Tm values from different tools differ because they use different parameter sets, salt models and concentration conventions, so compare primers with the same calculator and the same settings.

Assumptions and limits

  • Perfectly matched DNA/DNA duplex with no dangling ends, mismatches or modified bases.
  • Two-state melting; primer in excess over the target unless a target concentration is entered.
  • Salt correction of SantaLucia (1998) with the sodium equivalent of free Mg²⁺ from von Ahsen et al. (2001); no correction for DMSO, formamide or betaine.
  • The Wallace rule is a rough estimate for oligos shorter than about 14 nt.

References

  • SantaLucia, J. Jr. (1998), A unified view of polymer, dumbbell, and oligonucleotide DNA nearest-neighbor thermodynamics, Proceedings of the National Academy of Sciences USA 95(4), 1460–1465.
  • von Ahsen, N., Wittwer, C. T. and Schütz, E. (2001), Oligonucleotide melting temperatures under PCR conditions: nearest-neighbor corrections for Mg²⁺, deoxynucleotide triphosphate, and dimethyl sulfoxide concentrations with comparison to empirical formulas, Clinical Chemistry 47(11), 1956–1961.
  • SantaLucia, J. Jr. and Hicks, D. (2004), The thermodynamics of DNA structural motifs, Annual Review of Biophysics and Biomolecular Structure 33, 415–440.
  • Thein, S. L. and Wallace, R. B. (1986), The use of synthetic oligonucleotides as specific hybridization probes in the diagnosis of genetic disorders, in Davies, K. E. (ed.), Human Genetic Diseases: A Practical Approach, IRL Press, 33–50.

Questions

What is the Tm of the T7 promoter primer TAATACGACTCACTATAGGG?
About 48.7 °C at 250 nM primer and 50 mM Na⁺ (GC 40 %, ΔG°37 −14.77 kcal/mol). With 1.5 mM Mg²⁺ and 0.8 mM dNTPs added, as in a PCR, it rises to about 54.1 °C.
Why does magnesium raise the Tm?
Mg²⁺ shields the negative phosphate backbone much more strongly than Na⁺, stabilising the duplex. dNTPs bind Mg²⁺, so only the excess over the dNTP concentration counts.
Why do different Tm calculators give different answers?
They use different nearest-neighbor tables, salt corrections and assumptions about strand concentration. Differences of a few degrees are normal; use one tool consistently.

This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.