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:
- Ambiguity codes such as N, R or Y are removed rather than counted, so a sequence with a run of Ns reports a shorter length than its record says.
- RNA pasted with U loses those positions. Replace U with T first if you want RNA analysed.
- Header letters are not protected. Remove the line that starts with > before pasting, or its A, C, G and T characters will be counted.
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
| Symptom | Likely cause |
|---|---|
| Length shorter than the record | Ns or other ambiguity codes were removed |
| Several records give one combined answer | A multi-FASTA paste is merged into one string; split it first |
| GC share looks oddly high on a short sequence | A header or label with C and G characters was included |
| Alert saying the sequence is invalid | No 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.