TM Calculator

GC Content Calculator for DNA, RNA and Primers

This GC content calculator counts the G and C bases in any DNA or RNA sequence and returns the GC percentage, the base composition and, for primers, the 3′ GC clamp and an estimated Tm.

In short: GC content = (G + C) ÷ total bases × 100. The 21-nt example primer has 11 G/C, so its GC content is 52.4% — inside the 40–60% range for PCR primers.

GC content calculator

Counts update as you type.

Plain text or FASTA; ambiguity codes are counted separately.

The GC content is 52.4% (11 of 21 bases).

GC content52.38%21 bases · AT 47.6%

G + C
11
A + T/U
10
3′ G/C clamp
2 of 5
G 5C 6A 7T 3
Show full calculation
Length21
A7
C6
G5
T3
U0
Ambiguous (N, IUPAC)0
GC content52.38%
AT content47.62%
Tm (nearest-neighbor, 250 nM, 50 mM Na⁺, 1.5 mM Mg²⁺)62.8 °C
  • GC content = (G + C) ÷ (A + T/U + G + C) × 100. Ambiguous bases (N, R, Y…) are excluded from the denominator, except S (G or C) and W (A or T).
  • Within the 40–60% range recommended for PCR primers.
Advertisement

Data reviewed on · How we calculate

How do you calculate GC content?

You calculate GC content by dividing the number of G and C bases by the number of A, T (or U), G and C bases and multiplying by 100. N and other ambiguity codes are left out of the denominator, except S (always G or C) and W (always A or T).

GC% = (G + C) ÷ (A + T + G + C) × 100

What GC content should a primer have?

A primer should have a GC content of 40–60%. Below 40% the Tm drops and the primer needs to be longer; above 60% it may bind non-specifically and form secondary structures. Also keep 1–3 G/C among the last five 3′ bases. Then check the Tm in the Tm calculator, since two primers with the same GC% can melt several degrees apart.

Advertisement

Does higher GC content raise the Tm?

Higher GC content raises the Tm because G·C pairs form three hydrogen bonds and stack more strongly than A·T pairs. In the salt-adjusted formula each extra percent of GC adds 0.41 °C; nearest-neighbor models also weigh the order of the bases. See how to calculate Tm.

Advertisement

Frequently asked questions

What is a normal GC content?

A normal GC content is 40–60% for PCR primers. Genomes vary widely: about 41% for the human genome and 51% for E. coli.

How do you calculate GC content in a DNA sequence?

You calculate GC content in a DNA sequence by counting G and C, dividing by the total of A, T, G and C, and multiplying by 100. Paste the sequence above to get it instantly.

Why is GC content important in PCR?

GC content is important in PCR because it sets primer stability and Tm. GC-rich templates (above 65%) often need additives such as DMSO or a GC enhancer.

Sources

Data reviewed on . How we calculate.