Right Triangle Calculator

Common triples:
* Based on a² + b² = c² and its rearrangements; the hypotenuse must be longer than either leg. Values are rounded to two decimals and are for reference.

Triple Checker: Do Three Sides Form a Right Triangle?

Type three sides to check whether they form a right triangle (converse of the Pythagorean theorem)

Pythagorean Theorem Calculator Features

Three Solving Modes

Two legs to hypotenuse, or hypotenuse plus one leg to the missing leg - every useful combination

Derived Values Included

Perimeter, area, both acute angles, circumradius and inradius are computed in the same pass

Pythagorean Triple Checker

Enter three sides to test right-angle, obtuse and acute cases with the converse theorem

SVG Triangle Diagram

A to-scale sketch marks sides a, b and c plus the right-angle symbol for quick verification

Common Triple Shortcuts

Fill in 3-4-5, 5-12-13, 8-15-17 and more with one click, alongside a reference table

Private Local Calculation

Everything runs in your browser - no uploads and no sign-up required

How to Use the Calculator

1

Pick a Solving Mode

Choose "two legs → hypotenuse" when both legs are known, or the matching mode when you have the hypotenuse.

2

Enter the Known Sides

Type two positive values (decimals allowed) or click a common triple such as 3-4-5.

3

Read the Results

The result panel shows the solved side plus all three sides, perimeter, area, acute angles and radii; the diagram is drawn to scale.

4

Optional: Check a Triple

Use the triple checker to test any three side lengths and see whether they form a right, acute or obtuse triangle.

Pythagorean Theorem Use Cases

Construction Layout

Use the 3-4-5 triple to square corners on site, or calculate diagonal bracing lengths

Carpentry & Renovation

Work out the length of a diagonal brace, stair stringer or angled cut from two known sides

Map & Straight-Line Distance

Treat north-south and east-west offsets as the two legs to estimate point-to-point distance

Graphics & Game Development

Compute screen distances, collision radii and vector lengths with the same formula

Teaching & Homework Checks

Verify answers, demonstrate the formula rearrangements and explore triple patterns with the diagram

Screen & TV Sizes

Find the diagonal from width and height, or check whether a set fits your space

The Pythagorean Theorem Explained

Statement and origin

In any right triangle the sum of the squares of the legs equals the square of the hypotenuse: a² + b² = c². The rule appears in ancient Chinese mathematics as the "3-4-5" relation in the Zhoubi Suanjing and is known in the West as the Pythagorean theorem. It is one of the most-proved theorems in mathematics, with demonstrations ranging from area rearrangements to similar triangles.

The three rearrangements

From a² + b² = c² you get c = √(a² + b²) for the hypotenuse, a = √(c² − b²) and b = √(c² − a²) for a missing leg. Always confirm that the hypotenuse is the longest side; otherwise the expression under the square root turns negative, which means the given sides cannot form a right triangle.

Pythagorean triples and multiples

A Pythagorean triple is a set of positive integers satisfying a² + b² = c². The smallest is 3-4-5, and every integer multiple of a triple is again a triple (6-8-10, 9-12-15). Other common sets include 5-12-13, 8-15-17, 7-24-25 and 20-21-29. Builders use 3-4-5 or its multiples to check square corners quickly.

Converse and triangle classification

The converse states that if three sides satisfy a² + b² = c² (c the longest), the triangle is right-angled. If a² + b² is greater than c² the triangle is acute; if smaller it is obtuse. This makes it easy to classify a triangle from measured side lengths alone - useful in surveying and drafting.

Common Pythagorean Triples

Triple (a-b-c) Perimeter Area Acute angles ∠A / ∠B
3-4-512636.87° / 53.13°
6-8-10242436.87° / 53.13°
5-12-13303022.62° / 67.38°
8-15-17406028.07° / 61.93°
7-24-25568416.26° / 73.74°
20-21-297021043.60° / 46.40°

Pythagorean Theorem FAQ

Q: What is the Pythagorean theorem formula?
A: a² + b² = c² (a and b are legs, c the hypotenuse). Rearranged: c = √(a²+b²), b = √(c²−a²), a = √(c²−b²).
Q: How do I find the hypotenuse?
A: Enter both legs. For 3 and 4, c = √(9+16) = 5, with perimeter 12, area 6 and angles 36.87° / 53.13°.
Q: How do I find a missing leg from the hypotenuse?
A: Use a = √(c²−b²). For c=10 and b=6, a = √(100−36) = 8. The hypotenuse must exceed each leg.
Q: What are Pythagorean triples?
A: Integer side sets forming right triangles: 3-4-5, 5-12-13, 8-15-17, 7-24-25, 20-21-29 and their multiples.
Q: How can I tell whether three sides form a right triangle?
A: With c the longest side, compare a² + b² to c²: equal → right triangle, smaller → obtuse, larger → acute. Try the checker above.
Q: What other right-triangle formulas are useful?
A: Perimeter = a+b+c; area = a×b÷2; the acute angles arctan(a/b) and arctan(b/a) are complementary; circumradius = c÷2; inradius = (a+b−c)÷2.
Q: Is my data uploaded to a server?
A: No. All calculations run locally; nothing is uploaded and no sign-up is needed. Verify construction work professionally.