Solve right triangles instantly by calculating missing sides, angles, hypotenuse, area, and perimeter using trigonometry and the Pythagorean theorem.
Calculate NowEnter the two legs (a and b) of the right triangle.
Enter the hypotenuse and one acute angle (degrees).
Enter the area and one leg; we'll find the other leg.
Adjust the legs and see your triangle rendered to scale.
The essential equations every right triangle solver relies on.
Relates the two legs (a, b) to the hypotenuse (c). The square of the hypotenuse equals the sum of the squares of the legs.
Use sine when you know an angle and the hypotenuse, or to find an angle from the opposite side and hypotenuse.
Cosine links an angle to its adjacent leg and hypotenuse — perfect for resolving horizontal components.
Tangent compares the two legs directly. Ideal when both legs are known or for slope calculations.
Right triangles make area easy: the two legs serve as the base and height, so just multiply and halve.
Add all three sides. If the hypotenuse is unknown, calculate it with the Pythagorean theorem first.
A foundational shape in geometry, trigonometry, and engineering.
A right triangle contains exactly one 90° angle. The other two angles are acute and always sum to 90°, since every triangle's interior angles total 180°.
The two sides forming the right angle are called legs (often labeled a and b). They serve as the base and height when calculating area.
The side opposite the right angle is the hypotenuse (c). It is always the longest side and is found with the Pythagorean theorem.
The two non-right angles (α and β) are acute. Knowing one immediately gives the other: β = 90° − α.
The 3-4-5, 5-12-13, and 8-15-17 are common Pythagorean triples — sets of integers that satisfy a² + b² = c² exactly.
Right triangles model ramps, roofs, screens, ladders, and countless physics problems. They underpin all of trigonometry.
Choose the method that matches the values you already know.
If you know both legs, apply the Pythagorean theorem: c = √(a² + b²). Then find the angles using α = arctan(a/b) and β = 90° − α. Area is (a·b)/2.
Pick the trig ratio that links your known side to the angle: sine for opposite, cosine for adjacent, tangent when both legs are involved. Rearrange to isolate the unknown side.
Use a = c·sin(α) and b = c·cos(α). Then β = 90° − α. This is the fastest case because both legs come from one multiplication.
From Area = (a·b)/2, isolate the missing leg: b = 2·Area / a. Once both legs are known, fall back to the Pythagorean theorem for the hypotenuse.
Geometry's most famous equation, demystified.
Named after the Greek mathematician Pythagoras (c. 570–495 BCE), this theorem states that in any right triangle the square of the hypotenuse equals the sum of the squares of the other two sides: a² + b² = c².
Geometrically, if you build a square on each side of a right triangle, the area of the largest square (on the hypotenuse) is exactly equal to the combined area of the two smaller squares. This visual proof has been demonstrated in hundreds of different ways across cultures and centuries.
The theorem is essential whenever you need to find a missing length — in surveying, construction, navigation, and even computer graphics where 2D and 3D distances are computed millions of times per second.
The mnemonic that unlocks every trig problem.
For an acute angle θ, divide the length of the side opposite that angle by the length of the hypotenuse.
Cosine uses the leg next to the angle (but not the hypotenuse) divided by the hypotenuse.
Tangent skips the hypotenuse entirely — just opposite over adjacent. Great for slope and pitch.
To recover an angle from two known sides, use the inverse functions: arcsin, arccos, or arctan. Always confirm whether your calculator is in degree or radian mode before computing.
Step-by-step solutions for the most common right triangle scenarios.
Right triangles are everywhere — far beyond the math classroom.
Framers use the 3-4-5 rule to confirm square corners; roofers calculate rafter lengths from rise and run.
Architects compute stair stringers, ramps, beam diagonals, and ADA-compliant slope angles.
Total stations and theodolites resolve distances and elevations through right triangle trigonometry.
Vector decomposition, force diagrams, and stress analysis rely on resolving values along perpendicular axes.
Pilots and sailors compute bearings, ground speed, and triangulated positions with sine and cosine.
Projectile motion, inclined planes, and electromagnetic wave components all split into right-triangle parts.
Roof pitch is simply rise/run = tan(θ). Convert any pitch into degrees in one tan⁻¹ step.
Farmers and surveyors break irregular plots into right triangles to compute precise areas.
Solve in milliseconds what would take minutes by hand — and avoid square-root and trig keystroke errors.
Built-in formulas remove the risk of misremembering SOHCAHTOA or flipping a ratio.
See the formula used and a step-by-step breakdown — perfect for checking homework.
Results to four decimal places are precise enough for drafting, construction, and physics labs.
Fully responsive — use it on a phone at a job site, in a workshop, or at your desk.
Bulk-check answers, prototype designs, or estimate quotes without ever opening a separate scientific calculator.
Identify what you know — two sides, a side and an angle, or area and a side. Then apply the matching formula: Pythagorean theorem for sides, sine/cosine/tangent for side-angle pairs, or rearranged area for a missing leg. Our calculator handles all cases automatically.
The hypotenuse is the side opposite the right (90°) angle. It is always the longest side of a right triangle and is computed using c = √(a² + b²).
Square each leg, add them together, and take the square root: c = √(a² + b²). To find a missing leg instead, rearrange: a = √(c² − b²).
It's a mnemonic for the three primary trig ratios: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.
Yes. Use the inverse trig functions: α = arctan(opposite/adjacent), or arcsin(opposite/hypotenuse), or arccos(adjacent/hypotenuse). The remaining acute angle is simply 90° minus the one you just found.
For a right triangle, Area = (a × b) / 2 because the two legs serve as base and height. Perimeter is just a + b + c — the sum of all three sides.
Both measure angles. Degrees divide a full rotation into 360 parts; radians use 2π. To convert, multiply degrees by π/180 to get radians, or radians by 180/π for degrees.
Compute sin, cos, tan and their inverses for any angle.
Solve any triangle — not just right ones — with SSS, SAS, ASA inputs.
Quickly find the missing side of any right triangle.
Find distance between two points on a 2D or 3D coordinate plane.
Areas, volumes, and perimeters of common shapes in one place.
A full-featured online calculator for any math operation.
Use our free Right Triangle Side and Angle Calculator to calculate missing dimensions, angles, area, and perimeter with confidence.
Calculate Now