JusTheToolPRECISION CALCULATORS

📐 Right Triangle Calculator

Quick answer: To solve a right triangle, use the Pythagorean theorem — a² + b² = c² — for the sides, and inverse trig (arctan, arcsin) for the angles. Enter any two values below to solve the rest.

Enter any two values — the two legs, a leg and the hypotenuse, or a side and an angle — and this solver finds every other side and angle.

Published by Muhammad Ahmad · Formulas derived from published code tables and manufacturer specifications
See our methodology

Fill in any two fields and clear the rest. Angle A is opposite side a; the right angle is C (90°).

Solved Triangle

SIDE a
3
SIDE b
4
HYPOTENUSE c
5
ANGLE A
36.87°
ANGLE B
53.13°
AREA
6
Perimeter and more appear once two values are entered.

How the Right Triangle Solver Works

A right triangle has one 90° angle (angle C). Once you know any two of its measurements — two sides, or one side and one non-right angle — every other value is fixed. This tool applies the Pythagorean theorem and basic trigonometry:

Angles A and B always add to 90°, the area is ½ × a × b, and the perimeter is a + b + c.

The 3-4-5 ruleThe classic 3-4-5 right triangle (and its multiples like 6-8-10) is how carpenters check for square. Mark 3 feet along one edge and 4 feet along the other; if the diagonal is exactly 5 feet, the corner is a perfect 90°. Enter 3 and 4 above to see it.

Frequently Asked Questions

How do you find the hypotenuse of a right triangle?

Square both legs, add them, and take the square root: c = √(a² + b²). For legs of 3 and 4, the hypotenuse is 5.

How do you find the angles of a right triangle?

Use the inverse trig functions. Angle A = arctan(a ÷ b) when you know both legs, and angle B = 90° − A.

What are the sides of a right triangle called?

The two shorter sides are the legs (a and b); the longest side, opposite the right angle, is the hypotenuse (c).

Can I use this to check if a corner is square?

Yes. Enter your two edge measurements as the legs; if the real diagonal matches the calculated hypotenuse, the corner is square. This is the basis of the 3-4-5 method.

🔗 Related Tools You Might Need

Common right triangles at a glance

Side c is the hypotenuse. Angle A is opposite side a. Every row is the same Pythagorean calculation the tool runs.

Side aSide bHypotenuse cAngle AAngle BArea
345.0036.9°53.1°6.0
51213.0022.6°67.4°30.0
6810.0036.9°53.1°24.0
72425.0016.3°73.7°84.0
81517.0028.1°61.9°60.0
91215.0036.9°53.1°54.0
121620.0036.9°53.1°96.0
202129.0043.6°46.4°210.0
101014.1445.0°45.0°50.0
121216.9745.0°45.0°72.0

The 3-4-5 triangle and its multiples (6-8-10, 9-12-15, 12-16-20) give exact whole-number hypotenuses, which is why builders use them to square a layout.

More framing, lumber & math tools

→ All 13 framing, lumber & math calculators

Last reviewed August 2026 · how we source these figures