Pythagorean Calculator: Solve Right Triangle Problems

The Pythagorean theorem is one of the most fundamental relationships in geometry: a² + b² = c², where c is the hypotenuse of a right triangle and a and b are the other two sides. Our Pythagorean Calculator solves for any missing side of a right triangle, calculates all angles, and provides the area and perimeter. It also handles Pythagorean triple verification and word problems involving right triangles. Use our Pythagorean Theorem Calculator to estimate your costs.

Pythagorean theorem triangle

Understanding the Pythagorean Theorem

The theorem states that in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. This relationship holds only for right triangles (triangles with a 90-degree angle). The hypotenuse is always the longest side, opposite the right angle.

Pythagorean triples are sets of three integers that satisfy the theorem, such as (3, 4, 5), (5, 12, 13), and (8, 15, 17). These represent right triangles with integer side lengths and appear frequently in geometry problems.

Using the Pythagorean Calculator

Enter any two sides of a right triangle. The calculator solves for the third side, showing the formula and step-by-step work. You can also enter a side and an angle (other than the right angle) to solve using trigonometric functions. The calculator shows all angles in degrees and radians, the triangle's area and perimeter, and a diagram.

The calculator can verify if three given side lengths form a right triangle by checking whether a² + b² = c². It also identifies the type of triangle (acute, right, or obtuse) based on the side lengths.

Right triangle geometry problem

Applications of the Pythagorean Theorem

Construction and Carpentry

The 3-4-5 rule is used to verify square corners. If one leg is 3 feet and the other is 4 feet, the diagonal should be 5 feet for a perfect right angle. This is essential for laying foundations, framing walls, and installing tile.

Navigation and Surveying

Calculate straight-line distances between points. If you travel 3 miles east and 4 miles north, you are 5 miles from your starting point. Sailors and pilots use this for course planning and position finding.

Ladder and Ramp Problems

If a 20-foot ladder is placed 5 feet from a wall, how high does it reach? h = √(20² - 5²) = √(400 - 25) = √375 = 19.36 feet. The ladder can safely reach about 19 feet up the wall.

Related Formulas

  • Pythagorean theorem: a² + b² = c²
  • Solve for hypotenuse: c = √(a² + b²)
  • Solve for leg: a = √(c² - b²)
  • Area: A = (a × b) / 2
  • Perimeter: P = a + b + c
  • Trigonometric ratios: sin(θ) = opposite/hypotenuse, cos(θ) = adjacent/hypotenuse, tan(θ) = opposite/adjacent

Real-World Example

A homeowner wants to build a wheelchair ramp. The door is 2 feet above ground level. The ramp must have a slope of no more than 1:12 (one foot of rise for every 12 feet of run):

  • Minimum ramp run: 2 × 12 = 24 feet
  • Ramp length (hypotenuse): √(2² + 24²) = √(4 + 576) = √580 = 24.08 feet
  • If only 20 feet of space is available, the maximum rise is: h = √(c² - b²) would need to be recalculated, or the slope would exceed 1:12
  • At 20 feet run with 2 feet rise: √(4 + 400) = √404 = 20.1 feet ramp length. Slope = 2/20 = 1:10, which is steeper than recommended

The Pythagorean theorem also confirms that (9, 12, 15) is a multiple of the (3, 4, 5) triple: 9² + 12² = 81 + 144 = 225 = 15².

Reading the Calculator's Results

Run a 3-4-5 triangle through the tool and every output line has a clear meaning. Enter 3 for leg A and 4 for leg B, leave the hypotenuse blank, and click Calculate. The calculator squares 3 and 4, adds them to 25, and takes the square root, returning a hypotenuse of exactly 5. The angle lines come next: sine of angle A is the opposite side divided by the hypotenuse, so sin(A) = 3/5 = 0.6, which inverts to 36.87 degrees. Angle B follows as 90 − 36.87 = 53.13 degrees. Area uses the two legs, (3 × 4)/2 = 6 square units, and the perimeter is 3 + 4 + 5 = 12 units.

Now try solving for a missing leg instead. Enter 5 for the hypotenuse and 3 for leg A. The calculator computes √(5² − 3²) = √16 = 4 for leg B, and the remaining lines stay consistent — same angles, same area, same perimeter — because the triangle is unchanged.

  • Leave the field for the side you want to solve for empty; the calculator treats blank inputs as the unknown.
  • Angles A and B always sum to 90 degrees, so if the two angle lines disagree, recheck which side was entered as the hypotenuse.
  • The area line is always (leg × leg)/2, so it can be checked by hand without any trigonometry.

Start Calculating

Use our Pythagorean Calculator below to solve right triangle problems instantly. Also check our Area Calculator for other shape calculations and our Quadratic Calculator for algebraic equation solving.

Related Calculators

Use our Pythagorean Calculator Guide together with related tools such as Area Calculator, Combination Calculator, Derivative Calculator to plan more accurately. Each calculator runs instantly in your browser with step-by-step guidance.

Written by the CalcMaster Pro Editorial Team — financial, health, and DIY tools reviewed for accuracy. All calculators run on standard, widely accepted formulas. Always confirm final numbers with a qualified professional for decisions that require official figures.

Sources