Skip to content

Salt Correction in Primer Tm Calculation: Why Magnesium Decides the Number

salt correction primer tm calculation magnesiumDecember 2, 2026

One primer, two salt entries, and the answer moves 7.0°C. Enter 50 mM Na+ with no magnesium, the way a synthesis order page defaults, and a 21-mer reports 60.7°C. Enter the same primer at 50 mM Na+ with 1.5 mM Mg2+ and 0.2 mM dNTP — an ordinary PCR buffer — and it reports 67.7°C. Salt correction in primer Tm calculation is not a rounding adjustment, and magnesium is the term that decides the number.

This post works one primer through the correction with each intermediate shown: what counts as free magnesium, which of the two regimes your buffer is in, and how much each entry on the form is actually worth.

The primer, and the conditions 5′-ATGGTGAGCAAGGGCGAGGAG-3′, 21 nt, 61.9% GC, at 250 nM oligo. Tm values are SantaLucia (1998) nearest-neighbor parameters with the Owczarzy (2008) correction. Every number below is quoted with the salt conditions that produced it.

Salt correction in primer Tm calculation: one threshold, and the case it hides

The nearest-neighbor parameters were measured at 1 M Na+. No reaction runs there, so every calculator applies a correction — and which correction applies depends on which ion is doing the stabilising.

Key Formula

r = √[Mg2+]free ÷ [Mon+]

With both concentrations in molar, Owczarzy’s finding is that “if the concentration ratio of [Mg2+]0.5/[Mon+] is less than 0.22 M−1/2, monovalent ions (K+, Na+) are dominant,” and that magnesium effects dominate “at higher ratios.”

Read the paper’s middle case before you trust a single threshold The same abstract identifies conditions “where monovalent and divalent cations compete and their stability effects are more complex” — and states that typical PCR and sequencing conditions, 1.5–5 mM magnesium with 20–100 mM monovalent cations, fall within that range. So ordinary PCR is not cleanly in either camp by the literature’s own account. Most calculators, including the one used here, implement a two-branch simplification that switches at 0.22 and treats everything above it as magnesium-dominated. That simplification is what the rest of this post measures, and it is a property of the implementation rather than a result from the paper.

Step 1: free magnesium, not total magnesium

dNTPs chelate Mg2+ roughly mole for mole. The correction reads what is left:

[Mg2+]free = [Mg2+]total − [dNTP]total

For a standard reaction: 1.5 mM Mg2+ total minus 0.2 mM dNTP leaves 1.3 mM free. That is the number the correction uses, and it is why a Tm form asks for dNTP concentration at all.

Step 2: find the branch — and discover your buffer is almost never on the first one

Substituting the standard reaction into the ratio: √0.0013 ÷ 0.050 = 0.0361 ÷ 0.050 = 0.72 M−1/2. That is well above 0.22, so a calculator that branches at the threshold takes the magnesium path.

Run the threshold backwards to see how little magnesium it takes. At 50 mM monovalent, r = 0.22 corresponds to free Mg2+ of (0.22 × 0.050)2 = 1.21 × 10−4 M, or 0.12 mM free — about 0.32 mM total once 0.2 mM dNTP is subtracted.

Worked Example Typical PCR runs 1.5–3 mM Mg2+, which is ten to twenty-five times the free magnesium needed to put the ratio above 0.22. In a calculator that branches at that threshold, the monovalent-equivalent path most explanations of salt correction describe at length is the one your buffer never takes. Owczarzy places these same buffers in the competing range, so the sharp switch is the tool’s, not the chemistry’s — but either way, the number you get for a PCR buffer is being set by magnesium.

Step 3: the same primer across five buffers

ConditionNa+Mg2+ totaldNTPFree Mg2+Tm
Synthesis / ordering default50 mM00060.7°C
Generic PCR / Phusion HF buffer50 mM1.5 mM0.2 mM1.3 mM67.7°C
Q5 reaction buffer100 mM2 mM0.2 mM1.8 mM68.2°C
Magnesium titrated up50 mM3 mM0.2 mM2.8 mM68.9°C
Same buffer, dNTP left blank50 mM1.5 mM01.5 mM67.9°C

Two things to read off it. The whole 1–4 mM working range spans 2.5°C, so magnesium titration within normal limits moves Tm modestly. The step from no magnesium to the lowest working concentration is 6.1°C, and that is the step an ordering-conditions Tm makes you skip.

Sanity check: why the sodium field barely moves

Change the monovalent entry across 20, 50 and 100 mM at 1.5 mM Mg2+ and this primer returns 67.7°C every time. That is a property of the implementation and not a claim about chemistry: past the 0.22 switch this calculator applies a correction whose terms are free Mg2+, GC fraction and primer length, with no monovalent term. Since the paper puts these buffers in the competing range, expect a tool that models that competition to show some sodium dependence here where this one shows none — which is one more reason two calculators disagree.

The monovalent entry re-enters in this tool when the ratio falls back below 0.22 — very low magnesium, or unusually high salt. For the buffers in the table above, getting the sodium value slightly wrong costs nothing and getting the magnesium value wrong costs degrees. If you only have time to check one field, check that one. This is also a large part of why two Tm calculators return different numbers for one primer: they are frequently not in the same regime, because they were not given the same buffer.

Where this breaks

  • dNTP chelation bites hardest when magnesium is tight. At 1.5 mM Mg2+, raising dNTP from 0.2 to 0.8 mM costs 1.1°C (67.7 → 66.6°C). At 1.0 mM Mg2+ the same change costs 3.1°C (66.8 → 63.7°C), because a larger share of the magnesium is being removed. High-dNTP protocols need the dNTP field filled in.
  • Oligo concentration is a separate term. Doubling from 250 to 500 nM adds 1.0°C for this primer. It enters through the R · ln(CT/4) term, not through salt, so it moves independently of everything above.
  • DMSO subtracts. A common correction is 0.6°C per percent, putting this primer at 65.9°C in 3% DMSO. If you add DMSO to get through a GC-rich template, the anneal you calculated without it is too high.
  • Nearest-neighbor is accurate to roughly ±1–3°C against measured melt curves. A 0.1°C difference between two calculators is noise; the 7°C difference at the top of this post is not. Treat the output as a calibration point for a gradient, not as a measurement.
  • Composition still has to be in range first. Salt correction applied to a primer whose GC content is outside the workable band produces a precise number for an unworkable primer — the GC-content decision tree runs before this one.

What to enter, and when it matters

Three entries decide the salt correction: monovalent cation, total magnesium, and total dNTP. Fill in all three from the reaction you are going to run, not from the bottle the primer arrives in. If the tool only offers a sodium field, it is quoting you an ordering-conditions Tm whatever label it carries, and the number will sit several degrees below the primer’s Tm in a PCR buffer.

The free primer Tm calculator with buffer and polymerase presets takes all three and applies the regime test rather than assuming one. Selecting a polymerase fills the buffer fields with that enzyme’s composition, and the thermodynamic panel shows the ΔH and ΔS behind the result, so the arithmetic above is reproducible on your own primer. The parameter sets it uses are SantaLucia 1998 and Owczarzy 2008. If you want to see what the correction is worth before it is applied, the comparison against the Wallace rule covers the other half of the gap between a quick estimate and a usable annealing temperature.

Try PlasmidStudio

AI-assisted plasmid design with automated validation. Start free — $0 to sign up.

Get started free