Angle of Right Triangle Calculator
Find the two acute angles of a right triangle from any supported pair of sides, or from one leg and the triangle area.
Known triangle values
Enter at least two compatible values. Use one consistent length unit for a, b, and c; area must use the square of that same unit.
Results
The two acute angles always add to 90° in a nondegenerate right triangle.
How to use this right triangle angle calculator
What this calculator does
This calculator determines the two acute angles of a right triangle when you know enough side or area information to reconstruct its shape. The labels follow a fixed convention: Angle α is opposite Leg (a), Angle β is opposite Leg (b), and Hypotenuse (c) is the side opposite the 90° angle. The result is an exact trigonometric consequence of the supplied geometry, subject only to display rounding. It does not identify an angle from hypotenuse and area alone because those two values do not distinguish which acute angle should be called α versus β.
When to use it
Use it when checking a drawing or layout that specifies two side lengths, when a fabrication or construction measurement gives one leg plus the diagonal, when a right-triangle area is known together with one perpendicular leg, or when you want to verify complementary acute angles before applying further trigonometry. For the underlying side-ratio definitions and inverse trigonometric functions, see OpenStax's right triangle trigonometry explanation.
How to calculate
- The calculator opens with a complete demonstration state: Leg (a) = 4 and Area = 20. Its angles are already calculated, and Download Excel is immediately available with a validated example workbook.
- Replace the demonstration values with any supported pair: Leg (a) + Leg (b), Leg (a) + Hypotenuse (c), Leg (b) + Hypotenuse (c), Leg (a) + Area, or Leg (b) + Area. You may also enter extra values when they are mathematically consistent with the same triangle.
- Read Angle α and Angle β in degrees. The Acute angle sum remains 90.00° for every valid right triangle, while Solved from reports the pair used to reconstruct the triangle and Triangle check confirms whether the entered measurements are mutually consistent.
- Select Download Excel to create a fresh .xlsx workbook from the current validated inputs and canonical calculation. The workbook includes Summary and Inputs sheets. Select Reset to clear the demonstration values, results, validation residue, and workbook state. After Reset, Excel export stays disabled until a complete valid pair is entered again.
Input guide
- Leg (a) is an optional positive decimal length. It uses the same length unit as the other sides; values such as 4 or 12.5 are valid. Increasing a while b is held fixed increases Angle α and decreases Angle β. Do not enter zero, a negative value, decimal-comma notation, or a different physical unit from the other side lengths.
- Leg (b) is an optional positive decimal length in the same unit as a and c. A realistic entry is 10. With a fixed, increasing b decreases Angle α because the opposite-to-adjacent ratio a/b becomes smaller. A common mistake is swapping the labels: β is opposite b, while α is opposite a.
- Hypotenuse (c) is an optional positive decimal length and must be longer than either supplied leg. For the 4-by-10 startup triangle, c is about 10.7703. Pair c with Leg (a) or Leg (b); pairing c with Area alone is intentionally rejected because the angle labels are ambiguous. Entering c less than or equal to a known leg cannot describe a nondegenerate right triangle.
- Area is an optional positive decimal measured in the square of the chosen length unit. If lengths are in centimeters, for example, area must be in square centimeters. The startup value is 20. Pair Area with Leg (a) or Leg (b); the missing leg follows from twice the area divided by the known leg. NIST's SI area guidance explains why area units are squared length units.
Output guide
Angle α is the acute angle opposite Leg (a), displayed in degrees to two decimal places. It is driven by the completed ratio between a and b. Values close to 0° mean a is very small relative to b; values close to 90° mean a is much larger than b. Angle β is the acute angle opposite Leg (b) and equals 90° – α. The Acute angle sum is therefore the exact 90° complementary-angle identity rather than a separate estimate. Solved from identifies the supported pair selected from the current inputs. Triangle check reports whether all supplied values agree with one right triangle; if an extra side or area conflicts with the reconstructed geometry, the calculator shows a validation message instead of forcing an answer.
Worked example
With the startup values a = 4 and area = 20, the missing leg is b = 2 × 20 ÷ 4 = 10. The hypotenuse is then √(4² + 10²) ≈ 10.7703. Angle α is arctan(4 ÷ 10) ≈ 21.8014°, displayed as 21.80°. Angle β is 90° – 21.8014° ≈ 68.1986°, displayed as 68.20°. Those numbers match the first-open result cards and the startup Excel workbook. For more detail on turning side ratios back into angles, OpenStax covers inverse trigonometric functions.
Learn more
The side completion step relies on the Pythagorean relation a² + b² = c². Wolfram MathWorld gives a concise reference for the Pythagorean theorem, while the OpenStax trigonometry material above explains how tangent, sine, and cosine connect those sides to the acute angles.
Calculation method and interpretation
When both legs are known, the calculator uses the legs directly, computes the hypotenuse with the Pythagorean theorem, and evaluates α from arctan(a/b). When a leg and the hypotenuse are known, it derives the other leg from the Pythagorean relation before evaluating the same angle ratio. When one leg and area are known, it first uses area = a × b ÷ 2 to recover the missing leg. All valid paths converge on the same completed right triangle, and any extra measurements you enter are checked against that completed geometry.
Because angles depend on side ratios rather than absolute size, scaling every length by the same factor does not change α or β. Unit consistency still matters: mixing centimeters and inches without conversion changes the ratios and therefore describes the wrong shape. The calculator deliberately uses neutral “length” and “length²” labels so you can work in any coherent system without pretending that a particular unit was supplied.
Very small or very large positive ratios can produce angles that round visually to 0.00° or 90.00°, even though a nondegenerate triangle's acute angles remain strictly between those boundaries. The internal calculation retains full JavaScript numeric precision and rounds only for display and spreadsheet formatting. Invalid, inconsistent, missing, nonnumeric, negative, zero, or overflow-prone values are rejected before results or Excel data are produced.