Back to Shop trigonometry

Right triangle calculator

Change function

Find triangle sides, hypotenuse, angles and area from two measurements. Pythagoras and trigonometry with a labelled sketch for CNC drawings.

Triangle

1What data does the drawing give you?

or load an example:

2Enter the measurements

3Result

Click a dimension to copy it · Entered values shown in grey

How to use this calculation

A ramp, a point-to-point distance or an inclined face can form a right triangle on a drawing. Choose the two measurements you know and locate angle A on the sketch before entering them. The calculator finds the remaining sides and angles using your drawing's units.

Worked example

Known measurements

Leg a = 30 mm · leg b = 40 mm

Result

Hypotenuse = 50 mm · A = 36.870° · B = 53.130° · area = 600 mm²

This 3-4-5 example retains its proportions when all sides are multiplied by the same factor.

Which measurements are sufficient?

Start with two legs, a hypotenuse and an acute angle, a leg and an angle, or a leg and the hypotenuse. Knowing only an acute angle and the right angle does not set the triangle's size. A supplied hypotenuse must be longer than the supplied leg.

Opposite and adjacent to A

Leg a is opposite A; leg b meets it. Hypotenuse c is opposite the 90° corner. Thus sin A = a/c, cos A = b/c and tan A = a/b. The two acute angles add up to 90°. Keep this reference when matching your drawing's labels.

Using the calculated dimension

Check that the faces really meet at 90°. Use the oblique triangle calculator for other geometry. Displayed decimal places express numerical precision, not the permitted manufacturing tolerance.

Frequently asked questions

How do I find the hypotenuse from two legs?

Use the Pythagorean theorem: c = √(a² + b²). Enter both legs in the same unit; the hypotenuse uses that unit too.

Can I use this without a 90° corner?

No. Choose the oblique triangle calculator with three sides, two sides and their included angle, or one side and two angles.

Is A the angle of the inclined face?

A lies between the hypotenuse and leg b on the sketch. An angle measured from the other face may be B, equal to 90° − A.

Related tools