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. 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. It uses base-stacking energy plus your salt and primer amounts.
- Polymerase-specific — matches the Tm model to your enzyme (SuperFi, Phusion/Phire, or Taq) and suggests an annealing temperature.
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). A common PCR value is 200 nM. If you need to work back from a stock tube, our Molarity Calculator and Dilution Calculator handle that step.
Salt (Na⁺) concentration: Enter the monovalent salt level in your reaction buffer and pick the unit. Most PCR buffers are near 50 mM.
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. To convert a thermocycler setting on its own, see the Celsius to Fahrenheit Calculator or the Temperature Calculator.
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. 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. 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.
- 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. Longer primers use a GC-content formula. This method ignores salt, so it is a rough guess. 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. This is the standard used by most primer design tools. It needs plain A, T, G, and C bases only. The salt correction uses a natural log term, which you can explore further with our Log Calculator.
Polymerase-Specific
Different enzyme makers use slightly different math, so their suggested temperatures do not always match. This option uses the model that fits your enzyme and then gives a recommended annealing temperature:
- Platinum SuperFi: lowest primer Tm + 3 °C
- Phusion / Phire: lowest Tm + 3 °C for primers 20 bases or shorter, + 7 °C for longer ones
- DreamTaq / Taq: lowest Tm − 5 °C
What Makes a Good Primer
| Length | 18–25 bases |
|---|---|
| GC content | 40–60% |
| Tm | 55–65 °C |
| Tm gap between the two primers | under 5 °C |
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. If you want to see how far apart two values sit in relative terms, the Percent Difference Calculator is handy.
Other Numbers You Get
Along with Tm, you also see the molecular weight (useful for turning a mass of dried primer into moles — see the Molecular Weight Calculator and Mole Calculator for related work), 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. A Buffer Calculator and pH Calculator help you keep those buffer conditions steady, and a Serial Dilution Calculator is useful when setting up template dilutions. If your first PCR is weak, try a gradient of annealing temperatures a few degrees above and below the value shown here.
Working on other bench or classroom problems? You may also find our Punnett Square Calculator, Peptide Mass Calculator, Stoichiometry Calculator, and PPM Calculator useful. For summarizing replicate Tm measurements, try the Standard Deviation Calculator or the Average Calculator.