Pythagorean Theorem Calculator

Calculate hypotenuse (a² + b² = c²), missing side, acute angles, area, and perimeter of a right-angled triangle.

Workspace

Pythagorean Theorem Calculator: what this tool is for

The Pythagorean Theorem is one of the most celebrated fundamental theorems of Euclidean geometry. Attributed to ancient Greek mathematician Pythagoras of Samos in the 6th century BCE, it establishes that in every right-angled triangle, the square of the length of the hypotenuse (the longest side opposite the 90-degree right angle) equals the sum of the squares of the lengths of the two adjacent legs: a² + b² = c².

Geometrically, this principle proves that the area of a square constructed upon the hypotenuse equals the combined total area of squares erected upon the other two legs. This enables instant computation of any unknown triangle dimension when the other two are known: hypotenuse c = √(a² + b²) or missing leg a = √(c² - b²).

Beyond linear dimensions, right-triangle trigonometry allows you to determine acute interior angles α and β through standard sine (opposite/hypotenuse), cosine (adjacent/hypotenuse), and tangent (opposite/adjacent) ratios, alongside enclosed area A = (a × b)/2 and full perimeter P = a + b + c.

This free online Pythagorean Theorem Calculator solves for the hypotenuse, missing adjacent legs, acute degree angles, surface area, perimeter, detects integer Pythagorean triples, and renders step-by-step mathematical proofs.

  • No file stored

    Selected files are processed in your browser, without being uploaded to Xorvian.

  • Local processing

    Calculations run locally. The currency converter requests rates from an external service.

  • Processing time

    The time needed depends on the tool, the file and your device's capabilities.

  • Free, no account

    Tools are available without registration. An account lets you synchronize favorites and history.

What this tool gives you

  • Omnidirectional 3-way variable solver

    Solve for Hypotenuse (c = √(a² + b²)) or either adjacent leg (a or b) with exact square root step-by-step arithmetic.

  • Trigonometry & acute angle calculations

    Automatically compute acute angles α and β (with α + β = 90°) along with sine, cosine, and tangent trigonometric ratios.

  • Area, perimeter & inradius / circumradius

    Instantly retrieve total surface area (A = ab/2), perimeter (P = a + b + c), altitude to hypotenuse (h_c = ab/c), and incircle radius.

  • Pythagorean triple detection

    Automatically flags whenever your inputs form an integer Pythagorean triple (such as 3-4-5, 5-12-13, 8-15-17, 7-24-25).

Real-world examples

Review standard Pythagorean triples and real-world right-triangle engineering benchmarks:

Famous Primitive and Integer Pythagorean Triples (a² + b² = c²)
Triple (a - b - c)Verification a² + b² = c²Area (A)Perimeter (P)Acute Angle (α)
3 - 4 - 59 + 16 = 2561236.87°
5 - 12 - 1325 + 144 = 169303022.62°
8 - 15 - 1764 + 225 = 289604028.07°
7 - 24 - 2549 + 576 = 625845616.26°
9 - 40 - 4181 + 1,600 = 1,6811809012.68°
20 - 21 - 29400 + 441 = 8412107043.60°
Practical Engineering & Everyday Applications of Pythagoras' Theorem
Practical ApplicationLeg aLeg bHypotenuse / Diagonal c
16:9 Display Aspect Ratio16 units9 units18.36 diagonal ratio
A4 Paper Sheet Diagonal21.0 cm29.7 cm36.37 cm (14.32 in)
Builder's 3-4-5 Square60 cm (2 ft)80 cm (2.67 ft)100 cm (3.33 ft / 1 m)
Room Floor Diagonal4.0 m (13.1 ft)3.0 m (9.8 ft)5.0 m (16.4 ft)
Roof Rafter Slope3.5 m span2.0 m rise4.03 m rafter length

How to use Pythagorean Theorem Calculator

  1. Select your target variable

    Choose whether you are solving for the Hypotenuse (c), Side a, or Side b.

  2. Input your two known side lengths

    Enter your numerical values (e.g., a = 3 and b = 4).

  3. Review hypotenuse, angles, and area

    Inspect the calculated side length, right-triangle surface area, perimeter, and acute angles.

  4. Inspect step-by-step arithmetic steps

    View the square additions and radical extractions for homework and problem sets.

Tips and mistakes to avoid

The 3-4-5 builder's rule for perfect 90° square corners

To confirm that two walls or frames meet at a true 90-degree right angle without specialized tools, measure 60 cm along one side and 80 cm along the other: the diagonal distance between the marks must measure exactly 100 cm (1 meter)!

Finding square diagonals instantly with a√2

For any square with side length a, the diagonal cuts it into two 45°-45°-90° right triangles: c = √(a² + a²) = a√2. A 10 cm square has a diagonal of exactly 10√2 ≈ 14.14 cm.

Avoid : Applying Pythagoras to non-right triangles

The formula a² + b² = c² holds strictly when the triangle features a 90° right angle. For non-right triangles, use the Law of Cosines: c² = a² + b² - 2ab cos(γ).

Avoid : Forgetting to take the square root of the sum

Adding a² + b² calculates c², not c. You must take the square root √(a² + b²) to obtain the true length of the hypotenuse.

Frequently asked questions

Answers to the questions people ask about Pythagorean Theorem Calculator.

In any right-angled triangle, the square of the hypotenuse equals the sum of the squares of the other two legs: a² + b² = c² (where c represents the hypotenuse opposite the right angle).

The hypotenuse is found by taking the square root of the sum of the squared legs: c = √(a² + b²). For example, with legs a = 6 and b = 8: c = √(36 + 64) = √100 = 10.

Subtract the squared known leg from the squared hypotenuse and take the square root: a = √(c² - b²) or b = √(c² - a²). With c = 13 and b = 12: a = √(169 - 144) = √25 = 5.

A Pythagorean triple consists of three positive integers (a, b, c) that satisfy a² + b² = c². The smallest and most famous is (3, 4, 5).

If the side lengths of a triangle satisfy a² + b² = c², then the triangle is guaranteed to be a right-angled triangle with the 90° angle opposite side c.

Using trigonometry: acute angle α = arcsin(a/c) or arctan(a/b) in degrees. The second acute angle is β = 90° - α, with the third angle being the 90° right angle.

Because the two legs a and b are perpendicular, they serve directly as base and height: Area A = (a × b) / 2.

Yes, all geometric and trigonometric routines run locally within your web browser with zero backend data transmission.

Related tools

Tools people open right after this one.

Updated on August 2026. See all tools