Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer
Calculators PlanetCalculators Planet
HomeFinancialMathHealthOtherBlogAboutContact
HomeMathRight Triangle Calculator

Right Triangle Calculator

Solve all sides, angles, area, and perimeter of a right triangle. Enter any two sides, or one side and one angle. Results include Pythagorean verification.

Share:
Right Triangle Calculator
In a right triangle: a and b are legs, c is the hypotenuse. Angle C = 90°.

Enter any two of the three sides:

Results

Enter values and click Calculate to see results.

What Is a Right Triangle Calculator?

A carpenter needs to cut a diagonal support beam for a staircase. The horizontal run is 8 feet and the vertical rise is 6 feet. How long is the beam? Using the Pythagorean theorem: 8 squared plus 6 squared equals 100, so the square root is 10 feet. This calculator solves that problem instantly, along with every other side, angle, area, and perimeter of the right triangle.

A right triangle is a triangle that contains one 90-degree angle. This special property makes right triangles the foundation of trigonometry, construction, navigation, and countless engineering applications. The Pythagorean theorem, attributed to the Greek mathematician Pythagoras around 500 BCE, states that the square of the hypotenuse equals the sum of the squares of the two legs. This relationship is one of the oldest and most widely used mathematical discoveries in human history.

Because the right angle is always known (90 degrees), you only need two other pieces of information to fully determine the triangle. This calculator supports solving from two known sides or from one side and one acute angle. For solving non-right triangles, our Triangle Calculator handles the Law of Sines and Law of Cosines.

What This Calculator Does

Enter any two known values and the calculator returns all sides, all angles, area, and perimeter of the right triangle. For the specific case of finding only the hypotenuse, our Pythagorean Theorem Calculator provides a focused tool.

Inputs Required (choose one mode)

  • Two known sides: Enter any two of the three sides (legs a and b, or hypotenuse c with one leg)
  • Side and angle: Enter one side length and one acute angle (Angle A, which is opposite to leg a)

Outputs Provided

  • All three sides: Legs a and b, and hypotenuse c
  • All three angles: Angles A and B (with Angle C always = 90 degrees)
  • Area: Half the product of the two legs
  • Perimeter: Sum of all three sides
  • Verification: Confirms a squared plus b squared equals c squared

How the Calculation Works

Pythagorean Theorem

c squared = a squared + b squared

a = square root of (c squared - b squared) | b = square root of (c squared - a squared)

When two sides are known, the Pythagorean theorem finds the third. Legs a and b are the two sides that form the right angle. The hypotenuse c is always the longest side, opposite the 90-degree angle.

Trigonometric Ratios (SOH-CAH-TOA)

sin(A) = a / c (opposite / hypotenuse)

cos(A) = b / c (adjacent / hypotenuse)

tan(A) = a / b (opposite / adjacent)

When a side and an angle are known, trigonometric functions find the remaining sides. SOH-CAH-TOA is the standard memory aid: Sine equals Opposite over Hypotenuse, Cosine equals Adjacent over Hypotenuse, Tangent equals Opposite over Adjacent. The calculator uses sine to find the side opposite the known angle, then uses the Pythagorean theorem to find the third side. For calculating slope between two points, our Slope Calculator applies the rise-over-run formula.

Area and Perimeter

Area = 0.5 x a x b

Perimeter = a + b + c

Angle B = 90 degrees - Angle A

How to Use the Calculator

  1. Select the mode: two known sides, or side and angle
  2. Enter the values you know
  3. Click Calculate
  4. View all sides, angles, area, and perimeter. The Pythagorean verification confirms accuracy

Example Calculations

Example 1: Two sides known (a = 3, b = 4)

  • Hypotenuse: c = square root of (9 + 16) = square root of 25 = 5
  • Angle A: arcsin(3/5) = 36.87 degrees
  • Angle B: 90 - 36.87 = 53.13 degrees
  • Area: 0.5 x 3 x 4 = 6 square units
  • Perimeter: 3 + 4 + 5 = 12 units

This is the famous 3-4-5 Pythagorean triple, used by builders for centuries to create perfect right angles.

Example 2: Side and angle (a = 10, Angle A = 30 degrees)

  • Hypotenuse: c = 10 / sin(30 degrees) = 10 / 0.5 = 20
  • Leg b: square root of (400 - 100) = square root of 300 = 17.321
  • Angle B: 90 - 30 = 60 degrees
  • Area: 0.5 x 10 x 17.321 = 86.603 square units

This is a 30-60-90 special right triangle, where the hypotenuse is always twice the shortest leg and the long leg is the short leg times the square root of 3. For calculating areas of other shapes, our Square Footage Calculator handles rectangular and irregular area calculations.

Real-World Scenarios

Construction and Carpentry

Tom, a 52-year-old carpenter in Vermont, is building a staircase with a total vertical rise of 9 feet and a horizontal run of 12 feet. He enters a = 9 and b = 12 into the calculator. The hypotenuse is 15 feet, giving him the exact length for his diagonal stringer board. The calculator also shows Angle A as 36.87 degrees, which tells him the stair pitch. He orders a 16-foot board to allow for cutting. Without the calculator, he would have needed to measure and mark the angle manually, a process prone to error.

Roof Pitch Calculation

Sandra, an architect in Denver, designs a roof that rises 4 feet for every 12 feet of horizontal run (a 4:12 pitch). She enters a = 4 and b = 12. The calculator returns a hypotenuse of 12.65 feet (the rafter length per 12-foot run) and Angle A of 18.43 degrees. She uses this angle to specify roofing material quantities and to ensure the roof meets local building code requirements for minimum pitch on asphalt shingles, which is typically 2:12.

Navigation and Surveying

Raj, a 35-year-old land surveyor in Texas, needs to measure the distance across a river that he cannot cross directly. He stands at point A on one bank, walks 50 meters along the shore to point B, and measures the angle from B to a tree at point C on the opposite bank as 72 degrees. Using side-angle mode with b = 50 and Angle B = 72 degrees, the calculator finds the distance across the river (side a) as approximately 153.9 meters. This triangulation method has been used in surveying for centuries and remains a practical technique when direct measurement is impossible.

Why This Calculation Matters

The right triangle is the most important shape in trigonometry. All trigonometric functions (sine, cosine, tangent) are defined in terms of right triangles. These relationships are used in physics for force component analysis, in engineering for structural calculations, in navigation for bearing calculations, and in architecture for ensuring square corners and correct angles in structures. The Pythagorean theorem alone is used in construction, GPS systems, computer graphics, and countless other applications. Understanding right triangles is foundational to STEM education and practical trades alike.

Common Mistakes to Avoid

  • Misidentifying the hypotenuse: The hypotenuse is always the longest side and is always opposite the 90-degree angle. The legs are the two shorter sides that form the right angle. If you enter the hypotenuse as a leg, the calculation will be wrong
  • Hypotenuse shorter than a leg: The hypotenuse must be longer than either leg. If you enter a hypotenuse smaller than one of the legs, no valid right triangle exists. The calculator will flag this error
  • Angle must be less than 90: In angle-side mode, the angle entered must be between 0 and 90 degrees exclusive. The 90-degree angle is already accounted for. The other acute angle is automatically calculated as 90 minus the entered angle
  • Unit consistency: All side lengths must use the same unit. Do not mix centimeters and meters in the same calculation. The calculator works with any unit as long as all three sides use the same one

Limitations of This Calculator

This calculator solves right triangles only. It does not handle oblique (non-right) triangles, which require the Law of Sines or Law of Cosines. The calculator works in two dimensions and does not model three-dimensional triangular shapes such as tetrahedrons or pyramids. It does not account for spherical trigonometry, which is needed for long-distance navigation on the Earth's surface. The angle input accepts degrees, not radians, so conversion is needed if your source data uses radians. For complex engineering applications, additional factors such as material properties, load calculations, and safety factors must be considered beyond the geometric calculations provided here.

Authoritative Research & Resources

  • CalcWorkshop: SOHCAHTOA Explained - Step-by-step examples of using sine, cosine, and tangent ratios to solve right triangles, with 19 worked examples covering different input combinations
  • All About Circuits: Right Triangle Trigonometry - Reference for trigonometric ratios and their applications in electrical engineering, including phasor diagrams and impedance calculations
  • MyTrigCalculator: Right Triangle Calculator - Free online tool for solving right triangles with step-by-step solutions and visual diagrams, useful for verifying results

Frequently Asked Questions

How do I identify the hypotenuse?
The hypotenuse is the side directly opposite the 90-degree (right) angle. It is always the longest side of a right triangle. The other two sides are called legs. When you look at a right triangle, the right angle is usually marked with a small square symbol, and the hypotenuse is the diagonal side that does not touch that corner.
What are Pythagorean triples?
Pythagorean triples are sets of three positive integers that satisfy a squared plus b squared equals c squared. The most well-known is 3-4-5 (9 + 16 = 25). Other common triples include 5-12-13, 8-15-17, and 7-24-25. Multiples of these also work: 6-8-10, 9-12-15, and so on. These are useful in construction because they guarantee a perfect right angle without needing a protractor. Builders use 3-4-5 triangles to check that corners are square before pouring foundations or framing walls.
What is SOH-CAH-TOA?
SOH-CAH-TOA is a memory aid for trigonometric ratios in right triangles. SOH: Sine equals Opposite over Hypotenuse. CAH: Cosine equals Adjacent over Hypotenuse. TOA: Tangent equals Opposite over Adjacent. These ratios relate each acute angle to the sides of the right triangle and are used to find unknown sides or angles. For example, if you know the opposite side is 5 and the hypotenuse is 10, sin(A) = 5/10 = 0.5, so Angle A = 30 degrees.
What is a 45-45-90 triangle?
A 45-45-90 triangle is an isosceles right triangle where both legs are equal and both acute angles are 45 degrees. The hypotenuse is always the square root of 2 (approximately 1.414) times the leg length. For example, legs of length 1 give a hypotenuse of approximately 1.414. This triangle appears frequently in geometry, architecture, and design. It is the basis for diagonal measurements in square floor plans.
What is a 30-60-90 triangle?
A 30-60-90 triangle has angles of 30, 60, and 90 degrees. The side opposite the 30-degree angle is the shortest leg. The side opposite the 60-degree angle is the square root of 3 times the shortest leg. The hypotenuse is 2 times the shortest leg. For example, if the short leg = 5, then the long leg = 5 times the square root of 3 (approximately 8.66) and the hypotenuse = 10. These ratios make it easy to solve 30-60-90 triangles without a calculator.
Who discovered the Pythagorean theorem?
The Pythagorean theorem is attributed to the Greek mathematician Pythagoras, who lived around 500 BCE. However, the relationship was known to the Babylonians and Egyptians over 1,000 years earlier. The theorem states that in a right triangle, the square of the hypotenuse equals the sum of the squares of the two legs. It is one of the oldest and most widely used mathematical discoveries, with applications in construction, navigation, physics, and computer graphics.

Related Calculators

Pythagorean Theorem Calculator

Calculate triangle sides using the Pythagorean theorem

Triangle Calculator

Solve all sides and angles of any triangle

Slope Calculator

Calculate slope and line equation between two points

Square Footage Calculator

Calculate area for rectangular and irregular shapes

Circle Calculator

Calculate circle area, circumference, and diameter

Embed This Calculator

Right Triangle Calculator

Calculate
Reset
Calculators PlanetCalculators Planet

Fast, accurate, and user-friendly online calculators for all your needs.

Financial

  • Mortgage Calculator
  • Amortization Calculator
  • Mortgage Payoff Calculator
  • House Affordability Calculator
  • Rent Calculator

Math

  • Decimal to Fraction Calculator
  • Significant Figures Calculator
  • Percentage Calculator
  • Fraction Calculator
  • Ratio Calculator

Health

  • BMI Calculator
  • Ideal Weight Calculator
  • Body Fat Calculator
  • Calorie Calculator
  • Macro Calculator

Other

  • Age Calculator
  • Date Calculator
  • Time Calculator
  • Hours Calculator
  • Time Card Calculator

2026 Calculators Planet. All rights reserved.

BlogAboutContactPrivacy PolicyCookie PolicyTerms of ServiceDisclaimer