Free Pythagorean Theorem Calculator

a² + b² = c²

Enter any two side lengths to find the missing side of a right triangle.

Result

cab

Enter any two side lengths to find the missing side of a right triangle.

Determine Any Missing Side of a Right Triangle with This Interactive Tool

The Pythagorean Theorem Calculator — also referred to as a right triangle calculator or hypotenuse calculator — is designed to return the length of any unknown side of a right‑angled triangle as long as you supply the lengths of the other two sides. This includes finding the hypotenuse (the side opposite the 90° angle, which is always the longest side). The calculator can also output the triangle’s area and perimeter, making it a versatile triangle side length calculator for geometry problems.

A right triangle is defined by one 90° (right) angle; the other two angles sum to 90° because the total of all interior angles in any triangle equals 180°. The relationship among the three sides is governed by the Pythagorean theorem, often expressed as the a² + b² = c² rule.

How to Use the Right Angle Triangle Calculator

Using this Pythagoras calculator is straightforward — you only need to provide two known side lengths. The tool then automatically computes the third side, the area, and the perimeter.

  1. Enter the first leg (commonly labeled a).
  2. Enter the second leg (b) or the hypotenuse (c) if you have only one leg and the hypotenuse.
  3. The missing side appears instantly. By selecting the checkbox below the result, you can also display the triangle’s area and perimeter.

You can change the default units (centimeters for length, cm² for area) from the dropdown menu before entering values. The calculator supports any two sides — you do not have to input legs a and b; if you know the hypotenuse and one leg, the tool rearranges the formula for you.

Practical Example

Imagine you are climbing a ladder to the roof of a house. The ladder represents the hypotenuse, the house height is one leg, and the distance from the wall to the ladder’s base is the other leg. If the house is 4 m tall and the base is 3 m from the wall, enter these two legs. The calculator returns a hypotenuse of 5 m (remember to switch from the default cm to meters). The same result can be obtained manually using the Pythagorean formula.

The Pythagorean Theorem – Core Formula

The Pythagorean theorem states that for any right triangle, the square of the hypotenuse equals the sum of the squares of the two legs. If we denote the legs as aa and bb and the hypotenuse as cc, the formula is:

a2+b2=c2a^{2} + b^{2} = c^{2}

This fundamental relationship is attributed to the ancient Greek philosopher Pythagoras, though evidence of its use exists in earlier Babylonian and Indian mathematics. What matters for practical problem‑solving is that this single equation lets you find any side when the other two are known.

Solving by Hand – Step‑by‑Step Guide

If you prefer to calculate manually, the process mirrors what the calculator does internally.

Case 1: Find the hypotenuse
When you know both legs aa and bb:

c=a2+b2c = \sqrt{a^{2} + b^{2}}

Case 2: Find a missing leg
When you know the hypotenuse cc and one leg, say aa:

b=c2a2b = \sqrt{c^{2} - a^{2}}

Worked example: Suppose a=4a = 4 and c=8.94c = 8.94.

  1. Substitute into the formula: 42+b2=8.9424^{2} + b^{2} = 8.94^{2}.
  2. Square the known values: 16+b2=8016 + b^{2} = 80.
  3. Isolate b2b^{2}: b2=8016=64b^{2} = 80 - 16 = 64.
  4. Take the square root: b=64=8b = \sqrt{64} = 8.

You can verify this result with any online Pythagorean theorem calculator.

Beyond Side Lengths: Slopes and Angles

When a right triangle is placed in a coordinate system, each side has a slope. The two legs that meet at the right angle have slopes whose product equals 1-1. The slope of a side between points (x1,y1)(x_{1}, y_{1}) and (x2,y2)(x_{2}, y_{2}) is:

m=y2y1x2x1m = \dfrac{y_{2} - y_{1}}{x_{2} - x_{1}}

If your triangle’s angles are given in degrees and you need radians (or vice versa), use these conversions:

  • Radians to degrees: multiply by 180π\dfrac{180}{\pi}.
  • Degrees to radians: multiply by π180\dfrac{\pi}{180}.

For problems where two side lengths are unknown, the Pythagorean theorem alone is insufficient; you will need trigonometric functions (sine, cosine, tangent) to find the missing values. Many right triangle calculators also integrate these functions, but this tool focuses on the direct Pythagorean relationship.

Summary of Key Capabilities

  • Find the missing side of any right triangle when two sides are given.
  • Compute area and perimeter with one click.
  • Multiple unit options (cm, m, inch, ft, etc.).
  • Works as a hypotenuse finder and as a general triangle side length calculator.
  • Also serves as an a² b² c² calculator for quick verification of the Pythagorean equation.

Whether you are a student solving geometry homework or a professional needing a fast check, this calculator delivers accurate results without manual algebra.

FAQ

1. How do I find the hypotenuse using this calculator?

Enter the lengths of both legs (a and b) into the calculator. The tool automatically applies the formula c = √(a² + b²) and displays the hypotenuse immediately. You can also see the area and perimeter by checking the corresponding box.

2. Can I use the calculator if I only know the hypotenuse and one leg?

Yes. Input the known leg and the hypotenuse; the tool will rearrange the Pythagorean theorem to solve for the missing leg (b = √(c² - a²) or a = √(c² - b²)).

3. What units does the Pythagorean Theorem Calculator support?

The default units are centimeters for length and cm² for area. You can change them to meters, inches, feet, or other options from the dropdown menu before entering your values.

4. Does the calculator only find the hypotenuse, or can it find any side?

It can find any missing side — the hypotenuse or either leg. Simply provide the two known sides, and the calculator uses the appropriate form of the Pythagorean theorem.

5. What if I need to find side lengths when two sides are missing?

The pure Pythagorean theorem requires two known sides. If only one side is known, you must use trigonometric functions (sine, cosine, tangent) or other triangle properties to solve for the missing lengths.

How to Use

  1. Enter the lengths of any two sides of a right triangle. You can choose different units for each side.
  2. Click Calculate or wait for auto-calculation. The tool will find the missing side using the Pythagorean theorem (a² + b² = c²).
  3. Check 'Show area and perimeter' to see additional triangle properties. Use Reset to clear all inputs.