How to use the Pythagorean theorem
To solve, enter two positive sides and leave the unknown blank. c is the hypotenuse, opposite the right angle. To check three sides, enter them in any order. Use one unit throughout.
Find the hypotenuse
The two legs meet at 90°. The longest side, c, is across from that angle. For a = 3 and b = 4, c = √(9+16) = 5. The labelled squares show why the relation uses squared lengths rather than adding side lengths.
Find a missing leg
When c and one leg are known, subtract that leg’s square from c² and take the square root. With c = 13 and b = 12, a = √(169−144) = 5. If the known leg is as long as c, there is no nonzero missing side.
Enter fractions and radicals
Use 3/7 for a fraction, 1.2e-3 for scientific notation, or √2 and 3*sqrt(2) for square roots. For a = 3√2 and b = 4, the squared terms are 18 and 16, and c = √34. The exact form stays available beside its decimal.
Check three sides with the converse
Sort the sides as x ≤ y ≤ z. First confirm x+y > z; equality gives a line and a shorter sum cannot form a triangle. Then compare z² with x²+y². Equality means right, a smaller value means acute, and a larger value means obtuse.
Understand units and real measurements
Use the same unit for every side. For example, convert 30 cm to 0.30 m before combining it with lengths in metres. Areas and squared side lengths use square units. The check uses the values exactly as entered, so rounded measurements may be near 90° without satisfying equality.
Read the result and reuse the steps
The result includes the missing side, exact square and area or perimeter in solve mode. In check mode, the difference Δ = z²−x²−y² shows the comparison. Copy or export the working with units. Do not use the missing-side equation for a triangle unless you know one angle is 90°.
Use the Distance Calculator for a straight segment from coordinates, or the Slope Calculator to check its rise and run. Use the Triangle Calculator for non-right triangles and the Area Calculator for a plane figure. The Root Calculator can evaluate a radical and the Exponent Calculator can check a square. Use the Right Triangle Calculator when you know an angle, altitude, area or perimeter and need the rest of the triangle.
OpenStax — The Pythagorean Theorem introduces the theorem and its applications. OpenStax — Law of Cosines gives the general law of cosines, which reduces to the Pythagorean equation at 90°. BIPM SI Brochure and ISO 80000-2:2019 cover unit and notation conventions.
Common questions
Which side is c?
In solve mode, c is the hypotenuse, opposite the right angle.
Can I enter all three sides?
Yes, switch to Check three sides. The calculator sorts them before comparing.
How do I enter a square root?
Use √2, 3√2 or 3*sqrt(2). The square root must be positive.
Why did my almost-right triangle come back as acute?
The entered values are compared exactly. Measurements rounded to a few digits can change the comparison.
What are significant digits?
They count from the first nonzero digit. At 3, 123.456 rounds to 123.
Does the theorem work for every triangle?
The equation a² + b² = c² holds for a right triangle with c as the hypotenuse. General triangles use other relations.
Explore related tools
- Right Triangle Calculator
- Surface Area Calculator
- Circle Calculator
- Distance Calculator
- Area Calculator
- Slope Calculator
- Volume Calculator
- Triangle Calculator
- Confidence Interval Calculator
- Z-score Calculator
- Permutation and Combination Calculator
- Mean, Median, Mode & Range Calculator
- Statistics Calculator
- Probability Calculator
- Sample Size Calculator
- Number Sequence Calculator
- Standard Deviation Calculator
- Random Number Generator
- Scientific Notation Calculator
- Big Number Calculator
- Root Calculator
- Log Calculator
- Matrix Calculator
- Rounding Calculator
- Exponent Calculator
- Fraction Calculator
- Scientific Calculator
- Percentage Calculator
- Percent Error Calculator
- Quadratic Formula Calculator
- Least Common Multiple Calculator
- Greatest Common Factor Calculator
- Factor Calculator
- Ratio Calculator