CalcUnit Logo

How to Calculate Pythagorean Theorem

Find the missing side of a right triangle using a² + b² = c².

The Formula

a² + b² = c²

The pythagorean theorem formula uses the mathematical relationship: a² + b² = c². Each variable in the formula represents a measurable quantity that affects the final result.

What Each Variable Means

Every value in the pythagorean theorem formula, what it measures, and the value used in the worked example on this page:

VariableTypeExample value
Side A (leg)Input (you provide)3
Side B (leg)Input (you provide)4
Hypotenuse (C)Result (calculated)—
Triangle AreaResult (calculated)—
PerimeterResult (calculated)—

Step-by-Step Method

  1. 1Write down the values you know: Side A (leg), Side B (leg).
  2. 2Substitute your known values into the formula: a² + b² = c².
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 5Verify your answer with the interactive Pythagorean Theorem Calculator — it solves the same formula instantly.

Worked Example

Take a concrete case: side a (leg) = 2, with the other inputs at the typical values from the variables table above. Substituting into the formula gives hypotenuse (c) = 4.4721, triangle area = 4.0000, perimeter = 10.4721. These numbers are solved by the same engine that powers the Pythagorean Theorem calculator, so you can reproduce them exactly by entering the same inputs there.

Side A (leg)Hypotenuse (C)Triangle AreaPerimeter
0.84.07921.60008.8792
24.47214.000010.4721
35.00006.000012.0000
45.65698.000013.6569
56.403110.000015.4031
67.211112.000017.2111
88.944316.000020.9443
99.848918.000022.8489
1010.770320.000024.7703

How each result changes as side a (leg) changes, holding the other inputs constant.

Practice Problems

1. Given Side A (leg) 3, Side B (leg) 4, what does it come out to?

Answer: The calculator returns Hypotenuse (C) 5.0000, Triangle Area 6.0000 m², Perimeter 12.0000 m for Side A (leg) 3, Side B (leg) 4.

2. You enter Side A (leg) 7.5, Side B (leg) 4 — what does the calculator return?

Answer: With Side A (leg) 7.5, Side B (leg) 4, the results are Hypotenuse (C) 8.5000, Triangle Area 15.0000 m², Perimeter 20.0000 m.

Frequently Asked Questions

What is the formula for pythagorean theorem?

The formula is: a² + b² = c². Find the missing side of a right triangle using a² + b² = c².

What values do I need to calculate pythagorean theorem?

You need side a (leg), side b (leg). The calculator produces hypotenuse (c), triangle area, perimeter from those inputs.

What is the pythagorean theorem when side a (leg) is 2?

With side a (leg) = 2, the result is hypotenuse (c) = 4.4721, triangle area = 4.0000, perimeter = 10.4721. This is worked through in full in the example on this page.

Related Topics

pythagoreanright trianglehypotenusegeometry

Use the Interactive Calculator

Skip the manual math — get instant results with our free Pythagorean Theorem calculator.

Open Calculator

Related Calculators