Right Triangle Calculator
Solve right triangles: side lengths, angles, area, perimeter, and altitude from any two known values with Pythagorean verification.
Calculator
Leg opposite α
Leg opposite β
Longest side
Degrees
Degrees
Provide any 2 values — γ is always 90°
Right Triangle Summary
Results
Side a
3.0000
Leg opposite α
4.0000
Leg opposite β
5.0000
Opposite 90°
36.87°
At base between b and c
53.13°
α + β = 90°
2.4000
(a×b)/c to hypotenuse
6.0000sq units
(a×b)/2
12.0000
a + b + c
Solves any two-known right triangle (≥1 side) via Pythagoras and SOH-CAH-TOA. Legs must be shorter than the hypotenuse; acute angles under 90°.
Visualizations
Sides Compared
Legs Split (a vs b)
α Share of 90°
Area vs Perimeter (numeric)
Formula
Side–side pairs use Pythagoras; side–angle pairs use sine/cosine/tangent; angles complete to 90°.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| a,b | Legs | units | Perpendicular sides |
| c | Hypotenuse | units | Longest, opposite 90° |
| α,β | Acute angles | °/rad | Sum to 90° |
| h | Altitude | units | ab/c to hypotenuse |
| A,P | Area / perimeter | sq units / units | ab/2 and a+b+c |
Explanation
Special 30-60-90 (x:x√3:2x) and 45-45-90 (x:x:x√2) ratios shortcut angle-known cases.
Derivation
Pythagoras for sides; SOH-CAH-TOA for angles; geometric mean for altitude segments.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Identify the two knowns and pick Pythagoras vs trig.
Solve the third side.
Solve acute angles via inverse trig or atan2.
Enforce α + β = 90° with γ = 90°.
Compute altitude to the hypotenuse.
Finish area, perimeter, and Pythagoras check.
Worked Examples
See how the calculator works with different scenarios.
Scenario
a=3, b=4 — classic triple.
Inputs
Calculation
c = √(9+16) = 5 α = atan2(3,4) ≈ 36.87° β ≈ 53.13°
Result
c=5, α≈36.87°, β≈53.13°, A=6, P=12
Interpretation
Default view; 3-4-5 verified instantly.
Understanding Your Result
Your Result: Side a: 3.0000
Typical range: Leg < hyp; α,β in (0,90°); h < min(a,b); 30-60-90 and 45-45-90 as special checks.
What This Means
All sides, both acute angles, altitude, area, and perimeter consistent under Pythagoras and angle sum.
Why It Matters
Construction squaring, navigation bearings, surveying, force decomposition, and graphics all reduce to this solve.
Professional Interpretation
Confirm leg<hyp and α+β=90°; use radian mode consistently when scripting.
Recommendations
- •Give any 2 valid values
- •Respect leg < hyp
- •Keep angles under 90°
- •Use SOH-CAH-TOA deliberately
- •Check 30-60-90/45-45-90 patterns
- •Verify via Pythagoras line
Educational Content
Introduction
A right triangle is fixed by two data (with at least one side): Pythagoras gives sides, trig gives angles.
Concept Explanation
a²+b²=c² plus sin/cos/tan (SOH-CAH-TOA) plus α+β=90° solve all nine side/angle combos.
Applications
Benefits
- •Nine-combo solver
- •Degree/radian modes
- •Altitude + area + perimeter
- •Live Pythagoras proof line
- •Special-triangle intuition
Limitations
- •Right triangles only
- •Needs ≥2 values incl. a side
- •Two angles alone underdetermine size
- •Ideal geometry
Best Practices
- •Name hyp first
- •Pick sin vs cos by opposite/adjacent
- •Complete to 90°
- •Check h = ab/c
- •Round angles to 0.01°
Common Misconceptions
Practical Tips
- •Provide any 2 values
- •Leg must be < hypotenuse
- •Angles must be < 90°
- •Use SOH-CAH-TOA for side+angle
- •α+β always 90°
- •Check h = ab/c
- •Spot 30-60-90 and 45-45-90
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a right triangle?
What is the Pythagorean theorem?
How do I find the hypotenuse of a right triangle?
How do I find a missing leg?
What is a 30-60-90 triangle?
What is a 45-45-90 triangle?
How do I find the area of a right triangle?
How do I find the perimeter?
What is the altitude of a right triangle?
What does SOH-CAH-TOA stand for?
How do I find an angle from two sides?
Can I enter values in radians?
What are Pythagorean triples?
How do I solve a triangle with one side and one angle?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Hypotenuse
- Longest side opposite 90°.
- Leg
- Side forming the right angle.
- SOH-CAH-TOA
- Sin/cos/tan ratio mnemonic.
- Altitude
- h = ab/c to the hypotenuse.
- 30-60-90
- Sides x : x√3 : 2x.
- 45-45-90
- Isosceles right; hyp x√2.
- Circumcircle
- Center at hyp midpoint (Thales).
- Inradius
- (a+b−c)/2 for right triangles.
- Geometric mean
- h² = p·q on hyp segments.
- 3-4-5 rule
- Site method for 90° corners.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-08-07
2.0.0
Free to use for educational and professional purposes.