Skip to content
SoftwareSolutions.net
Calculators & Converters

Right triangle calculator

Find the hypotenuse and area of a right-angled triangle.

Try it

Ready

Inputs

Result

The result appears here as you type.

About Right triangle calculator

A right triangle calculator finds the hypotenuse and the area of a right-angled triangle from its two shorter sides, called the legs. The hypotenuse is the longest side, opposite the right angle. Enter the two legs, and the calculator returns the hypotenuse using Pythagoras' theorem and the area. It is used in construction, navigation, screen measurement and school geometry.

The theorem applies only to right angles. For other triangles, use the general area formula or the law of cosines instead.

How to use Right triangle calculator

  1. Measure the two sides that meet at the right angle, which are the legs.
  2. Enter both legs in the same unit.
  3. Read the hypotenuse, the longest side.
  4. Read the area, which is half the product of the legs.
  5. Use the hypotenuse for a diagonal brace, a ramp length or a ladder reach.

Pythagoras' theorem

The square of the hypotenuse equals the sum of the squares of the two legs. With legs of 3 and 4, the hypotenuse is 5, a famous set known as a 3-4-5 triangle. Builders use this to check that corners are square.

The area is half the product of the two legs, since the legs are perpendicular and form the base and height directly.

Checking a right angle

To check a corner is square on site, measure 3 units along one wall and 4 units along the other. If the diagonal between the marks is 5 units, the corner is a right angle. Scaling the numbers up keeps the check accurate, such as 0.9, 1.2 and 1.5 metres.

Use this check before fixing frames or tiles, since a corner that is slightly out makes everything after it misaligned.

Frequently asked questions

Can I find a missing leg?

Yes. Rearrange the theorem: one leg equals the square root of the hypotenuse squared minus the other leg squared. This calculator takes the two legs as input.

Why is the hypotenuse always the longest side?

It lies opposite the largest angle, which is the right angle.

Does it work for any triangle?

No. The theorem needs a right angle. Use a general method for other triangles.

Related tools

Tools that pair well with this one.