Skip to content

Math

Pythagorean Theorem

Enter your values and the result updates as you type. The formula and a worked example are below the calculator.

Fill in any two sides of a right triangle to solve a² + b² = c². Side c is the longest side (the hypotenuse). A side such as 3√5 is typed as 3 in the first box and 5 in the box under the root.

Side a
Side b
Side c

Side c

10

Given a=6 and b=8,.

abcαβ
c
10
∠α
36.87° = 36°52'12" = 0.6435 rad
∠β
53.13° = 53°7'48" = 0.9273 rad
area
24
perimeter
24
h
24/5 = 4.8

How to use

  1. Fill in any two of the three sides of a right triangle. Side c is the longest side, opposite the right angle.
  2. For a side with a square root, such as 3√5, type 3 in the first box and 5 in the box under the root. Type only the root box for a plain √2.
  3. Read the missing side (as an exact root when it is one), the two acute angles, the area, the perimeter and the height from the right angle to the longest side.
  4. Open the calculation steps to see the working.

Formula

a² + b² = c². So c = √(a² + b²), a = √(c² − b²) and b = √(c² − a²). The angles are arcsin(a ÷ c) and arcsin(b ÷ c), the area is a × b ÷ 2 and the height to the hypotenuse is a × b ÷ c.

Example

A room 6 ft wide and 8 ft long has a diagonal of √(36 + 64) = 10 ft. Sides 3 and 4 give a hypotenuse of 5, angles of 36.87° and 53.13°, an area of 6 and a height of 2.4. Sides √2 and √3 give c = √5 = 2.2360679775.

The sides must be positive and c must be longer than a and b. If all three boxes are filled in, a and b are used. For other triangles use the Triangle calculator; for any two of eight right-triangle values use the Right Triangle calculator.