Find the hypotenuse or a missing leg of a right triangle with a² + b² = c². A live diagram, perimeter, area and angles update as you type — with every step of the arithmetic shown.
Enter the two legs (the sides that meet at the right angle).
The Pythagorean theorem ties together the three sides of a right triangle. The two shorter sides that meet at the right angle are the legs; the long side opposite the right angle is the hypotenuse. Square the legs, add them, and you get the square of the hypotenuse — a relationship that has held for every right triangle for over two thousand years.
The same three moves work whether you are after the hypotenuse or a missing leg — only the rearrangement changes.
Mark which sides are legs and which is the hypotenuse. If you know both legs you are solving for c; if you know the hypotenuse and one leg you are solving for the other leg.
For the hypotenuse use it as written. For a leg, move the known leg to the other side so the unknown is alone.
Drop your values in, square them, then add or subtract as the formula demands.
The square root of the result is the side length. Round only at the very end.
The procedure is identical whether the answer is a clean whole number or an irrational decimal. Switch tabs to watch it play out.
Two legs given — solve for c.
Triples are right triangles with whole-number sides — handy to recognise so you can skip the square roots. These are the ones that appear most often in homework and on the job.
Primitive triples share no common factor. Multiply any of them by a whole number and the result is still a valid right triangle.
One of the most-used formulas in all of mathematics, quietly at work far beyond the classroom.
Once you know a² + b² = c², several other staples fall straight out of it.
A handful of facts that keep you from the classic mistakes.
The relationship is named for the Greek mathematician Pythagoras (c. 570–495 BC), whose school is credited with the first known proof. But the rule was used far earlier: Babylonian clay tablets list Pythagorean triples a thousand years before him, and ancient Egyptian and Indian builders used knotted 3-4-5 ropes to lay out right angles. Today there are hundreds of distinct proofs — geometric, algebraic, even one attributed to a US president — making it one of the most-proven theorems in mathematics.

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. This guide shows how to find the equation from a graph, two points, or a point and slope, graph it, and convert standard form.

The volume of a cylinder is V = πr²h, where r is the radius of the circular base, h is the height, and π ≈ 3.14159. This guide shows why the formula works, walks through a full numerical example, and covers diameter inputs and unit conversions.

The distance between two points is d = √((x₂−x₁)² + (y₂−y₁)²). It comes straight from the Pythagorean theorem: the horizontal and vertical gaps between the points are the two legs of a right triangle, and the distance is the hypotenuse.