Skip to content
GeneConvert Bench Back to GeneConvert →
GeneConvert Bench Base composition

Base Composition and GC Content for One Sequence

Paste a DNA sequence below and press Analyze. The notes underneath explain what the filter removes, how to check the answer with a ten-base test, and what the mass figure leaves out.

Analysis Results

Sequence Length
0
base pairs
GC Content
0%
G+C nucleotides
AT Content
0%
A+T nucleotides
Molecular Weight
0
daltons (approx)

GC Content Distribution

A
0
Adenine
T
0
Thymine
G
0
Guanine
C
0
Cytosine
About GC Content

GC content is the percentage of nitrogenous bases in a DNA molecule that are either guanine (G) or cytosine (C). A G-C pair is held by three hydrogen bonds and an A-T pair by two, and GC-rich DNA generally needs a higher temperature to separate, although base stacking contributes as well. The figure is used in primer design, gene prediction and comparisons between genomes.

When this is the right tool

Base composition is the first thing to know about a new stretch of DNA, and it feeds several decisions later on. A primer pair whose GC shares differ by twenty points will usually want different annealing conditions. A synthetic gene fragment that comes out far above or below the typical range for its host may be worth re-checking before ordering. A cloned insert whose length disagrees with the expected size is a sign that the wrong region was copied. This page answers those first questions quickly: paste, press the button, read four numbers and a bar.

Preparing the input

The analyzer upper-cases your text and then discards every character that is not A, C, G or T. That keeps it forgiving about spacing and line numbers, but it also means some things silently vanish:

A quick way to see the filter at work is to paste ACGT NNNN acgt. The analyzer reports a length of eight, not twelve.

Checking the result by hand

Take a short test string such as GGGCCCATAT. It has three G, three C, two A and two T. GC content is six out of ten, so 60 percent, and AT content is the remaining 40 percent. If the page agrees, you know it is reading your input the way you intend. For longer sequences, comparing the reported length with the length in the source record is the fastest check that nothing was dropped.

What the mass figure is, and is not

The molecular weight shown is a running total of a fixed mass for each residue in a single strand. It is fine for comparing two oligos or for a rough conversion between mass and moles in a teaching exercise. It does not include end groups, dyes or other modifications, salts, or the second strand of a duplex. For ordering or quantifying an oligo, use the figure on the supplier's specification sheet.

Common pitfalls

SymptomLikely cause
Length shorter than the recordNs or other ambiguity codes were removed
Several records give one combined answerA multi-FASTA paste is merged into one string; split it first
GC share looks oddly high on a short sequenceA header or label with C and G characters was included
Alert saying the sequence is invalidNo A, C, G or T remained after filtering, for example an amino acid sequence

If you need GC content across a window rather than for the whole string, or a melting temperature, this page is not the right tool. Use the composition figure here as a first look, then move to software built for primer design.