Pythagorean Triples Generator & Checker
Generate Pythagorean triples up to any limit, find triples containing a given number, and check whether three numbers form a valid Pythagorean triple.
Solve right triangles with the Pythagorean theorem. Find any side, angles, area, perimeter, altitude, inradius, circumradius, and detect special triples.
| Property | Value | Formula |
|---|---|---|
| Side a | 3.0000 | given or √(c²−b²) |
| Side b | 4.0000 | given or √(c²−a²) |
| Hypotenuse c | 5.0000 | √(a²+b²) |
| Angle A | 36.8699° | arctan(a/b) |
| Angle B | 53.1301° | 90° − A |
| Area | 6.0000 | ½ab |
| Perimeter | 12.0000 | a+b+c |
| Semi-perimeter | 6.0000 | (a+b+c)/2 |
| Altitude (h) | 2.4000 | ab/c |
| Inradius (r) | 1.0000 | (a+b−c)/2 |
| Circumradius (R) | 2.5000 | c/2 |
| a | b | c | a² + b² | Primitive? |
|---|---|---|---|---|
| 3 | 4 | 5 | 25 | ✓ |
| 5 | 12 | 13 | 169 | ✓ |
| 7 | 24 | 25 | 625 | ✓ |
| 8 | 15 | 17 | 289 | ✓ |
| 9 | 40 | 41 | 1681 | ✓ |
| 11 | 60 | 61 | 3721 | ✓ |
| 12 | 35 | 37 | 1369 | ✓ |
| 13 | 84 | 85 | 7225 | ✓ |
| 20 | 21 | 29 | 841 | ✓ |
| 28 | 45 | 53 | 2809 | ✓ |
| 33 | 56 | 65 | 4225 | ✓ |
| 36 | 77 | 85 | 7225 | ✓ |
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.
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.
c = √(a² + b²). Angle A = arctan(a/b). Area = ½ab. Altitude h = ab/c. Inradius r = (a + b − c)/2. Circumradius R = c/2.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.
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.
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.
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.
Last updated:
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.
Rearrange the formula: a = √(c² − b²). Enter the hypotenuse and the known leg, select the "Find Leg" mode, and the calculator does the rest.
A Pythagorean triple is a set of three positive integers (a, b, c) such that a² + b² = c². The simplest is 3-4-5. A triple is "primitive" if gcd(a, b, c) = 1.
Yes. Enter any positive decimal values and the calculator computes exact results to the chosen precision. Special-triple detection works on integer values and their multiples.
It is the perpendicular distance from the right-angle vertex to the hypotenuse. Its length equals ab/c, and it divides the hypotenuse into two segments whose lengths have a geometric mean equal to the altitude.
By Thales' theorem, any triangle inscribed in a semicircle with the diameter as one side is a right triangle. So the hypotenuse is a diameter and the circumradius is half of it.
Generate Pythagorean triples up to any limit, find triples containing a given number, and check whether three numbers form a valid Pythagorean triple.
Solve any triangle using the law of cosines. Find unknown sides or angles, compute area, perimeter, circumradius, inradius, and classify the triangle type.
Solve triangles using the law of sines. Handles AAS, ASA, and SSA configurations including the ambiguous case with 0, 1, or 2 solutions.