Primer Tm Calculator (Melting Temperature, Nearest-Neighbour)
Calculate a PCR primer's melting temperature (Tm) with the SantaLucia nearest-neighbour method, corrected for Na⁺, Mg²⁺, dNTPs and primer concentration. Also gives the basic Wallace…
Calculate a PCR primer's melting temperature (Tm) with the SantaLucia nearest-neighbour method, corrected for Na⁺, Mg²⁺, dNTPs and primer concentration. Also gives the basic Wallace and salt-adjusted Tm, GC content, ΔG, a starting annealing temperature and design warnings.
Results
About This Calculator
Paste the primer from 5′ to 3′. The nearest-neighbour method adds up the stacking energy of each base pair with its neighbour, which is more accurate than simple GC counting. Salt stabilises DNA and Mg²⁺ has a strong effect, so enter your buffer's real concentrations.
Good primers are usually 18–30 nt with 40–60% GC, a Tm of 55–65 °C and the pair within 2–5 °C of each other.
Example
Example: the M13 reverse primer (23 nt, 43.5% GC) has a nearest-neighbour Tm of about 56 °C in a standard PCR buffer, so start annealing near 51 °C.
Assumptions
SantaLucia (1998) unified parameters, von Ahsen Mg²⁺ correction and Tm = ΔH/(ΔS + R ln(Ct/4)). Polymerase vendors (e.g. NEB for Q5/Phusion) use their own buffer-specific rules, so their Tm can differ by a few degrees. A, C, G, T only.
Frequently Asked Questions
How do I calculate primer Tm?
For short primers, Tm ≈ 2 × (A+T) + 4 × (G+C). For accuracy, use nearest-neighbour thermodynamics with salt correction, as here.
What annealing temperature should I use?
Start about 5 °C below the lower primer Tm and optimise with a gradient PCR.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile