Distance from (0,0) to (5,12)
The distance from (0,0) to (5,12) is exactly 13, using the 5-12-13 Pythagorean triple.
How to use this tool
- Enter x₁, y₁, x₂ and y₂ in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your distance and the full breakdown beneath it.
The points (0,0) and (5,12) form a 5-12-13 right triangle, giving a distance of exactly 13 units.
Frequently asked questions
- What is the distance formula?
- The distance between (x₁,y₁) and (x₂,y₂) is d = √((x₂−x₁)² + (y₂−y₁)²). This follows from the Pythagorean theorem.