Learn

GC content and primer melting temperature (Tm)

GC content and melting temperature are the first two numbers checked for any primer. Both come from counting bases. Simple formulas give a quick estimate; dedicated tools that use nearest-neighbour data give a more accurate one.

GC content

GC (%) = (G + C) ÷ N × 100

N is the length in bases. A 20-base primer with 10 G or C has a GC content of 10 ÷ 20 × 100 = 50 %.

Two quick Tm formulas

Wallace rule: Tm = 2 × (A + T) + 4 × (G + C)

GC formula: Tm = 64.9 + 41 × (G + C − 16.4) ÷ N

For the 20-base primer with 10 G or C and 10 A or T, the Wallace rule gives 2 × 10 + 4 × 10 = 60 °C and the GC formula gives 64.9 + 41 × (10 − 16.4) ÷ 20 = 51.8 °C.

FormulaBest forResult for the example
Wallace ruleShort oligos, up to about 14 bases60 °C
GC formulaLonger oligos51.8 °C

What the estimates leave out

Neither formula accounts for the order of the bases, the salt concentration or the oligo concentration, all of which change the real Tm by several degrees. Use them to compare primers with each other, not as an exact value. The oligo's molecular weight and amount are covered in nucleic acid molecular weight and oligo resuspension.

Where the calculation goes wrong

  • Applying the Wallace rule to long oligos, where it overestimates Tm.
  • Comparing a Tm from one formula with a Tm from another.
  • Counting only G or only C instead of both.

Common questions

How do I calculate GC content?
Count the G and C bases, divide by the length and multiply by 100. 10 of 20 bases is 50 %.
Why do Tm calculators give different results?
They use different formulas and different salt and oligo concentrations. Compare values from the same method.
What does the Wallace rule give for a 20-mer with 50 % GC?
2 × 10 + 4 × 10 = 60 °C.
BioCalculator

Calculate with your own values in BioCalculator

Put it into practice: the BioCalculator app has these calculators and recipes, with every unit and the formula shown with your numbers.

In the app

  • Every unit from M to aM, plus % w/v and % v/v
  • Calculate in either direction, for example the volume from a mass
  • The formula with your numbers filled in, ready to copy into your notebook
  • All 23 calculators on this site, plus 27 buffer and 44 stock solution recipes

See the store for pricing and system requirements.

iOS app screenshot