Right Triangle Calculator: Hypotenuse, Angles and Area
Enter two sides or a side and an angle to find the hypotenuse, missing sides, angles, area and perimeter. See formulas and steps. Free, no account needed.
How do you solve a right triangle?
A right triangle has one 90 degree angle. The longest side, opposite the right angle, is the hypotenuse, and the other two sides are the legs. Two pieces of information are enough to solve it: two sides, or one side and one acute angle.
The Pythagorean theorem
The squares of the legs add up to the square of the hypotenuse: c² = a² + b². So c = √(a² + b²) and a = √(c² − b²).
Angles
The acute angles follow from side ratios: sin α = a / c, cos α = b / c, tan α = a / b. The two acute angles add up to 90 degrees.
Example
With legs of 3 m and 4 m the hypotenuse is √(9 + 16) = 5 m. The area is 3 × 4 / 2 = 6 m², the perimeter 12 m and the altitude to the hypotenuse 3 × 4 / 5 = 2.4 m. The angles are about 36.87 and 53.13 degrees.
Use on site
The 3 4 5 rule checks whether a corner is square: mark 3 m along one side and 4 m along the other, and the corner is square if the marks are 5 m apart. Larger layouts use multiples of the same ratio (6 8 10, 9 12 15). Roof pitch, ramp length and stair calculations are right triangle problems as well.
Limits
The calculator handles right triangles only. The hypotenuse is always longer than either leg, and the acute angle must lie between 0 and 90 degrees.
Frequently asked questions
How do I find the hypotenuse of a right triangle?
A right triangle with perpendicular sides of 3 m and 4 m has a hypotenuse of 5 m. Square the two side lengths, add them and take the square root to find the longest side opposite the right angle. This assumes a true right angle, so check site measurements and corner alignment separately.
Related calculators
-
Geometry
Triangle Calculator: Sides, Angles and Scale Drawing
Enter three known values, including a side, to find missing sides, angles, area and perimeter. See a scale drawing and both solutions when valid. Free. -
Mathematics
Trigonometry Calculator: Sin, Cos, Tan and Inverses
Calculate sin, cos, tan, cot, sec and csc in degrees, radians or gradians. Use inverse functions to find angles within one turn. Free, no account needed. -
Geometry
Area and Perimeter Calculator
Area and perimeter of a rectangle, circle, triangle, trapezoid, ellipse, circular sector, ring and regular polygon, with formulas and working. -
Mathematics
Absolute Value and Piecewise Function Calculator
Solves absolute value equations and inequalities step by step, evaluates expressions, writes them piecewise and evaluates piecewise functions. -
Mathematics
Algebraic Expression Simplifier
Simplifies an algebraic expression step by step: expands brackets, combines like terms, cancels common factors in rational expressions and evaluates at given values. -
Mathematics
Arithmetic and Geometric Sequence Calculator
The nth term, the sum of the first n terms, the infinite sum, finding a sequence from two terms and the position of a term. Exact fractions, step by step.
Found a mistake or something missing?
If a value looks wrong, a size is missing or you need a feature, write to us and we will fix it.