Right Triangle Calculator

Inputs

Results

Right triangle with legs a and b, hypotenuse c, and angles α and β, drawn to scale.
—
—
Angle α (opposite a)
—
Angle β (opposite b)
—
Area
—
Perimeter
—
Height to the hypotenuse
—
Steps
—

Building a ramp, checking a corner is square, or doing geometry homework? Give two sides of a right triangle and get everything else.

How to use it

  1. Choose what to find: the hypotenuse or one of the legs.
  2. Enter the two sides you know, in any unit (all results use the same unit).
  3. Read the missing side, angles, area and perimeter, and see the triangle drawn to scale.

Examples:

Questions and answers

What is the Pythagorean theorem?

In a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c².

How do I check that a corner is square?

Use the 3-4-5 rule: measure 3 units along one side and 4 along the other. If the diagonal between the marks is exactly 5, the corner is a right angle. 6-8-10 works too.

How are the angles found?

With the inverse tangent: α = arctan(a ÷ b) and β = 90° − α.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
findSide to find: c, a or b.
aLeg a.
bLeg b.
cHypotenuse c (used when finding a or b).

Example: https://toolabelle.com/right-triangle-calculator/#find=c&a=3&b=4&c=5

Related tools