Enter any two sides of a right triangle above and the calculator solves the third, redrawing the triangle to scale as you type. Tap a side of the diagram to solve for it, hit a quick-triple button to load a classic example, or toggle the squares view to see as areas with your own numbers.
Formula
| You know | Formula for the missing side |
|---|---|
| Both legs | |
| Leg and hypotenuse | |
| Leg and hypotenuse |
The hypotenuse is always the longest side; enter a leg that matches or beats it and the calculator flags the error instead of returning an imaginary number.
Two worked examples, using the same steps the substitution line shows:
Video walkthrough
Related calculators
- Scientific calculator - run the square and square-root steps by hand.
- Stair calculator - the stringer is the hypotenuse of rise and run.
- Tile calculator - diagonal layouts use the same room-diagonal math.
Sources and further reading
- Wikipedia: Pythagorean theorem - statement, history, and proofs.
- Wikipedia: Pythagorean triple - how triples like 3-4-5 are generated.
- Cut the Knot: Pythagorean Theorem - over a hundred distinct proofs.