Pythagorean Theorem Calculator
Solve the right-triangle relationship a² + b² = c². Enter the two known sides; the unknown is calculated.
Enter values
About the Pythagorean Theorem Calculator
The theorem is the special case of the law of cosines at 90°. The classic 3-4-5 triangle and its multiples are the most convenient integer right triangles, useful for laying out square corners on site.
This Pythagorean Theorem Calculator is part of CalcHub's math collection. It runs entirely in your browser: the numbers you type are processed locally with JavaScript and never sent to a server, so you can use it offline and keep your inputs private.
Enter the values in the fields above and press Calculate. Results appear instantly below the form, together with a breakdown table where it helps explain the answer. Press Reset to start a new calculation. The tool is free, requires no account, and works on desktop, tablet and phone.
Results are estimates intended for quick reference and planning. For decisions with legal, medical or financial consequences, confirm the numbers with a qualified professional.