📐

Right Triangle Calculator

Math Free Instant Private
Math

### Foundations of Right-Angled Triangle Geometry & Trigonometry A **Right Triangle** is a three-sided geometric polygon containing exactly one 90-degree right angle. The two.

Reviewed by Miss Saima · MA Mathematics
Last updated:
Editorial Guidelines

⚙ Input Values

📊 Results

Hypotenuse (Side c)
10
Leg (Side a)
6
Leg (Side b)
8
Angle α (Opposite a)
36.87
°
Angle β (Opposite b)
53.13
°
Area
24
sq units
Perimeter
24
Altitude to Hypotenuse (hc)
4.8
✦ Trigonometric & Geometric Properties
Right triangle with sides a = 6.000 cm, b = 8.000 cm, hypotenuse c = 10.000 cm. Acute angles are α = 36.87° and β = 53.13° (sum = 90°). Area is 24.000 cm², Perimeter is 24.000 cm, and altitude hc is 4.800 cm.
Embed on Your Website

Copy and paste this code into your website.

<iframe src="https://calcusolve.com/calculator/right-triangle-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Right Triangle Calculator"></iframe>

📐 Formula

Formula Reference: Right Triangle Calculator
Input variables:
solveModeSelect — Given Known Dimensions
firstDimensionValue — First Value (Leg a or Hypotenuse c)
secondDimensionValue — Second Value (Leg b, Hypotenuse c, or Angle α °)
unitSelect — Measurement Unit
Computed outputs:
hypotenuseSideC — Hypotenuse (Side c)
sideAOutput — Leg (Side a)
sideBOutput — Leg (Side b)
angleAlphaDegrees — Angle α (Opposite a)
angleBetaDegrees — Angle β (Opposite b)
Mathematical relationships extracted from calculation logic:
radToDeg = (rad) => rad * (180 / Math.PI)
degToRad = (deg) => deg * (Math.PI / 180)
c = Math.sqrt((a * a) + (b * b))
b = Math.sqrt(Math.max(0, (c * c) - (a * a)))
area = (a * b) / 2
perimeter = a + b + c
altitude = safeDiv(a * b, c)
Standard: NIST / ISO mathematical definitions

💡 Practical Example

✅

A roof rafter rising 6 feet vertically across an 8-foot horizontal run requires a 10-foot rafter beam with a pitch angle of 36.87°.

📖 About Right Triangle Calculator

Foundations of Right-Angled Triangle Geometry & Trigonometry

A Right Triangle is a three-sided geometric polygon containing exactly one 90-degree right angle. The two sides forming the perpendicular right angle are called legs (a and b), while the longest side directly opposite the right angle is the hypotenuse (c).

Fundamental Geometric & Trigonometric Equations

  • Pythagorean Theorem: a^2 + b^2 = c^2 c = √(a^2 + b^2), a = √(c^2 - b^2)
  • Basic Trigonometric Definitions (SOH-CAH-TOA):

α = (a) / (c), α = (b) / (c), α = (a) / (b)

  • Complementary Acute Angles: α + β = 90^ β = 90^ - α
  • Enclosed Triangle Area: Area = (a × b) / (2)
  • Boundary Perimeter: P = a + b + c
  • Altitude to Hypotenuse: h_c = (a × b) / (c)
  • Incircle Radius (r) & Circumcircle Radius (R): r = (a + b - c) / (2), R = (c) / (2)

Famous Pythagorean Triples

  • 3 : 4 : 5 Ratio: The classic integer triple and its multiples (6-8-10, 9-12-15, etc.).
  • 5 : 12 : 13 Ratio:.
  • 8 : 15 : 17 Ratio:.

How to Use This Calculator

Enter your Given Known Dimensions — choose from Two Legs (Side a & Side b), Leg (Side a) & Hypotenuse (Side c), Leg (Side a) & Acute Angle α, First Value (Leg a or Hypotenuse c) (e.g. 6), Second Value (Leg b, Hypotenuse c, or Angle α °) (e.g. 8), and Measurement Unit — choose from Centimeters (cm), Meters (m), Inches (in). Results update instantly as you type — adjust any value to compare scenarios.

The Formula

Formula Reference: Right Triangle Calculator

Input variables:

solveModeSelect — Given Known Dimensions

firstDimensionValue — First Value (Leg a or Hypotenuse c)

secondDimensionValue — Second Value (Leg b, Hypotenuse c, or Angle α °)

unitSelect — Measurement Unit

Computed outputs:

hypotenuseSideC — Hypotenuse (Side c)

sideAOutput — Leg (Side a)

sideBOutput — Leg (Side b)

angleAlphaDegrees — Angle α (Opposite a)

angleBetaDegrees — Angle β (Opposite b)

Mathematical relationships extracted from calculation logic:

radToDeg = (rad) => rad * (180 / Math.PI)

degToRad = (deg) => deg * (Math.PI / 180)

c = Math.sqrt((a a) + (b b))

b = Math.sqrt(Math.max(0, (c c) - (a a)))

area = (a * b) / 2

perimeter = a + b + c

altitude = safeDiv(a * b, c)

Standard: NIST / ISO mathematical definitions

Worked Example

A roof rafter rising 6 feet vertically across an 8-foot horizontal run requires a 10-foot rafter beam with a pitch angle of 36.87°.

Understanding Your Result

Geometric calculations assume ideal shapes — real-world measurements should include a 5–15% tolerance for irregular shapes, cutting waste, and installation overlap. For construction applications: always verify calculated areas match your physical measurements before ordering materials. Standard practice is to measure the same dimension twice from different reference points and use the average. Express results in the units required by your supplier or building permit — conversions between cubic yards, cubic feet, and cubic meters must be precise for material orders.

💡 Mathematical Rigor & Applied Context

  • This calculator applies exact mathematical definitions following conventions established by NIST and international standards bodies.
  • Rounding errors accumulate across multi-step calculations. For precision-critical work, maintain extra significant figures through all intermediate steps.
  • Many mathematical concepts have multiple valid formulations — if a result seems unexpected, verify which convention or definition applies to your context.
  • Dimensional analysis (unit tracking) is the fastest way to catch formula errors. Every term in an equation must have consistent, compatible units.
  • Numerical methods used in digital calculators introduce floating-point precision limits (~15 significant digits for IEEE 754 double precision).
  • For statistical and probabilistic calculations, always specify whether you are working with population parameters or sample statistics — formulas differ.
  • Visualizing a problem geometrically or testing with known boundary values (zero, infinity, negative) reveals hidden errors faster than algebraic checking.
  • When in doubt, validate your result against a simplified hand calculation or a published worked example from a textbook or standards document.

Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.

❓ Frequently Asked Questions

What is the Pythagorean Theorem formula?

The Pythagorean Theorem states that in any right triangle, the square of the hypotenuse equals the sum of the squares of the two legs: a² + b² = c².

How do you find the hypotenuse of a right triangle?

To find the hypotenuse c, take the square root of the sum of the squares of the two legs: c = √.

How do you find the missing angles of a right triangle?

If sides a and b are known, angle α = arctan in degrees. Because the angles of a triangle sum to 180° and one angle is 90°, the other angle is β = 90° - α.

How do you calculate the area and perimeter of a right triangle?

The area is calculated as Area = / 2. The perimeter is the sum of all three sides: Perimeter = a + b + c.

What is the altitude to the hypotenuse?

The altitude to the hypotenuse is the perpendicular height drawn from the 90° right vertex to the hypotenuse side c. It is calculated as hc = / c.

Try Other Calculators