About the Right Triangle Calculator
This tool solves a right triangle when you give two independent values. You can enter two sides or one side plus one acute angle. The calculator uses the Pythagorean theorem and basic trigonometry to compute the remaining sides, both acute angles, area, perimeter and the altitude to the hypotenuse. Results update instantly as you type; there is no calculate button. You can copy any result or share a link that reopens the tool with your numbers. Data stays in your browser while the page is open; nothing is uploaded. The page is useful for students, DIYers, architects and engineers who need quick numeric answers without extra explanation. Caveat: leg a is opposite angle A and leg b is opposite angle B. The hypotenuse must be longer than either leg.
How to use it
- 1Choose which two values you know from the input list.
- 2Enter numbers and pick a unit (mm, cm, m, inches, feet or any unit).
- 3Watch results update instantly as you type; copy a result or share the link.
Worked example
Inputs: Leg a = 3 cm, Leg b = 4 cm. Results: Hypotenuse c = 5.00 cm; Angle A = 36.87°; Angle B = 53.13°; Area = 6.00 cm^2; Perimeter = 12.00 cm; Height to hypotenuse = 2.40 cm.
The formula
Angle C is 90°Sides: a^2 + b^2 = c^2Angles: sin A = a / c, cos A = b / c, tan A = a / b, and A + B = 90°Area = a x b / 2Height to the hypotenuse = a x b / cSource: Euclid, Elements, Book I Proposition 47 (Pythagorean theorem)Wolfram MathWorld - SineOmni Calculator - Right Triangle. Last checked 5 November 2026.
What it is good for
- Solve a triangle from two values, one must be a side.
- Instant results as you type, no calculate button.
- Copy results or share a link that reopens with your numbers.
- You must supply two independent inputs and at least one side.
- The tool does not show step-by-step algebraic derivations or symbolic work.
Questions people ask
What two values do I need to solve a right triangle?
You need two independent values and at least one side. For example, two legs, or one leg plus one acute angle will produce a unique numeric solution.
How do I find the hypotenuse from both legs?
Use the Pythagorean theorem: c = sqrt(a^2 + b^2). Enter a and b and the tool computes c automatically and shows angles and area.
Can two angles alone determine the triangle?
No. Two angles fix the shape but not the scale. You need at least one side length to get absolute sizes and lengths.
What units can I use?
Enter any unit label you like: mm, cm, m, inches, feet or any unit. Keep units consistent for all numeric inputs.
What happens if I enter an impossible set of values?
The tool validates inputs and flags inconsistencies, for example if a leg is longer than the hypotenuse. Fix inputs so c > max(a,b).
Does the calculator show work or derivations?
No. The tool gives numeric results only. If you need step-by-step algebra, consult a textbook or a site that provides worked steps.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.