Right Triangle Calculator
Right Triangle is evaluated from Leg a, Leg b and Hypotenuse c. The calculation reports Leg a, Leg b and Hypotenuse c.
Results
About the Right Triangle Calculator
The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.
Formula basis:
a^2 + b^2 = c^2 (Pythagorean theorem)
sin(A) = a/c, cos(A) = b/c, tan(A) = a/b
Angle B = 90 deg - A
Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.
Formula & How It Works
The calculation applies the following relations exactly as recorded in the metadata: a^2 + b^2 = c^2 (Pythagorean theorem) sin(A) = a/c, cos(A) = b/c, tan(A) = a/b Angle B = 90 deg - A Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.
Worked Examples
Example 1: Roof Rafter Length — 6/12 Pitch
Inputs
With Leg a = 14 and Leg b = 28 as the stated inputs, the result is Leg a = 14, Leg b = 28 and Hypotenuse c = 31.304952. Each value corresponds to the declared output fields.
Example 2: Staircase Rise and Run
Inputs
With Hypotenuse c = 12 and Angle A = 35 as the stated inputs, the result is Leg a = 6.882917, Leg b = 9.829825 and Hypotenuse c = 12. Each value corresponds to the declared output fields.
Example 3: 30-60-90 Triangle — Special Angles
Inputs
With Hypotenuse c = 10 and Angle A = 30 as the stated inputs, the result is Leg a = 5, Leg b = 8.660254 and Hypotenuse c = 10. Each value corresponds to the declared output fields.
Example 4: 3-4-5 Pythagorean Triple — Foundation Layout
Inputs
With Leg a = 6 and Leg b = 8 as the stated inputs, the result is Leg a = 6, Leg b = 8 and Hypotenuse c = 10. Each value corresponds to the declared output fields.
Common Use Cases
- Find hypotenuse from two legs
- Find leg from hypotenuse and one angle
- Calculate roof rafter length
- Determine staircase rise and run