Missing Side of a Right Triangle Calculator
Enter exactly two known measurements, including at least one side length, to solve the complete right triangle.
Known measurements
Keep exactly two fields filled. Use the same length unit for a, b, and c; angles are entered in degrees.
Positive decimal length; grouping commas are accepted in standard 1,234.5 form.
Positive decimal length in the same unit as every other side value.
The hypotenuse must be longer than either leg when a leg and c are the known pair.
Acute angle opposite side a; enter a plain decimal strictly between 0 and 90.
Acute angle opposite side b; α + β is always 90° in a right triangle.
Solved triangle
Primary missing side
c = 15 units
Pythagorean check: balanced.
Complete triangle table
| Measurement | Value | Unit | Role |
|---|---|---|---|
| a (leg) | 9 | units | Known |
| b (leg) | 12 | units | Known |
| c (hypotenuse) | 15 | units | Solved |
| Angle α | 36.87 | degrees | Solved |
| Angle β | 53.13 | degrees | Solved |
The table uses the same canonical values as the result cards and Excel workbook. “Known” means entered by you; “Solved” means derived from the right-triangle identities.
How to use the Missing Side of a Right Triangle Calculator
What this calculator does
This calculator completes a right triangle from exactly two independent measurements, provided at least one of them is a side length. It solves the two legs a and b, the hypotenuse c, and the two acute angles α and β while treating the third angle as exactly 90°. It is useful for geometry exercises, layout checks, diagonal measurements, surveying-style sketches, and any situation where a right angle is known. It does not determine whether a real-world corner is actually square, and it does not replace measurement uncertainty or engineering tolerances. The underlying relationships are the Pythagorean theorem and right-triangle trigonometry; OpenStax gives a concise review of both in its right-triangle trigonometry section.
When to use it
Use the calculator when you know two sides and need the third, when you know one side and one acute angle and need the remaining sides, when you want to convert a diagonal measurement into horizontal and vertical legs, or when you want to check a textbook or field calculation. Two acute angles by themselves fix only the shape, not the scale, so at least one side is always required.
How to calculate
- The calculator opens with a ready-to-use demonstration: a = 9 units and b = 12 units. The solved hypotenuse is 15 units, the acute angles are 36.87° and 53.13°, and Download Excel is immediately available.
- Replace the demonstration by keeping exactly two input fields filled. You may use two side lengths, or one side length plus Angle α or Angle β. If you want to use c with a leg, c must be longer than that leg.
- Read the large Primary missing side result first, then use Side a, Side b, Hypotenuse c, Angle α, and Angle β for the complete solution. The Complete triangle table shows which two measurements were Known and which values were Solved.
- Select Download Excel to generate a fresh workbook from the current validated model. The workbook contains Summary and Inputs sheets and validates its own OOXML package before the browser is allowed to download it.
- Reset clears all five input fields, removes the solved state, and disables Download Excel until you again supply a complete valid pair. Reset does not restore the demonstration values.
Input guide
a (leg) is a positive decimal side length opposite Angle α. It is optional by itself but can be one of the two required known measurements. Enter a plain number such as 9 or a standard grouped number such as 1,250.5; do not append a unit or use scientific notation. A larger a generally increases c when b is fixed and increases α relative to β. A common mistake is mixing units between a, b, and c.
b (leg) is the other positive decimal leg, opposite Angle β. It follows the same accepted format and range as a. A realistic example is 12. Increasing b while a stays fixed increases the hypotenuse and decreases α. Keep b in the same length unit as any other side you enter.
c (hypotenuse) is the side opposite the 90° angle and must be positive. If paired with a or b, it must be strictly longer than that leg; for example, c = 10 can pair with a = 6 to solve b = 8. Enter only the number. Treating a shorter side as c is a common validation error because the hypotenuse is always the longest side.
Angle α is the acute angle opposite side a. Enter a plain decimal in degrees strictly between 0 and 90, such as 30; do not type the degree symbol. It must be paired with at least one side. Raising α while a fixed hypotenuse c is held constant increases a and decreases b. Values at 0° or 90° are not valid acute angles.
Angle β is the acute angle opposite side b and follows the same rules as Angle α. A realistic value is 60. In every valid right triangle, α + β = 90°. Entering both acute angles without a side is insufficient because the triangle could be scaled to infinitely many sizes.
Output guide
Status reports whether the current pair can be solved. Known measurements names the two fields currently driving the model, and Target names the missing side emphasized as the primary answer. Primary missing side is an exact identity derived from the entered measurements, displayed in generic length units because the calculator does not impose a physical unit system. Side a, Side b, and Hypotenuse c are the completed side lengths. Angle α and Angle β are displayed in degrees to two decimals; they are estimates only to the shown display precision, while the internal model retains more precision. Pythagorean check confirms that the solved sides satisfy a² + b² = c² within floating-point tolerance. In the table, Measurement identifies the quantity, Value gives its solved number, Unit distinguishes length from degrees, and Role says whether a value was Known or Solved. A zero, negative, nonnumeric, or structurally insufficient state is rejected rather than silently converted to zero.
Worked example
The startup example uses a = 9 and b = 12. Because both known values are legs, the Pythagorean theorem gives c = √(9² + 12²) = √225 = 15 units. Angle α is arctan(9 ÷ 12) = 36.869897...°, displayed as 36.87°, and Angle β is 90° – α = 53.130102...°, displayed as 53.13°. Those same canonical numbers populate the first-open result cards, table, and workbook checkpoints. OpenStax also summarizes the Pythagorean formula a² + b² = c² in its geometry key concepts.
How the model works
When two legs are known, the missing hypotenuse is c = √(a² + b²). When a leg and c are known, the other leg comes from rearranging the same identity, for example b = √(c² – a²). When one side and one acute angle are known, sine, cosine, and tangent connect side ratios to that angle. The calculator uses α opposite a and β opposite b, so sin(α) = a/c, cos(α) = b/c, and tan(α) = a/b. The complementary angle then follows from α + β = 90°.
a² + b² = c² · sin(α) = a/c · cos(α) = b/c · α + β = 90°
Length values are intentionally labeled “units” so the same calculation can be used with millimeters, meters, inches, feet, or another consistent length unit. The critical rule is consistency: a, b, and c must all use the same unit before you calculate. For an authoritative overview of metric length units and their relationships, see the U.S. National Institute of Standards and Technology guide to SI units of length.
No chart is shown because this calculator produces one solved geometric state rather than a meaningful multi-point series or part-to-whole breakdown. The table is the more faithful analytical view: it keeps every solved measurement visible, preserves units, and makes the known-versus-solved distinction explicit without inventing a scale or comparison that is not part of the mathematical problem.
Common mistakes and interpretation
The most common errors are entering three or more measurements at once, mixing side units, treating a leg as the hypotenuse, or entering only the two acute angles. If you know more than two measurements, choose the two that you trust most and use the others as a separate check against the solved results. If c and a leg are your known pair, c must be larger; otherwise c² minus the leg squared is zero or negative and cannot represent another positive leg.
Angles very close to 0° or 90° describe extremely thin right triangles. The formulas remain valid for acute angles, but small measurement errors can have a large effect on the reconstructed side lengths near those limits. For practical layout or construction work, keep measurement precision and tolerances separate from the exact mathematical identities used here.