Launch Main Calculator

Pythagorean Theorem Calculator

The Pythagorean theorem calculator finds an unknown side of a right triangle when the required side lengths are known using the fundamental geometric equation a² + b² = c².

Calculate the hypotenuse or a missing leg instantly when the required side lengths are known with step-by-step mathematical substitution, visual SVG diagrams, and unit conversions.

Right Triangle Hypotenuse Missing Side a² + b² = c² Pythagorean Theorem

Interactive Pythagorean Theorem Calculator

Select your calculation mode below, input known side lengths, and view instant results with dynamic SVG diagrams.

Right Triangle Solver

Dynamic Triangle Diagram
Calculation Result
Step-by-Step Substitution:

What Can You Calculate With the Pythagorean Theorem?

The Pythagorean theorem calculator provides an interactive right triangle solver for finding any unknown side when compatible measurements are known:

Find the Hypotenuse

When both legs of a right triangle are known, the calculator can determine the hypotenuse.

c = √(a² + b²)
Find Hypotenuse →

Find a Missing Leg

When the hypotenuse and one leg are known, the calculator can determine the remaining leg.

a = √(c² - b²)
Find Missing Leg →

Solve a Right-Triangle Side

Use the Pythagorean relationship to solve an unknown side when two compatible measurements are known.

a² + b² = c²
Right-Triangle Side Calculator →

How the Pythagorean Theorem Works

The Pythagorean theorem describes the fundamental geometric relationship between the three sides of a right triangle. It states that the square of the hypotenuse is equal to the sum of the squares of the two legs:

a² + b² = c²

Where a and b are the leg lengths, and c is the hypotenuse.

The theorem applies specifically to right triangles.

Understanding the Sides of a Right Triangle

A right triangle consists of three distinct sides defined relative to the 90-degree right angle:

Leg a

One of the two perpendicular sides forming the right angle.

Leg b

The second perpendicular side forming the right angle.

Hypotenuse c

The side opposite the 90° angle and the longest side of the right triangle.

Right Triangle Architecture

Leg a ⊥ Leg b | Hypotenuse c = Longest Side (Opposite 90° Angle)

When Does the Pythagorean Theorem Apply?

To use the Pythagorean equation accurately, ensure your geometric problem satisfies these requirements:

Note: The standard Pythagorean theorem should not be applied directly to arbitrary non-right triangles. For acute or obtuse triangles, use the Law of Cosines.

How to Use the Pythagorean Theorem Calculator

Follow these quick steps to calculate any unknown right triangle side length:

  1. 1
    Identify the 90° angle.
  2. 2
    Identify the hypotenuse.
  3. 3
    Enter the two known side lengths.
  4. 4
    Select the unknown side.
  5. 5
    Select the appropriate unit.
  6. 6
    Click Calculate.
  7. 7
    Review the formula and calculation steps.

Pythagorean Theorem Example

Classic 3-4-5 Triangle

Here is a step-by-step calculation for a right triangle with leg lengths a = 3 and b = 4:

Given: a = 3, b = 4

Formula: c = √(a² + b²)

Substitution: c = √(3² + 4²)

Calculation: c = √(9 + 16) = √25 = 5

Conclusion: The hypotenuse is 5 units.

How to Check a Right Triangle

If three side lengths are known, identify the longest side as c and check whether they satisfy the Pythagorean relationship:

a² + b² = c²

Example: Test side lengths 7, 24, and 25:

Therefore, the relationship is satisfied and the triangle contains a 90° right angle.

Verify integer triples using our Pythagorean Triple Calculator.

Common Pythagorean Triples

A Pythagorean triple consists of three positive integers that satisfy a² + b² = c². Common fundamental triples include:

a b c
3 4 5
5 12 13
8 15 17
7 24 25
9 40 41

Pythagorean Triple Calculator →

Reverse Pythagorean Calculation

When the hypotenuse and one leg are known, the Pythagorean equation can be rearranged to find the unknown leg:

a = √(c² - b²)

This reverse formula isolates leg length a by subtracting the square of known leg b from squared hypotenuse c.

Reverse Pythagorean Theorem Calculator →

Pythagorean Theorem Applications

The Pythagorean theorem is essential across architecture, carpentry, geometry, and physical layout tasks:

Construction

Checking right angles, diagonal dimensions, braces, and layout measurements for foundations and wall framing.

Construction Calculator →

Ladder Measurements

Finding the straight-line length between vertical height and horizontal distance for safety placement.

Room Diagonals

Finding the diagonal distance across a rectangular room, wall, or floor framing.

Ramps

Finding ramp length from rise and horizontal run dimensions.

Cables and Braces

Calculating straight-line distances between horizontal and vertical points for guy-wires and supports.

Pythagorean Theorem in 3D

The Pythagorean relationship can be extended to calculate a three-dimensional diagonal or distance across spatial dimensions:

d = √(x² + y² + z²)

Common 3D applications include calculating 3D distance, cuboid diagonals, box diagonals, and three-dimensional coordinate spaces.

3D Pythagorean Theorem Calculator →

Pythagorean Theorem for an Isosceles Right Triangle

When both legs of a right triangle are equal (a = b), the equation simplifies to:

a² + a² = c² ⇒ c = a√2

This describes the special 45-45-90 right triangle relationship where the hypotenuse is exactly √2 times the length of either leg.

Isosceles Right Triangle Calculator →

Pythagorean Theorem Calculator Input Requirements

Keep these practical guidelines in mind when inputting measurements into the calculator:

Common Pythagorean Theorem Mistakes

Avoid these frequent pitfalls when solving right triangle side lengths:

Using the wrong hypotenuse

The hypotenuse is opposite the 90° angle. Never substitute a leg length in place of side c.

Forgetting to square the sides

Use a² and b², not a + b. The sum of leg lengths is always strictly greater than hypotenuse c.

Using the theorem on a non-right triangle

The standard equation applies strictly to right triangles. Use the Law of Cosines for acute/obtuse triangles.

Mixing units

Convert measurements to compatible units (e.g., converting inches to feet) before calculating.

Entering an impossible combination

The hypotenuse must be longer than either leg. The calculator requires c > a and c > b.

Pythagorean Theorem Terms

Core mathematical vocabulary associated with right-triangle side calculations:

Pythagorean theorem
The geometric theorem stating that in a right triangle, the square of the hypotenuse equals the sum of the squares of the legs (a² + b² = c²).
Right triangle
A three-sided geometric figure containing one interior angle measuring exactly 90 degrees.
Hypotenuse
The hypotenuse is the side opposite the 90-degree right angle and always the longest side of a right triangle.
Leg
Either of the two shorter sides of a right triangle adjacent to the 90° right angle.
Right angle
A 90-degree angle formed by two perpendicular lines or sides.
Missing side
An unknown leg or hypotenuse length computed using two known side measurements.
Pythagorean triple
A set of three positive integers (a, b, c) that satisfy the equation a² + b² = c².
3-4-5 triangle
The simplest integer right triangle with leg lengths 3 and 4, and hypotenuse 5.
Converse
The geometric rule stating that if three side lengths satisfy a² + b² = c², the triangle must be a right triangle.
Diagonal
A straight line segment connecting non-adjacent corners of a polygon or 3D box.

Pythagorean Theorem Calculator FAQ

The Pythagorean theorem calculator finds an unknown side length (hypotenuse or missing leg) of a right triangle when two required side lengths are known.

Yes, select "Find Hypotenuse (c)", enter legs a and b, and the calculator computes c = √(a² + b²).

Yes, select "Find Side (a)" or "Find Side (b)", input hypotenuse c and the known leg, and the calculator computes the missing leg using a = √(c² - b²).

No. The standard Pythagorean theorem applies strictly to right triangles containing a 90° angle. Non-right triangles require the Law of Cosines.

The hypotenuse (c) is the side opposite the 90° right angle and is always the longest side of a right-angled triangle.

Yes, our calculator supports all positive decimal values and fractional inputs.

You can select units such as centimeters (cm), meters (m), millimeters (mm), inches (in), feet (ft), or yards (yd).

The calculator displays an error message if the hypotenuse is less than or equal to a leg, as a right triangle cannot be formed.

Reverse calculation rearranges the formula to solve for an unknown leg, while the converse tests whether three given side lengths satisfy a² + b² = c² to form a right angle.

A Pythagorean triple consists of three positive integers (a, b, c) that satisfy the equation a² + b² = c², such as (3, 4, 5).

Related Pythagorean Theorem Calculators

Explore specialized right triangle tools tailored to your exact mathematical or engineering requirements: