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
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
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
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.
GC Content Calculator
Find the percentage of G and C bases in a DNA or RNA sequence, with the AT content, length and an estimated melting temperature.
Species Classification Reference
Choose a common organism to see its full scientific classification from domain to species.