QuickToolbox

DNA Base Pair Calculator

Paste a DNA sequence to count A, T, G and C, get the length in base pairs and the complementary strand.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

A pairs with T and G pairs with C; length in bp = number of bases

Frequently asked questions

What counts as a base pair?

One base on each strand joined by hydrogen bonds. A single strand of 100 bases forms 100 base pairs when paired.

Does it accept spaces and numbers?

Yes. Spaces, digits and line breaks are ignored, so you can paste a sequence from a database.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools