Pythagorean Theorem Calculator

The Pythagorean theorem is the cornerstone of right-triangle geometry: for any right triangle, the square of the hypotenuse equals the sum of the squares of the two legs (a² + b² = c²). This calculator solves for any missing side — hypotenuse or either leg — and also doubles as a 2D distance calculator using the same identity. It shows full step-by-step algebra, computes triangle area (½ab), perimeter, the acute angles via arctangent, and flags exact Pythagorean triples like 3-4-5, 5-12-13, 8-15-17, 7-24-25, and 9-40-41. Useful for homework, carpentry and framing, squaring a foundation, navigation, physics vector magnitudes, screen-diagonal sizing, and any engineering task that reduces to a right triangle.

star 4.9
auto_awesome AI
New

calculate a² + b² = c²

analytics Results

Hypotenuse c
5
a b c
Area
6
Perimeter
12
Angle A
36.87°
Angle B
53.13°
Pythagorean triple: Yes
Step-by-step
c = sqrt(3^2 + 4^2) = sqrt(25) = 5

tips_and_updates Tips

  • The hypotenuse is always the longest side — it's opposite the 90° angle.
  • Common Pythagorean triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25, 9-40-41, 20-21-29.
  • Any multiple of a triple is also a triple (e.g., 6-8-10, 9-12-15).
  • To verify a right angle on-site, measure 3 ft, 4 ft, and 5 ft — if the diagonal is exactly 5, the corner is square.
  • The theorem extends to 3D: d = √(x² + y² + z²) for diagonals of a box.
  • Distance between two points (x₁,y₁) and (x₂,y₂): d = √((x₂−x₁)² + (y₂−y₁)²).

The Formula

Rearrange to solve for the unknown: c = √(a² + b²), a = √(c² − b²), or b = √(c² − a²). When solving for a leg, the hypotenuse must be larger than the known leg.

a² + b² = c²

lightbulb Variables Explained

  • a, b The two legs (shorter sides) of the right triangle
  • c The hypotenuse — the side opposite the right angle

tips_and_updates Pro Tips

1

The hypotenuse is always the longest side — it's opposite the 90° angle.

2

Common Pythagorean triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25, 9-40-41, 20-21-29.

3

Any multiple of a triple is also a triple (e.g., 6-8-10, 9-12-15).

4

To verify a right angle on-site, measure 3 ft, 4 ft, and 5 ft — if the diagonal is exactly 5, the corner is square.

5

The theorem extends to 3D: d = √(x² + y² + z²) for diagonals of a box.

6

Distance between two points (x₁,y₁) and (x₂,y₂): d = √((x₂−x₁)² + (y₂−y₁)²).

Pythagorean Theorem Calculator — a² + b² = c²

Solve any right triangle in seconds. Enter two sides, pick the unknown, and get the missing side along with area, perimeter, angles, and a full step-by-step solution. Also handles 2D distance between two points.

When to use the Pythagorean theorem

Anytime you have a right triangle and know two of the three sides. Common real-world uses include squaring building foundations, finding the diagonal of a TV or monitor, computing straight-line travel distance on a map, and deriving vector magnitudes in physics.

Pythagorean triples

Integer solutions to a² + b² = c². The primitive triples include 3-4-5, 5-12-13, 8-15-17, 7-24-25, 20-21-29, 9-40-41. Any scalar multiple is also a valid triple, which is why 6-8-10 and 9-12-15 work too.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.