Free Online Pythagorean Theorem Calculator
A Pythagorean theorem calculator finds the missing side of a right triangle from the other two, using the relationship a² + b² = c².
Your data is processed entirely in your browser and never sent to any server.
How to Use This Calculator
- Pick the side you want to solve for: hypotenuse c, leg a, or leg b.
- Type the two known side lengths into the labelled inputs.
- Read the computed value of the missing side along with the formula used.
What Is a Pythagorean Theorem?
The Pythagorean theorem is the cornerstone of plane geometry: in any right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides. Knowing two sides lets you compute the third.
Three rearrangements cover every case. To find the hypotenuse c from legs a and b: c = √(a² + b²). To find a leg given the hypotenuse c and the other leg: a = √(c² − b²) or b = √(c² − a²). This tool handles all three with a mode selector.
Validation catches impossible triangles — if you claim c ≤ a or c ≤ b, the hypotenuse isn't the longest side and the inputs are rejected. Applications are everywhere geometry meets the real world: construction (squaring a foundation), navigation (straight-line distance), graphics (sprite hit detection), and physics (resolving vectors into perpendicular components).
Frequently Asked Questions
What is the Pythagorean theorem?
Which side is the hypotenuse?
Does it work for non-right triangles?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Math & Calculators
Solve quadratic equations using the quadratic formula. Find real and complex roots for ax² + bx + c = 0.
Calculate the area of common shapes: rectangle, triangle, circle, trapezoid, ellipse, and regular polygons.
Calculate the volume of 3D shapes: cube, rectangular box, sphere, cylinder, cone, and pyramid.
Full-featured scientific calculator with trig, log, exponents, and more. Use it free in your browser.
Compute determinant, transpose, and multiplication for 2×2 and 3×3 matrices. Useful for linear algebra coursework.