Calculator.

Pythagorean Theorem Calculator.

Calculate missing sides of a right triangle using a² + b² = c². Learn step-by-step how the formula works with interactive visualizations.

Right Triangle Visualization

Enter the side lengths to see an interactive triangle diagram

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

What is the Pythagorean Theorem?

The Pythagorean Theorem (also known as Pythagoras theorem) is one of the most fundamental equations in mathematics. This Pythagorean theorem equation solver helps you understand how the formula works: the sum of the squares of the two shorter sides (legs) equals the square of the longest side (hypotenuse). Learning how to do Pythagorean theorem is essential for geometry, trigonometry, and real-world applications.

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

Where a and b are the legs, and c is the hypotenuse

Understanding the Formula

The Legs (a and b)

The two sides that form the right angle (90°) are called legs. They are adjacent to the right angle and can be of any length, as long as they create a valid triangle.

The Hypotenuse (c)

The longest side of a right triangle, located opposite to the right angle. It is always longer than either leg and connects the endpoints of both legs.

Mathematical Proof of Pythagoras Theorem

Understanding the mathematical proof of Pythagoras theorem helps you truly grasp why a² + b² = c² always works. There are over 400 ways of proving Pythagoras theorem, but here is one of the most elegant geometric proofs:

aaaabbbbcccc

Large square (a+b)² with inner square c²

=

+

Sum of squares on legs = a² + b²

The inner tilted square (c²) equals the total area minus the four triangles, proving a² + b² = c²

1

Create a square with side length (a + b)

Start with a large square where each side measures (a + b), the sum of the two legs.

2

Place four identical right triangles inside

Arrange four copies of the right triangle (with legs a and b) inside the square. Each triangle has area = ½ab.

3

The remaining space forms a square of side c

After placing the triangles, the empty space in the middle is a square with side length c (the hypotenuse).

4

Calculate the areas

Large square area =(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2

OR

Four triangles area =4×12ab=2ab4 \times \frac{1}{2}ab = 2ab
Inner square area =c2c^2
5

Set up and solve the equation

Large square = Four triangles + Inner square

a2+2ab+b2=2ab+c2a^2 + 2ab + b^2 = 2ab + c^2
a2+b2=c2a^2 + b^2 = c^2 \quad \checkmark

Pythagorean Theorem Examples with Solutions

Here are detailed Pythagorean theorem examples showing exactly how to solve problems step by step. These theorem of Pythagoras examples cover the most common problem types.

Pythagorean Theorem Formula Example 1: Finding the Hypotenuse

Given: a=3a = 3, b=4b = 4. Find cc.

Step 1: a2+b2=c2a^2 + b^2 = c^2
Step 2: 32+42=c23^2 + 4^2 = c^2
Step 3: 9+16=c29 + 16 = c^2
Step 4: 25=c225 = c^2
Step 5: c=25=5c = \sqrt{25} = 5

Example of a Pythagorean Theorem 2: Finding a Leg

Given: a=5a = 5, c=13c = 13. Find bb.

Step 1: a2+b2=c2a^2 + b^2 = c^2
Step 2: b2=c2a2b^2 = c^2 - a^2
Step 3: b2=13252b^2 = 13^2 - 5^2
Step 4: b2=16925=144b^2 = 169 - 25 = 144
Step 5: b=144=12b = \sqrt{144} = 12

Pythagorean Theorem Word Problems

Pythagorean theorem word problems apply the formula to real-life situations. Here are common Pythagorean theorem problems you might encounter:

Problem 1: The Ladder Problem

A ladder leans against a wall. The base is 6 feet from the wall, and it reaches 8 feet up the wall. How long is the ladder?

a=6a = 6 ft (distance from wall)
b=8b = 8 ft (height on wall)
c2=62+82=36+64=100c^2 = 6^2 + 8^2 = 36 + 64 = 100
c=100=10c = \sqrt{100} = 10 feet

Problem 2: The TV Size Problem

A TV screen is 48 inches wide and 36 inches tall. What is the diagonal measurement (advertised size)?

a=48a = 48 in (width)
b=36b = 36 in (height)
c2=482+362=2304+1296=3600c^2 = 48^2 + 36^2 = 2304 + 1296 = 3600
c=3600=60c = \sqrt{3600} = 60 inches

Problem 3: The Walking Distance Problem

You walk 9 blocks east and 12 blocks north. How far are you from your starting point (straight line)?

a=9a = 9 blocks (east)
b=12b = 12 blocks (north)
c2=92+122=81+144=225c^2 = 9^2 + 12^2 = 81 + 144 = 225
c=225=15c = \sqrt{225} = 15 blocks

Triples Pythagorean Theorem - Complete Reference

Triples Pythagorean theorem (or Pythagorean triples) are sets of three positive integers (a, b, c) that perfectly satisfy a2+b2=c2a^2 + b^2 = c^2. These special number sets are valuable because all values are whole numbers, making calculations exact without decimals.

abcVerification
3459 + 16 = 25 ✓
5121325 + 144 = 169 ✓
8151764 + 225 = 289 ✓
7242549 + 576 = 625 ✓
9404181 + 1600 = 1681 ✓
116061121 + 3600 = 3721 ✓
202129400 + 441 = 841 ✓

Tip: If (a, b, c) is a Pythagorean triple, then any multiple (ka, kb, kc) is also a triple. For example, (6, 8, 10) = 2 × (3, 4, 5).

Converse of the Pythagorean Theorem

The converse of the Pythagorean theorem is equally important and works in reverse: If the sum of the squares of two sides of a triangle equals the square of the third side, then the triangle is a right triangle.

The Converse Statement:

If a2+b2=c2a^2 + b^2 = c^2 for the three sides of a triangle, then the angle opposite to side c is a right angle (90°).

Practical Use: Construction workers use the converse to verify right angles. By measuring 3 feet along one edge, 4 feet along another, and checking if the diagonal is exactly 5 feet, they confirm a perfect 90° corner.

Extended Triangle Classification:

  • a2+b2=c2a^2 + b^2 = c^2 → Right triangle (90° angle)
  • a2+b2>c2a^2 + b^2 > c^2 → Acute triangle (all angles < 90°)
  • a2+b2<c2a^2 + b^2 < c^2 → Obtuse triangle (one angle > 90°)

Pythagorean Theorem Identities

Pythagorean theorem identities extend the basic formula into related mathematical concepts, especially in trigonometry.

Trigonometric Pythagorean Identity

sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1

This fundamental trig identity comes directly from the Pythagorean theorem applied to a unit circle.

Related Trigonometric Identities

1+tan2θ=sec2θ1 + \tan^2\theta = \sec^2\theta
1+cot2θ=csc2θ1 + \cot^2\theta = \csc^2\theta

These identities are derived from dividing the main identity bycos2θ\cos^2\theta and sin2θ\sin^2\theta respectively.

Distance Formula (2D)

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}

Finding the distance between two points is a direct application of the Pythagorean theorem.

3D Distance Formula

d=(x2x1)2+(y2y1)2+(z2z1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}

Extended to three dimensions by applying the theorem twice.

Real-World Applications

Construction & Architecture

Ensuring walls are perpendicular, calculating roof pitches, and determining diagonal bracing lengths.

Navigation & GPS

Calculating distances between two points, determining shortest paths, and triangulating positions.

Computer Graphics

Calculating distances between pixels, determining collision detection, and rendering 3D objects.

Surveying & Mapping

Measuring land areas, determining property boundaries, and calculating elevations.

Historical Background

Although named after the Greek mathematician Pythagoras of Samos (c. 570 - c. 495 BCE), evidence suggests that the relationship was known to the Babylonians and Indians centuries earlier. Clay tablets from ancient Babylon (c. 1800 BCE) show that they used the theorem for practical calculations.

Pythagoras and his followers (the Pythagoreans) are credited with providing the first known proof of the theorem, elevating it from an empirical observation to a mathematical truth. Since then, over 400 different proofs have been discovered, including ones by Leonardo da Vinci, President James Garfield, and even a visual proof using just folding paper.

Frequently Asked Questions

“Percentages help us measure change, compare values, and make better decisions — one simple symbol with endless meaning.”

Calculators
QUICK LINKS
Contact Us
universalcalculators@gmail.com
Follow Us