Right Angle Triangle Angle Calculator
Enter any two known sides of a right triangle and calculate both acute angles instantly. Use the standard convention where side c is the hypotenuse and angle C = 90°.
Tip: If you enter all three sides, this tool validates whether they form a right triangle.
How this calculator works
A right triangle always has one 90-degree angle, which means the other two angles must add up to 90 degrees. This calculator uses your side lengths to find the acute angles quickly and accurately.
Under the hood, it combines:
- Pythagorean theorem: a² + b² = c²
- Trigonometric ratios: sin, cos, and tan
- Inverse trig functions: asin, acos, atan
Right triangle side and angle conventions
To avoid confusion, this page uses a fixed labeling system:
- Angle C = 90° (the right angle)
- Side c is opposite angle C, so it is the hypotenuse
- Angle A is opposite side a
- Angle B is opposite side b
This convention is common in geometry, trigonometry, and engineering examples.
Formulas used in the angle calculation
When you know both legs (a and b)
You can compute angle A directly with tangent:
A = arctan(a / b)
Then find B from the complementary relationship:
B = 90° − A
When you know one leg and the hypotenuse
If you know a and c:
- b = √(c² − a²)
- A = arcsin(a / c)
If you know b and c:
- a = √(c² − b²)
- A = arccos(b / c) or arctan(a / b)
Step-by-step usage guide
- Enter any two side lengths in the calculator.
- Click Calculate Angles.
- Review the computed sides and angles in degrees.
- If needed, click Clear and run another case.
The calculator also catches invalid input such as negative values, zero-length sides, or side combinations that cannot form a right triangle.
Practical examples
Example 1: Ladder against a wall
A ladder forms a right triangle with the ground and wall. Suppose the base is 6 m from the wall and the wall contact point is 8 m high:
- a = 8
- b = 6
- c = 10
The angle with the ground is approximately 53.13°, and the other acute angle is 36.87°.
Example 2: Roof pitch angle
A roof rises 4 ft over a horizontal run of 12 ft. This is a right triangle with legs a = 4 and b = 12. The angle is:
A = arctan(4/12) ≈ 18.43°
This is useful for construction, framing, and estimating material cuts.
Common mistakes to avoid
- Entering the hypotenuse as a or b instead of c
- Using zero or negative side lengths
- Mixing units (for example, inches and meters together)
- Forgetting that the two acute angles must sum to 90°
Why this is useful in real life
Right triangle angle calculations show up in many places: architecture, surveying, navigation, CNC machining, game development, and basic physics. A reliable quick calculator helps remove manual errors and saves time when you need a clean angle result fast.
FAQ
Can I enter all three sides?
Yes. The tool will verify that your values satisfy the Pythagorean theorem for a right triangle, then return angles.
What unit should side lengths use?
Any unit works (cm, m, in, ft), as long as all sides use the same unit.
Are results shown in degrees or radians?
Degrees. This is usually the most practical format for geometry and field work.
How precise are the results?
Results are rounded for readability, but calculations are done using JavaScript floating-point math with full internal precision.