Introduction
This Tm calculator finds the melting temperature (Tm) of your DNA primers. Tm is the temperature where half of the primer is stuck to its target DNA and half has come apart.1 Knowing this number helps you pick the right annealing temperature for PCR, so your reaction works instead of failing.
Just paste in a primer sequence, or two if you have a forward and reverse pair. The tool counts your bases, works out the GC content, and gives you the Tm right away. You can also enter many primer pairs at once in batch mode.
Pick from three ways to get your answer:
- Basic Tm: a quick estimate from GC content. It also accepts mixed bases like N, R, and Y.
- Nearest Neighbor: the most exact method.1 It uses base-stacking energy plus your salt and primer amounts.
- Polymerase-specific: uses the same kind of Tm method the enzyme's maker uses (SuperFi, Phusion/Phire, or Taq) and applies the maker's annealing rule.
You also get the primer length, GC percent, molecular weight, extinction coefficient (ε₂₆₀), and the reverse complement sequence. A step-by-step solution shows every part of the math, so you can check the work or learn how it is done. Charts show your results, and you can download everything as a CSV or Excel file.
How to use our Tm Calculator
Type in your primer sequence, pick a method, and set your reaction conditions. The calculator gives you the melting temperature (Tm), GC content, molecular weight, thermodynamic values (ΔH and ΔS), and a suggested annealing temperature, plus step-by-step math and charts.
Input mode: Choose "Single pair" to check one or two primers. Choose "Batch" to check many primer pairs at once.
Calculation method: Pick "Basic Tm" for a quick GC or Wallace estimate (this one allows mixed bases). Pick "Nearest Neighbor" for the most accurate Tm using base stacking, salt, and primer concentration. Pick "Polymerase-specific" to match the Tm model to your enzyme and get an annealing temperature.
DNA polymerase: This box shows only for the polymerase-specific method. Select the enzyme you use: Platinum SuperFi, Phusion/Phire, or DreamTaq/Taq. Each one uses its own annealing temperature rule.
Primer concentration: Enter your total single-strand primer amount and pick the unit (nM, µM, mM, or M). Typical values run from 200 to 1,000 nM.5
Salt (Na⁺) concentration: Enter the monovalent salt level in your reaction buffer and pick the unit. The maker's calculator uses 50 mM for Phusion and Phire reactions.5
Mg²⁺ concentration: Enter the magnesium level if you know it. The tool turns it into a sodium equivalent so the Tm is more accurate. Leave it at 0 to skip it.
Temperature output unit: Choose °C, °F, or K for all temperature results.
Thermodynamic output units: Choose kcal/mol with cal/(mol·K), or kJ/mol with J/(mol·K), for the ΔH and ΔS values.
Primer 1 (forward): Paste your 5′ to 3′ sequence, 6 to 50 bases long. Spaces, numbers, and FASTA headers are removed for you.
Primer 2 (reverse): Paste your second primer to compare both and get the Tm difference. Leave it blank to test just one primer.
Batch primer pairs: In batch mode, put one pair per line like this: F1 AGCTTGCATGCCTGCAGGTC ; R1 CTGGCCGTCGTTTTACAACG. Use "Clear batch input" to start over.
Calculate and Reset: Results update as you type, but you can press "Calculate" any time. Press "Reset" to bring back the example values. Then use the export buttons to save your results as CSV or Excel.
What Is Primer Melting Temperature (Tm)?
DNA is made of two strands that stick together. The melting temperature, or Tm, is the temperature where half of those strands come apart.1 For a PCR primer, the Tm tells you how warm the reaction can get before the primer stops holding onto the DNA template.
Knowing the Tm helps you pick the right annealing temperature for PCR. If the reaction is too hot, the primer will not bind and you get no product. If it is too cool, the primer sticks in the wrong places and you get extra bands or smears.
What Changes a Primer's Tm
- Length: Longer primers grip harder, so the Tm goes up.
- GC content: G–C pairs are held by three hydrogen bonds, while A–T pairs have only two.8 More G and C means a higher Tm.
- Base order: Neighboring bases stack on each other. The same bases in a different order can give a slightly different Tm.
- Salt (Na⁺ and Mg²⁺): Salt ions hide the negative charge on DNA, so the strands stay together longer. More salt raises the Tm.3
- Primer amount: Higher primer concentration pushes the strands to pair up, which nudges the Tm up a little.
The Three Ways Tm Is Figured Out
Basic Tm
A quick estimate from length and GC count. Short primers (under 14 bases) use the Wallace rule: add 2 °C for every A or T and 4 °C for every G or C.2 Longer primers use a GC-content formula.2 This method assumes set conditions of 50 nM primer and 50 mM Na⁺ and does not adjust for salt, so it is a rough guess.2 It is the only method here that accepts mixed (degenerate) base codes like N, R, or Y.
Nearest Neighbor
The most accurate method. It looks at every pair of side-by-side bases and adds up their heat (ΔH) and disorder (ΔS) values, then corrects for salt and primer concentration.3 It is the most accurate of the three because it uses the order of the bases, not just how many of each there are.1 It needs plain A, T, G, and C bases only. The salt correction uses a natural log term.
Polymerase-Specific
Enzyme makers base their annealing advice on different Tm methods. Thermo Fisher uses modified Allawi and SantaLucia values for Platinum SuperFi, modified Breslauer values for Phusion and Phire, and a separate method for Taq-based enzymes.4 This option uses the published forms of those methods and then applies each maker's annealing rule:
- Platinum SuperFi: lowest primer Tm + 3 °C.
- Phusion / Phire: the lowest Tm for primers 20 bases or shorter, and the lowest Tm + 3 °C for longer ones.5
- DreamTaq / Taq: lowest Tm − 5 °C.6
What Makes a Good Primer
| Length | 18–24 bases |
|---|---|
| GC content | 40–60% |
| Tm | 50–60 °C |
| Tm gap between the two primers | under 5 °C |
Good primers are usually 18 to 24 bases long, with 40–60% GC, a Tm of 50–60 °C, and the two Tm values within 5 °C of each other.7 A big Tm gap between the forward and reverse primer is a common cause of failed PCR. One primer binds well while the other does not, so only one strand gets copied well.
Other Numbers You Get
Along with Tm, you also see the molecular weight (useful for turning a mass of dried primer into moles), the extinction coefficient at 260 nm (used with a spectrophotometer reading to find concentration), the GC percent, and the reverse complement of your sequence.
Treat every calculated Tm as a starting point, not a final answer. Real reactions also depend on your buffer, additives like DMSO, template quality, and the machine you use. If your first PCR is weak, run a gradient of annealing temperatures from about 6–10 °C below the value shown here up to the extension temperature.4