🔬
🔬 Science & engineering

Primer Tm & GC% Calculator

Results update as you type.

Your numbers

Understanding the primer Tm and GC% calculator — concept and principle

The melting temperature (Tm) of a primer is the temperature at which half of the primer molecules are bound to their complementary strand. It guides the annealing temperature in PCR, the pairing of forward and reverse primers, and probe design. This calculator gives two quick Tm estimates, the GC content, the length and the molecular weight of a single-stranded DNA oligo.

Primer GC content and melting temperatureThe 24-base primer has 10 G or C (41.67% GC); the Wallace rule gives 68 °C and the salt-adjusted formula at 50 mM Na+ gives 52.0 °C.Count the bases, then estimate TmAGCGGATAACAATTTCACACAGGA24 bases: A 10 · T 4 · G 5 · C 5GC = 10 ÷ 24 = 41.67%Wallace rule68 °C2(A+T) + 4(G+C)= 2×14 + 4×10Salt-adjusted52.0 °C81.5 + 16.6 log 0.05+ 0.41×41.67 − 600/24The quick rule is meant for short oligos; trust ~52 °C here
Gold tiles are G and C; the two Tm formulas differ by 16 °C for this 24-mer.

How it is calculated

Letters other than A, C, G and T are ignored.

The principle

G·C pairs form three hydrogen bonds and stack more strongly than A·T pairs with two, so GC-rich duplexes need more heat to separate. Longer duplexes have more contacts, but each extra base adds less, which the −600/N term captures. Cations shield the negatively charged phosphate backbones, so higher salt stabilises the duplex; the log term reflects this. The Wallace rule is a shortcut fitted to short oligos in high salt and overestimates Tm for longer primers. Nearest-neighbour models, which sum the stability of each adjacent base pair, are more accurate.

Worked example

  1. Sequence AGCGGATAACAATTTCACACAGGA: N = 24, A = 10, T = 4, G = 5, C = 5.
  2. GC = 10 ÷ 24 × 100 = 41.67%.
  3. Salt-adjusted: 81.5 + 16.6 × log₁₀(0.05) + 0.41 × 41.67 − 600 ÷ 24 = 81.5 − 21.60 + 17.08 − 25.00 = 51.99 °C.
  4. Wallace: 2 × 14 + 4 × 10 = 68 °C.
  5. MW = 10 × 313.21 + 4 × 304.2 + 5 × 329.21 + 5 × 289.18 − 61.96 = 7,378.89 g/mol.
How Tm, salt-adjusted (°C) changes with Na⁺ (mM)How Tm, salt-adjusted changes with Na⁺404550556012.52537.55062.575100Example: 51.98623541Na⁺ (mM)
Each point is the calculator re-run with only “Na⁺ (mM)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Na⁺ (mM)Tm, salt-adjusted (°C)
12.541.99203955
2546.98913748
37.549.91225238
5051.98623541
62.553.59494162
7554.90935031
10056.98333333

How to read the result

Common design rules of thumb are a length of about 18–25 nt, GC content of about 40–60%, and forward and reverse primers within about 5 °C of each other. A starting annealing temperature is often set a few degrees below the lower primer Tm and then optimised. The two estimates here differ by 16 °C, which shows why the Wallace rule should be reserved for short oligos. Real reactions also contain Mg²⁺, which raises Tm, so polymerase vendors' calculators may give higher values.

Common mistakes

Keep in mind: These formulas are approximations that ignore Mg²⁺, dNTPs, primer concentration and sequence context. Use a nearest-neighbour calculator and empirical gradient PCR for critical assays.

Frequently asked questions

Why does my polymerase supplier's Tm differ?

Supplier tools usually use nearest-neighbour thermodynamics with their own buffer conditions, so their numbers are not interchangeable with these.

How do I convert MW to concentration?

Divide the mass concentration by MW; for example 7.38 µg/mL of this oligo is about 1 µM.

Sources: Wallace, R. B. et al. (1979), Nucleic Acids Research 6, 3543–3557 · SantaLucia, J. (1998), Proceedings of the National Academy of Sciences 95, 1460–1465 · Sambrook, J. and Russell, D. W., Molecular Cloning: A Laboratory Manual (Cold Spring Harbor Laboratory Press)

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →