Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Hypotenuse CalculatorGeneral Triangle SolverSquare CalculatorLaw of Cosines CalculatorRight Triangle CalculatorArea of Equilateral Triangle CalculatorProportion Calculator
Home Page > Math > Geometry Calculators

Pythagorean Theorem Calculator

Calculate the missing side of any right triangle using a² + b² = c². Get step-by-step solutions, interactive triangle visualization, area, perimeter, and angle calculations.

Free to useNo sign-up requiredUpdated Jan 2026
Pythagorean Theorem CalculatorTry it now — free ▼
💡 Enter exactly 2 values and leave one blank. The calculator will solve for the missing side using a² + b² = c²

Embed Pythagorean Theorem Calculator Widget

About Pythagorean Theorem Calculator

The Pythagorean Theorem Calculator is a powerful tool for calculating the missing side of any right-angled triangle. Enter two known sides and instantly find the third side, along with complete triangle properties including area, perimeter, and angles. Our interactive SVG visualization helps you understand the geometry, while step-by-step calculations show exactly how the theorem works.

What is the Pythagorean Theorem?

The Pythagorean Theorem is one of the most fundamental principles in geometry, describing the relationship between the three sides of a right triangle. Named after the ancient Greek mathematician Pythagoras (c. 570-495 BCE), this theorem states that the square of the hypotenuse equals the sum of the squares of the other two sides.

The Pythagorean Theorem
$$a^2 + b^2 = c^2$$

Where:

  • a and b are the lengths of the two legs (sides adjacent to the right angle)
  • c is the length of the hypotenuse (the longest side, opposite the right angle)

How to Use This Calculator

  1. Enter two known values: Input the lengths of two sides you know (a, b, or c). Leave one field blank for the unknown side.
  2. Click Calculate: The calculator will compute the missing side and display all triangle properties.
  3. Review the diagram: See your triangle visualized with labeled sides and right angle marker.
  4. Study the steps: Follow the detailed calculation breakdown to understand the mathematics.

Solving for Each Side

Find Hypotenuse (c)
$$c = \sqrt{a^2 + b^2}$$
Find Leg (a or b)
$$a = \sqrt{c^2 - b^2} \quad \text{or} \quad b = \sqrt{c^2 - a^2}$$

Common Pythagorean Triples

Pythagorean triples are sets of three positive integers (a, b, c) that satisfy the theorem. These special triangles have whole number sides:

abcVerification
3459 + 16 = 25
5121325 + 144 = 169
8151764 + 225 = 289
7242549 + 576 = 625
681036 + 64 = 100
9121581 + 144 = 225

Additional Triangle Properties

This calculator provides comprehensive triangle analysis beyond just the sides:

Area Calculation

For a right triangle, the area is simply half the product of the two legs:

Area of Right Triangle
$$\text{Area} = \frac{1}{2} \times a \times b$$

Perimeter

The perimeter is the sum of all three sides:

Perimeter
$$P = a + b + c$$

Angle Calculations

Using inverse trigonometric functions, we can find the non-right angles:

Angles from Sides
$$\alpha = \arctan\left(\frac{a}{b}\right) \quad \text{and} \quad \beta = \arctan\left(\frac{b}{a}\right)$$

Historical Significance

While attributed to Pythagoras, the theorem was likely known to ancient civilizations before him:

  • Babylonians (1800 BCE): Clay tablets show knowledge of Pythagorean triples
  • Ancient Egypt: Used 3-4-5 triangles for surveying and construction
  • Ancient India: Described in the Sulba Sutras (800-500 BCE)
  • Ancient China: Known as the Gougu theorem

Real-World Applications

The Pythagorean Theorem is essential in many fields:

  • Construction & Architecture: Ensuring right angles in buildings, calculating roof slopes, stair dimensions
  • Navigation: Calculating distances on maps, GPS positioning
  • Engineering: Structural analysis, force calculations
  • Computer Graphics: Distance calculations, collision detection
  • Surveying: Measuring land boundaries and distances
  • Physics: Vector calculations, projectile motion

Frequently Asked Questions

What is the Pythagorean Theorem?

The Pythagorean Theorem states that in a right triangle, the square of the hypotenuse (c) equals the sum of the squares of the other two sides (a and b). Expressed as the formula: a² + b² = c². This fundamental principle of geometry was attributed to the ancient Greek mathematician Pythagoras, though evidence suggests it was known to earlier civilizations.

How do I find the hypotenuse using the Pythagorean Theorem?

To find the hypotenuse (c), use the formula c = √(a² + b²). Enter the lengths of both legs (a and b), and the calculator will compute c. For example, if a = 3 and b = 4, then c = √(9 + 16) = √25 = 5.

How do I find a leg of a right triangle?

To find leg a when you know b and c: a = √(c² - b²). To find leg b when you know a and c: b = √(c² - a²). The hypotenuse must always be longer than either leg for the calculation to be valid.

What are the angles in a right triangle?

A right triangle always has one 90° angle. The other two angles can be calculated using trigonometry: angle A (opposite to side a) = arctan(a/b), and angle B (opposite to side b) = arctan(b/a). The sum of all angles in any triangle equals 180°.

What is a 3-4-5 right triangle?

A 3-4-5 triangle is a classic Pythagorean triple where the sides have lengths 3, 4, and 5. Since 3² + 4² = 9 + 16 = 25 = 5², it satisfies the Pythagorean theorem. Multiples like 6-8-10 or 9-12-15 also work. Other common Pythagorean triples include 5-12-13 and 8-15-17.

Can the Pythagorean Theorem be used for non-right triangles?

No, the Pythagorean Theorem only applies to right triangles. For non-right triangles, use the Law of Cosines: c² = a² + b² - 2ab·cos(C), where C is the angle opposite side c. This generalized formula reduces to the Pythagorean theorem when C = 90° (since cos(90°) = 0).

Further Reading

Reference this content, page, or tool as:

"Pythagorean Theorem Calculator" at https://MiniWebtool.com/pythagorean-theorem-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 14, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Geometry Calculators:

Top & Updated:

Central Limit Theorem CalculatorBinomial Theorem Expansion CalculatorBayes' Theorem CalculatorView all →
Home Page > Math > Geometry Calculators > Pythagorean Theorem Calculator