Full Guide

Pythagorean Theorem Calculator Guide

Find a hypotenuse, solve one missing leg, or check whether three side lengths satisfy the Pythagorean relationship; identify the side roles and units first.

Open calculator

Full Guide

What This Calculator Does

This Pythagorean theorem calculator focuses on right-triangle side relationships. It finds hypotenuse c from legs a and b, finds one leg from the hypotenuse and the other leg, or checks whether three entered sides satisfy a² + b² = c².

It answers “what is the missing side?” or “does this side set fit a right triangle?” It is not a full triangle solver: it does not calculate angles, area, perimeter, map distance, or unit conversions.

When to Use It

  • You know both perpendicular legs and want the diagonal or hypotenuse.
  • You know the hypotenuse and one leg and need the other leg.
  • You want to sanity-check a classic Pythagorean triple or a layout measurement.
  • You need a quick mathematical screen for whether three measured lengths are consistent with a right angle.

For non-right triangles or problems that also need angles, area, or perimeter, use the triangle calculator.

Inputs Explained

Calculation mode

The page has four modes: Find Hypotenuse c, Find Leg a, Find Leg b, and Verify Right Triangle. The field that is being solved for becomes read-only; verify mode requires all three sides.

Legs a and b

a and b are the two sides that meet at the right angle. Both are required and positive when finding c. When finding a leg, the other leg and c must be positive. Keep unit text out of the numeric fields.

Hypotenuse c

c is opposite the right angle and is the longest side. Find a uses c and b; Find b uses c and a. If c is not longer than the known leg, the page reports invalid input. Verify mode compares all three squared lengths directly.

How the Calculation Works

The calculator applies the Pythagorean theorem:

  • Find hypotenuse: c = √(a² + b²).
  • Find leg a: a = √(c² - b²).
  • Find leg b: b = √(c² - a²).
  • Verify three sides: difference = |a² + b² - c²|; the result is yes when the difference is below 0.000001.

The calculation uses floating-point numbers and formats the displayed result for readability, so the last displayed digits can be approximate. The verification tolerance handles tiny numerical differences; it is not a substitute for a measuring instrument, construction specification, or formal sign-off.

Example

Example 1: 3-4-5

Choose Find Hypotenuse c and enter a = 3, b = 4:

c = √(3² + 4²) = √25 = 5

Example 2: known hypotenuse and leg

Choose Find Leg a and enter b = 5, c = 13:

a = √(13² - 5²) = √144 = 12

Example 3: verify three sides

Choose Verify and enter a = 6, b = 8, c = 10:

|6² + 8² - 10²| = |36 + 64 - 100| = 0

The page displays yes. If c is changed to 9, the difference becomes 19 and the page displays no.

How to Understand the Result

In a solve mode, the main result is the missing side length. It preserves the numeric unit you used, but the page has no unit selector or automatic conversion. In verify mode, yes/no means the current values satisfy the squared relationship within the page tolerance; the squared-relation difference helps you audit the comparison.

The quick presets include 3-4, 5-12, 13 and 5, and 6-8-10. They prefill typical scenarios; they do not imply exact radical output, step animation, or a triangle drawing.

Common Mistakes

  • Putting a shorter side in c and still treating it as the hypotenuse.
  • Leaving out one of the two required known sides for the selected solve mode.
  • Mixing centimeters, meters, and inches in one calculation.
  • Applying the theorem to a triangle that is not right-angled.
  • Treating a tolerance-based yes/no check as a field-measurement or engineering acceptance result.

FAQ

Does the page calculate automatically?

Yes. Results refresh when an input or preset changes.

Can I enter any two sides to find the third?

Yes, but their roles matter: two legs find c, while c and one leg find the other leg. The fields are not interchangeable in every mode.

Can I use it for a screen or room diagonal?

Yes, when the problem is a right triangle and every length uses the same unit.

Does it classify acute and obtuse triangles?

No. Verify mode only reports whether the values satisfy the right-triangle relationship within the current tolerance.

Why is the result not an integer?

Most square roots are irrational, so the page displays a formatted decimal approximation. Familiar triples such as 3-4-5 and 5-12-13 produce integer-length results.

Notes

This tool is intended for right-triangle side calculations, classroom practice, and quick dimension checks. It does not provide angles, area, perimeter, complete triangle solving, unit conversion, diagrams, map distances, or formal engineering acceptance. For coordinate distances, see the distance and midpoint calculator; for broader side-and-angle cases, see the triangle calculator; for numeric formulas, see the mathematical expression calculator.

Frequently Asked Questions

Which modes does this tool support?

It can find hypotenuse c, find leg a, find leg b, or verify whether three sides satisfy the Pythagorean relationship.

What should I enter to find the hypotenuse?

In Find Hypotenuse c mode, enter the two perpendicular legs a and b; c is returned as the result.

Why must c be larger when finding a leg?

c is the hypotenuse and must be the longest side of a right triangle; otherwise the square root does not produce a valid positive leg.

What is the squared-relation difference?

It is `|a²+b²-c²|`. The page says yes when the difference is below `0.000001`; this is a numeric tolerance, not a field-measurement tolerance standard.

Do the input units need to match?

Yes. The page does not convert centimeters, meters, or inches, so all three sides must use the same unit system.