CalcVaultCalcVault
Geometry & Trigonometry

Pythagorean Theorem Calculator

Calculate hypotenuse (c), legs (a or b), angles, area, perimeter, and 3D space diagonals using the Pythagorean theorem. Includes simplified radical expressions, step-by-step mathematical derivations, dynamic interactive triangle diagrams, and Pythagorean triples.

Solve Right Triangle

The Pythagorean Equation:
a² + b² = c²
c = √(a² + b²)
Calculated Hypotenuse (c)
5.0000
Exact: 5
Step-by-Step Mathematical Derivation:
1. Apply Theorem: c = √(a² + b²)
2. Substitute: c = √(3² + 4²)
3. Square terms: c = √(9.00 + 16.00)
4. Sum: c = √(25.00)
5. Result: c = 5.0000 (5)

Dynamic Right Triangle Diagram

a = 3.00b = 4.00c = 5.00α=36.9°β=53.1°
α + β = 90.0°•γ = 90° (Right Angle)

Complete Right Triangle Geometry Properties

Area
6.0000
½ × a × b
Perimeter
12.0000
a + b + c
Altitude to Hypotenuse
2.4000
hc = (a × b) / c
Incircle Radius (r)
1.0000
(a + b − c) / 2
Circumcircle Radius (R)
2.5000
c / 2
Acute Angles
36.87° & 53.13°
0.644 & 0.927 rad

The Fundamental Principles of the Pythagorean Theorem

Named after the ancient Greek philosopher and mathematician Pythagoras of Samos (c. 570–495 BC), the Pythagorean Theorem is one of the most foundational principles in all of mathematics. It establishes an exact relationship between the three sides of any right-angled Euclidean triangle:

The Standard Equation
a² + b² = c²

Where a and b represent the lengths of the two perpendicular legs forming the 90° right angle, and c represents the hypotenuse (the longest side opposite the right angle).

Remarkably, evidence of this geometric insight predates Pythagoras by centuries. Babylonian cuneiform tablets such as Plimpton 322 (c. 1800 BC), Indian Vedic Sulba Sutras (c. 800 BC), and the ancient Chinese mathematical treatise Zhoubi Suanjing all documented practical methods for generating Pythagorean triples long before ancient Greek geometry was formalized.

The Visual Geometric Proof of Pythagoras

The most intuitive proof of the theorem relies upon the conservation of geometric area. Imagine a large square with side length (a + b):

Arrangement 1: Two Inner Squares

Place four identical right triangles (each with area ½ab) into the corners of the (a + b) square. The remaining unfilled central area consists of two smaller squares: one of area a² and one of area b². The total empty area is a² + b².

Arrangement 2: One Tilted Square

Now rearrange the four identical right triangles along the perimeter so their hypotenuses face inward. The central empty space now forms a single tilted square with side length c and area c². Because the total bounding area and the four triangles remain unchanged, it follows algebraically that a² + b² = c².

The Converse of the Pythagorean Theorem: Triangle Classification

While the theorem proves that every right triangle satisfies a² + b² = c², the Converse works in reverse: if three positive lengths satisfy the equation, the triangle must be a right triangle. Furthermore, by comparing a² + b² against c² (where c is the longest side), you can instantly classify any valid triangle:

ConditionTriangle TypeLargest AngleExample Sides
a² + b² = c²Right TriangleExactly 90°3, 4, 5 (9 + 16 = 25)
a² + b² > c²Acute Triangle< 90° (All angles acute)5, 6, 7 (25 + 36 = 61 > 49)
a² + b² < c²Obtuse Triangle> 90° (One obtuse angle)4, 5, 8 (16 + 25 = 41 < 64)

Practical Real-World Applications

The Pythagorean Theorem is an everyday practical tool utilized across engineering, architecture, sports, and technology:

Construction & Framing (3-4-5)

Carpenters square building foundations, deck framing, and tile layouts by measuring 3 feet along one side, 4 feet along the other, and ensuring the diagonal connects at exactly 5 feet.

Screen Dimensions (TVs & Monitors)

Display manufacturers advertise diagonal screen measurements. A 55-inch TV with a 16:9 widescreen ratio has a width of approximately 47.9 inches and a height of 27.0 inches.

GPS & 3D Video Game Graphics

Game physics engines calculate Euclidean distances between characters and projectiles using the 3D space diagonal equation: d = √(Δx² + Δy² + Δz²).

Worked Step-by-Step Mathematical Examples

Example 1: Finding the Hypotenusea = 9, b = 12
1. State formula: c = √(a² + b²)
2. Substitute values: c = √(9² + 12²)
3. Square the legs: c = √(81 + 144)
4. Sum the squares: c = √225
5. Calculate root: c = 15
Result: Hypotenuse c = 15 (Triple: 9-12-15)
Example 2: Finding a Missing Legb = 8, c = 17
1. Rearrange formula: a = √(c² − b²)
2. Substitute values: a = √(17² − 8²)
3. Square the terms: a = √(289 − 64)
4. Subtract: a = √225
5. Calculate root: a = 15
Result: Leg a = 15 (Triple: 8-15-17)
Example 3: Exact Radical Simplificationa = 6, b = 6
1. Substitute into formula: c = √(6² + 6²)
2. Sum squares: c = √(36 + 36) = √72
3. Factor largest perfect square: √72 = √(36 × 2)
4. Pull square root outside radical: 6√2
5. Decimal approximation: ≈ 8.4853
Result: Exact = 6√2, Decimal ≈ 8.4853
Example 4: 3D Box Space Diagonalx = 3, y = 4, z = 12
1. Apply 3D formula: d = √(x² + y² + z²)
2. Substitute: d = √(3² + 4² + 12²)
3. Square terms: d = √(9 + 16 + 144)
4. Sum squares: d = √169
5. Calculate square root: d = 13
Result: Space Diagonal d = 13 units

Frequently Asked Questions

Related Math & Geometry Tools