Worked example: Right Triangle Calculator
3-4-5. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- Two known measurements
- Perpendicular legs a and b
- Length unit
- length units
- Leg a
- 3
- Leg b
- 4
| Calculated quantity | Example result |
|---|---|
| Hypotenuse c | 5 units |
| Triangle area | 6 units² |
| Perimeter | 12 units |
Right Triangle Calculator: match the hypotenuse, acute angles and perpendicular heights
Which side of a right triangle is the hypotenuse?
The hypotenuse is opposite the 90° angle and is longer than either perpendicular leg. This Right Triangle Calculator names it c, with a and b as the legs. The relation a² + b² = c² therefore cannot use any arbitrarily chosen side as c.
A 3–4–5 triangle has legs 3 and 4, hypotenuse 5, area 6 and perimeter 12. When one leg and c are known, the missing leg comes from the difference of squared lengths. A hypotenuse shorter than the known leg is an impossible input, not a negative-length result.
How can one side and one acute angle determine the triangle?
The right angle fixes one angle, and the two acute angles sum to 90°. Once an acute angle and a length are known, the sine and cosine ratios determine the scale of the other sides. For angle A opposite a, a = c sin(A) and b = c cos(A).
If c = 10 and A = 30°, a = 5 and b = 5√3. Selecting angle B instead describes the other acute angle, so the control explicitly identifies which angle your number represents. In radian mode pi/6 means 30°, not roughly half a degree.
Can I solve a right triangle from its area or perimeter?
A side and area use K = ab/2; a side and perimeter use P = a + b + c together with the right-triangle identity. An area, perimeter or hypotenuse altitude combined with an acute angle also determines the triangle’s size through its fixed ratios.
Some pairs leave the two leg labels interchangeable. Area 6 and hypotenuse 5 identify leg lengths 3 and 4, but do not say which should be called a. In those cases the smaller leg is assigned a, and the table states that convention. Swapping those labels reflects the same congruent triangle.
What is the altitude to the hypotenuse?
It is the perpendicular distance from the right-angle vertex to side c. The two area expressions K = ab/2 and K = ch/2 show that h = ab/c. For a 3–4–5 triangle this height is 12/5, or 2.4, rather than either leg.
The known-height modes always mean this particular altitude. A base-height pair chosen from a drawing can describe a different altitude, so check which side is treated as the base. The construction view marks the perpendicular relationship instead of treating every vertical-looking segment as the required height.
How do 30–60–90 and 45–45–90 triangles help?
Their angle patterns fix their side ratios. A 30–60–90 triangle has opposite-side ratios 1:√3:2. A 45–45–90 triangle has equal legs and ratios 1:1:√2. Multiplying every side by one factor preserves the angles and changes the area by the square of that factor.
The comparison table normalizes both special cases and your triangle by the hypotenuse. Those dimensionless ratios compare shape; they do not mix physical side lengths with area. A numerical resemblance to a special ratio is not proof that rounded field measurements are exact.
When is a right-triangle calculation useful?
It can help inspect a rectangular diagonal, an idealized ramp, a perpendicular layout or a trigonometry exercise. The relevant premise is a real right angle between the legs. An oblique triangle requires the general Triangle Calculator instead.
The results describe Euclidean geometry, not a structural capacity, compliant stair design or measurement uncertainty. Inspect the labeled diagram and full CSV measurements when comparing a plan. Keep units consistent and do not use a rounded screen value as if it were a more accurate measurement than the inputs.
Formula and calculation method
a² + b² = c², with perpendicular legs a, b and hypotenuse c. Area = ab/2; perimeter = a + b + c; hypotenuse altitude = ab/c.
For acute A opposite a: a = c sin(A), b = c cos(A). B = 90° − A. A known area, perimeter or altitude and angle determine the scale.
Some area/perimeter/hypotenuse pairs determine leg lengths without distinguishing a from b. The smaller recovered leg is called a; swapping labels reflects the same congruent triangle.
The complete measurement table retains all sides, both acute angles, altitudes and radii. Numeric classification and validation use explicit tolerances.
Scope and Limitations
- Euclidean plane triangles only. No geodesic, spherical, surveying-error or measurement-uncertainty model. Derived values are floating-point approximations, not arbitrary-precision symbolic proofs.
Reference Sources
Frequently asked questions
Can I enter a leg and hypotenuse?
Yes. Choose a/c or b/c mode. The hypotenuse must be strictly longer than the known leg.
What does the altitude input mean?
It is the perpendicular altitude from the right-angle vertex to the hypotenuse, equal to ab/c.
Why is the smaller recovered leg called a?
Some area/perimeter/hypotenuse pairs determine two unlabeled legs. The calculator assigns the smaller to a; swapping the labels gives a congruent reflection.
Can two acute angles alone determine size?
No. They identify shape but need a length, area, perimeter or altitude to establish scale.
Are these results a construction approval?
No. They calculate geometry under the stated right-angle premise, not load capacity, code compliance or a complete material specification.