QuickToolbox

Evolutionary Distance Calculator

Compare two aligned DNA sequences and get the p-distance, the Jukes-Cantor corrected distance and the number of transitions and transversions.

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

p = differences / sites; Jukes-Cantor d = -0.75 ln(1 - 4p / 3)

Frequently asked questions

Why correct the p-distance?

Sites can change more than once, which hides some changes. The Jukes-Cantor correction adds them back.

What if the sequences differ in length?

They must be aligned to the same length first. The tool compares up to the shorter one and warns you.

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