Pythagorean Theorem Calculator — Right Triangle Solver

Solve right triangles with the Pythagorean theorem. Find any side, angles, area, perimeter, altitude, inradius, circumradius, and detect special triples.

Side a
3.0000
Leg a of the right triangle
Side b
4.0000
Leg b of the right triangle
Hypotenuse c
5.0000
c = √(a² + b²) = √(9.00 + 16.00)
Angle A
36.8699°
Opposite side a, A = arctan(a/b)
Angle B
53.1301°
Opposite side b, B = 90° − A
Area
6.0000
½ × a × b = ½ × 3.00 × 4.00
Perimeter
12.0000
a + b + c = 3.00 + 4.00 + 5.00
Altitude to Hypotenuse
2.4000
h = (a × b) / c = 12.00 / 5.00
Inradius
1.0000
r = (a + b − c) / 2
Circumradius
2.5000
R = c / 2 (always half the hypotenuse for right triangles)
Special Triangle Detected: 3-4-5 triple (×1) (primitive)

Side Proportions

a
3.0000
b
4.0000
c
5.0000

Medians

Median to a
4.2720
From midpoint of a to opposite vertex
Median to b
3.6056
From midpoint of b to opposite vertex
Median to c
2.5000
Median to hypotenuse = c/2

Complete Summary

PropertyValueFormula
Side a3.0000given or √(c²−b²)
Side b4.0000given or √(c²−a²)
Hypotenuse c5.0000√(a²+b²)
Angle A36.8699°arctan(a/b)
Angle B53.1301°90° − A
Area6.0000½ab
Perimeter12.0000a+b+c
Semi-perimeter6.0000(a+b+c)/2
Altitude (h)2.4000ab/c
Inradius (r)1.0000(a+b−c)/2
Circumradius (R)2.5000c/2

Common Pythagorean Triples

abca² + b²Primitive?
34525
51213169
72425625
81517289
940411681
1160613721
1235371369
1384857225
202129841
2845532809
3356654225
3677857225
Planning notes, formulas, and examples

About the Pythagorean Theorem Calculator — Right Triangle Solver

The **Pythagorean Theorem Calculator** solves any right triangle using the timeless relationship a² + b² = c², where c is the hypotenuse. Choose one of three modes — find the hypotenuse from two legs, or find either leg when the hypotenuse and the other leg are known — and get a complete breakdown of every measurement.

Beyond the basic side calculation, the page computes both acute angles using inverse trigonometry, the area (½ab), the perimeter, the semi-perimeter, the altitude from the right-angle vertex to the hypotenuse (h = ab/c), the inradius of the inscribed circle, and the circumradius, which for right triangles always equals half the hypotenuse. Medians to each side are also displayed.

Proportion bars give you an instant visual comparison of all three side lengths, making the triangle's shape immediately apparent. The tool also automatically detects well-known Pythagorean triples — 3-4-5, 5-12-13, 8-15-17, and more — as well as multiples of those primitives. A comprehensive reference table lists twelve common triples, highlights matches, and notes whether each is primitive.

Eight preset buttons load classic right triangles, including all four modes of solving. A precision slider lets you control the number of decimal places from 0 to 10. Whether you are studying geometry, checking a construction layout, or validating survey measurements, the page keeps side lengths, angles, and derived triangle measures together from the same right triangle.

When This Page Helps

A right-triangle problem rarely stops at a single missing side. Once you know two sides, you often also need the acute angles, area, perimeter, altitude, or triangle radii. This calculator keeps those derived quantities aligned so the triangle can be checked as one object instead of as separate formulas.

It is also useful for spotting familiar structure. Triple detection and side-proportion bars make it easier to see when a triangle matches a classic 3-4-5 style pattern or when a decimal result still reflects a recognizable right-triangle shape.

How to Use the Inputs

  1. Enter the required inputs (Solve For, Decimal Precision).
  2. Type the two known side lengths for the selected right-triangle solving mode.
  3. Review the output cards, especially Side a, Side b, Hypotenuse c, Angle A.
  4. Compare the result with the formula, diagram, or example values to catch sign, unit, or rounding mistakes.
Formula used
c = √(a² + b²). Angle A = arctan(a/b). Area = ½ab. Altitude h = ab/c. Inradius r = (a + b − c)/2. Circumradius R = c/2.

Example Calculation

Result: c = 5, A ≈ 36.87°, B ≈ 53.13°, Area = 6, Perimeter = 12

Using a=3, b=4, the calculator returns c = 5, A ≈ 36.87°, B ≈ 53.13°, Area = 6, Perimeter = 12. This example mirrors the calculator's live computation flow and is useful for checking manual steps and unit handling.

Tips & Best Practices

  • The Pythagorean theorem only applies to right triangles (one 90° angle).
  • For non-right triangles, use the Law of Cosines calculator instead.
  • The circumradius of any right triangle always equals half the hypotenuse.
  • Pythagorean triples are integer solutions; scale any triple by k to get another valid triple.
  • The altitude to the hypotenuse splits the triangle into two smaller similar triangles.

What This Pythagorean Theorem Calculator Solves

This page is designed for right-triangle problems where one missing side leads to several other useful measures. It applies the Pythagorean theorem, then derives the angles, area, perimeter, altitude, and circle radii that follow from the same triangle.

How To Interpret The Outputs

Start with the three side lengths and confirm they satisfy a² + b² = c². Then compare the acute angles and derived measures such as area or altitude to make sure the triangle still fits the right-triangle geometry you expect.

Study And Practice Strategy

Work a classic 3-4-5 triangle manually first, then compare every derived value. After that, try a non-integer example and watch how the same geometry relationships still hold even when the triangle is no longer a neat integer triple.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It states that in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c². It is one of the most fundamental results in all of geometry.