Numberlife
Home / Math & engineering / Right triangle calculator

Right triangle calculator

Calculate the hypotenuse and angle of a right triangle.

Inputs

Input guide

Enter the perpendicular sides in the same unit. The angle is measured from the base to the hypotenuse.

Base aHeight bHypotenuse cθSchematic · not to scale

Results update when you edit inputs.

Compare scenarios

Keep the current inputs, then change them to compare. Nothing is sent to a server.

What to check next

Use consistent units and confirm a right angle. Slope percentage and angle are different measures.

Formula and assumptions

Hypotenuse = √(base²+height²); angle = arctan(height/base). Positive sides only.

When this is useful

Find a slope or hypotenuse from horizontal run and vertical rise.

How to interpret the result

The angle is measured from the base. Both sides need the same unit; this does not solve arbitrary triangles.

Practical example and input checks

A right triangle with horizontal side 3 and vertical side 4 has hypotenuse 5 and an angle of about 53.13° from the horizontal. Use the same units for both sides. Non-right triangles need different information.

Worked example (sample inputs)

Base: 4 , Height: 3

Hypotenuse: 5 · Angle: 36.86989765 °

Related tools

Calculator →

Scientific calculator →

Percentage calculator →

Unit converter →

Area and volume →

Results depend on your inputs and assumptions.

Frequently asked question

Are slope angle and slope percentage the same?

No. A run of 4 and rise of 3 give a hypotenuse of 5 and an angle of about 36.87 degrees, but a 75% slope. Use matching length units and a right angle.