CompoundPage

Primer Tm Calculator

Paste a primer and the primer Tm calculator gives its melting temperature from the published nearest-neighbor parameters, with the enthalpy, entropy and free energy behind it and the two rough rules alongside for comparison.

DNA bases A, C, G, T. Spaces, numbers and 5'/3' marks are stripped. The default is the M13 forward (-20) sequencing primer.

nM250 nM is a common primer concentration in PCR. For two strands at equal concentration, enter one strand's.

mMThe correction was fitted on Na+ from 10 to 300 mM. Potassium is counted as if it were sodium. Magnesium is not modeled.

Sets the concentration term in the Tm equation. A self-complementary sequence is detected and pairs with itself.

Melting temperature (Tm)53.9 °C

Melting temperature, nearest-neighbor The temperature at which half the oligo is paired: ΔH° / (ΔS° + R ln C) - 273.15, with C = the primer concentration, since the target is so much more dilute, at 50 mM monovalent salt. In 1 M NaCl it would be 68.6 °C.
53.9 °C
Annealing temperature, rule of thumb A common starting point is 3 to 5 °C below the lower Tm of the primer pair. The polymerase's protocol governs: suppliers publish their own Tm tools with buffer-specific rules, and a gradient PCR settles it.
48.9 to 50.9 °C
ΔH° (enthalpy) The sum of 16 nearest-neighbor stacks and two initiation terms from Table 2. The paper treats enthalpy as independent of salt.
-133.6 kcal/mol (-559.0 kJ/mol)
ΔS° (entropy) -360.7 in 1 M NaCl, plus 0.368 x N x ln[Na+] with N = 16 (Eq. 8). Lower salt makes the entropy more negative, which is how it lowers the Tm.
-378.3 cal/(K·mol) (-1,583.0 J/(K·mol))
ΔG°37 (free energy at 37 °C) -21.62 in 1 M NaCl from Table 1, minus 0.114 x N x ln[Na+] (Eq. 7). Negative means the duplex is favored at 37 °C; the more negative, the more stable.
-16.16 kcal/mol (-67.6 kJ/mol)
GC content G·C pairs stack more strongly than A·T pairs, which is most of why GC-rich primers melt higher, but the order of the bases matters too: that is what the nearest-neighbor sum captures and the GC count does not.
52.9% (9 of 17)
Length 6 A, 4 C, 5 G, 2 T.
17 nt
Molecular weight (single strand) Free-acid form with 5'- and 3'-hydroxyl ends, as a synthetic oligo comes, from IUPAC atomic weights. 1 nmol weighs 5.23 µg. A 5'-phosphate adds 79.98.
5,228.47 g/mol
Wallace rule (rough) 2 x (A+T) + 4 x (G+C) = 2 x 8 + 4 x 9. A shortcut for short oligos that ignores salt, concentration and sequence order. OligoCalc uses it below 14 nt.
52 °C
GC formula (rough) 64.9 + 41 x (G+C - 16.4) / length, the basic formula OligoCalc uses from 14 nt up. It knows only length and GC count.
47.1 °C
Nearest-neighbor sum (SantaLucia 1998, Tables 1 and 2)
TermCountΔH° (kcal/mol)ΔS° (cal/K·mol)ΔG°37 (kcal/mol)
AA/TT3-23.70-66.60-3.00
TA/AT1-7.20-21.30-0.58
CA/GT1-8.50-22.70-1.45
GT/CA4-33.60-89.60-5.76
CT/GA1-7.80-21.00-1.28
GA/CT1-8.20-22.20-1.30
CG/GC2-21.20-54.40-4.34
GC/CG1-9.80-24.40-2.24
GG/CC2-16.00-39.80-3.68
Initiation, terminal G·C10.10-2.800.98
Initiation, terminal A·T12.304.101.03
Total in 1 M NaCl-133.60-360.70-21.62
Salt correction to 50 mM (N = 16)0.00-17.645.46
Total-133.60-378.34-16.16
  • Magnesium and dNTPs are not modeled. PCR buffers contain Mg2+, which stabilizes duplexes; Owczarzy et al. (2008) found it dominates duplex stability under typical PCR conditions. A Tm from monovalent salt alone will usually read lower than one from a tool that includes magnesium.
  • Assumes a perfectly matched duplex with no dangling ends, hairpins or modifications. Mismatches, primer dimers and secondary structure are not checked.

How the Primer Tm Calculator works

Tm = ΔH° / (ΔS° + R ln C) - 273.15. ΔH° and ΔS° are the enthalpy and entropy of the primer pairing with its complement, summed over its nearest neighbors; R is 1.987 cal/(K·mol); C is a strand concentration in mol/L. This is Eq. 3 of SantaLucia's 1998 unified nearest-neighbor paper (PNAS 95:1460), and every parameter this calculator uses comes from its Tables 1 and 2.

Worked example. The default is the M13 forward (-20) primer, GTAAAACGACGGCCAGT. Read two bases at a time it has 16 stacks: GT, TA, AA, AA, AA, AC, CG, GA, AC, CG, GG, GC, CC, CA, AG, GT. Each is one of ten Watson-Crick stacks read from one strand or the other, so AC on this strand is the GT/CA stack and CC is GG/CC. Summing Table 2 over the 16, and adding one initiation term for the G·C pair at the 5' end and one for the A·T pair at the 3' end, gives ΔH° = -133.6 kcal/mol and ΔS° = -360.7 cal/(K·mol) in 1 M NaCl. The paper's sodium correction (Eq. 8) adds 0.368 x N x ln[Na+] to the entropy, with N = 16 for a 17-mer: at 50 mM that is -17.6, so ΔS° is -378.3. At 250 nM primer, R ln C = 1.987 x ln(0.00000025) = -30.2. Then Tm = -133,600 / (-378.3 - 30.2) = 327.0 K, or 53.9 °C. The table under the result shows every term.

The paper's own worked example is the free energy of CGTTGA (its Fig. 1): -2.17 - 1.44 - 1.00 - 1.45 - 1.30 + 0.98 + 1.03 = -5.35 kcal/mol at 37 °C. Enter CGTTGA with salt at 1,000 mM and the ΔG°37 row gives -5.35.

Why concentration is in it. Pairing takes two molecules, so a dilute primer finds its partner less often and melts lower. The paper says which C to use: the total strand concentration for a self-complementary oligo, a quarter of it for two complementary strands at equal concentration, and the larger concentration minus half the smaller when they differ. A PCR primer outnumbers its template by orders of magnitude, so the last case reduces to the primer concentration, which is the default here. A tool that assumes equal strands reports lower: for the default primer, 52.8 °C instead of 53.9 °C. Ten times the primer moves the Tm by a few degrees, not tens.

Salt. Sodium shields the negative phosphate backbones from each other, so less of it means a lower Tm: the default primer is 46.5 °C at 10 mM and 60.5 °C at 200 mM. SantaLucia fitted the correction on 26 duplexes between 10 and 300 mM NaCl and reports it predicts their Tm with an average deviation of 2.2 °C. Potassium is treated here as equivalent to sodium, which is an approximation. Magnesium is not modeled at all. PCR buffers contain it, and Owczarzy and colleagues (Biochemistry, 2008) found that under typical PCR conditions magnesium, not the monovalent ions, governs duplex stability; their correction is not included, so for a PCR buffer this calculator's Tm reads low. Compare both primers of a pair here, under the same settings, rather than mixing numbers from different tools.

The rough rules. The Wallace rule, 2 x (A+T) + 4 x (G+C), and the basic GC formula, 64.9 + 41 x (G+C - 16.4) / length, are shown for comparison and labeled as rough. They know only the base count. Rearranging the default primer's 17 bases changes the nearest-neighbor Tm: GCAGTCAGTCAGCAGAA gives 53.1 °C and GGGGGCCCCAAAAAATT 54.1 °C, against 53.9 °C for the original. Both rules give the same answer for all three. Neither responds to salt or concentration at all.

Annealing temperature. A common rule of thumb starts annealing 3 to 5 °C below the lower Tm of the two primers. It is a starting point, not a specification. Polymerase suppliers publish their own Tm tools with rules for their buffers, and their recommendations can differ from this rule; the protocol for the enzyme you are using governs, and a gradient run settles it. This calculator uses the general published method, not any supplier's.

Molecular weight is computed from IUPAC atomic weights: each base as its deoxynucleoside monophosphate less one water, then one water added and one HPO3 removed for the hydroxyl ends of a synthetic oligo. That reproduces the familiar 313.21, 304.20, 289.18 and 329.21 per A, T, C and G and the -61.96 end correction.

The calculation assumes a perfectly matched two-state duplex. Mismatches, dangling ends, hairpins, primer dimers, modified bases and degenerate positions are not modeled.

Primer Tm Calculator FAQ

How do you calculate the Tm of a primer?

By the nearest-neighbor method: sum the enthalpy and entropy of each adjacent pair of bases from a published table, add initiation terms for the two ends, correct the entropy for salt, and solve Tm = ΔH° / (ΔS° + R ln C). This calculator uses SantaLucia's 1998 unified parameters. For the M13 forward primer at 250 nM and 50 mM sodium it gives 53.9 °C.

Why does another Tm calculator give a different number?

Usually for one of three reasons: a different parameter table, a magnesium correction (this calculator has none, so it reads lower for a PCR buffer), or a different convention for the concentration term, where assuming two equal strands instead of excess primer costs about a degree. Polymerase suppliers' tools also apply rules specific to their own buffers. None of these is a mistake; compare primers within one tool.

What annealing temperature should I use?

A common starting point is 3 to 5 °C below the lower of the two primers' Tm values. Treat it as a first guess: the polymerase supplier's protocol takes precedence, since its recommendation is written for its own enzyme and buffer and can differ from this rule, and a gradient PCR finds the best temperature empirically.

Is the Wallace rule (2 + 4 rule) accurate?

Only roughly. 2 x (A+T) + 4 x (G+C) counts bases and ignores their order, the salt and the primer concentration. It is quick and easy to remember, and for the default primer it lands near the nearest-neighbor value, but it can be several degrees off for other sequences and conditions. This calculator shows it for comparison.

Can I enter degenerate bases, RNA or modified oligos?

No. Ambiguity codes such as N, R or Y describe a mixture of sequences with different melting temperatures, so the page names them and refuses rather than guessing. U is an RNA base and RNA duplexes have their own parameters. Modifications and locked or labeled bases change the thermodynamics in ways these parameters do not cover.

Sources

Related calculators

Embed this calculator
<div id="compoundpage-primer-tm-calculator"></div>
<script src="https://compoundpage.com/embed/primer-tm-calculator.js" async></script>

The same calculation as JSON