Free tool

GC content calculator

Paste a sequence to get its length, GC and AT percentages and per-base counts.

FASTA headers, position numbers, spaces and line breaks are ignored.

How GC content is counted

GC content is the fraction of positions holding a guanine or a cytosine. Ambiguity codes are excluded from both the GC and the AT percentage rather than guessed at, so a sequence full of N will report percentages over the unambiguous positions only and show the ambiguous count separately. Uracil is counted with thymine, so RNA sequences work without conversion.

Why it matters in practice

  • Very high GC stretches make a template hard to amplify and a region hard to sequence; they often need a different polymerase buffer or an additive.
  • Very low GC regions destabilise primer binding, so a primer in an AT-rich window usually has to be longer to reach a workable melting temperature.
  • Synthesis vendors price and fail on extremes of GC and on long homopolymer runs, so it is worth checking a fragment before committing to order it.
  • GC content shifts codon choice, which matters when you are deciding whether to use a native sequence or a codon-optimised one for expression in a different host.
Designing a cassette?

Promoter, marker and payload choices change far more than GC content does.