📐 Right Angle Triangle Calculator

Find the hypotenuse or a missing leg, plus area, perimeter, and both acute angles of a right triangle.

📐 Two Legs
Result
📐

Enter your two known values and click Calculate to see the result.

Guide

About the Right Angle Triangle Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This free right angle triangle calculator solves a right triangle completely from just two known measurements — either its two legs, or one leg plus the hypotenuse — instantly giving you the missing side, the area, the perimeter, and both acute angles. A right triangle is defined by having one angle fixed at exactly 90°, which is what makes the Pythagorean theorem (a²+b²=c²) apply, and why knowing any two of its three sides is always enough to find everything else. Whether you're checking a homework problem, squaring a construction corner, or solving a real-world right-triangle problem, this right angle triangle calculator shows the full working behind every result.

What This Calculator Measures

Every right triangle is fully determined by its two legs (the sides forming the right angle) — from them, the hypotenuse follows via the Pythagorean theorem, and so does the area, perimeter, and both acute angles. This calculator also accepts one leg plus the hypotenuse as an alternative starting point, working backward to find the missing leg first.

Who Should Use This Calculator

Students and teachers checking Pythagorean theorem and right-triangle homework, carpenters and builders squaring corners using the 3-4-5 method, DIYers calculating rafter or ramp lengths, and anyone who has two right-triangle measurements and needs the rest can use this tool.

Why Right Triangles Matter

The right triangle is the single most useful triangle type in applied mathematics, because any two-dimensional distance problem can be broken into perpendicular horizontal and vertical components, forming a right triangle. This is why the Pythagorean theorem — and by extension, this calculator — underlies distance formulas, navigation, physics, and structural engineering.

Real-World Applications

Carpenters and builders use the 3-4-5 rule (a right triangle with legs 3 and 4 and hypotenuse 5) to verify a corner is truly square. Roofers compute rafter length from the rise and run of a roof. Navigators and surveyors use right-triangle relationships to compute distances and bearings. Physics students resolve motion or force vectors into perpendicular components using the same math.

Tips for Accurate Results

  • Make sure your "legs" are the two sides that actually form the 90° angle, not the hypotenuse.
  • In Leg & Hypotenuse mode, the hypotenuse must always be longer than the given leg — it's the longest side by definition.
  • For a general triangle that isn't a right triangle, use the Triangular Calculator or Triangle Solver instead.
  • Sanity-check your result: the two acute angles should always sum to exactly 90°.
Formula

The Right Triangle Formulas, Explained

How the Pythagorean theorem unlocks every other measurement

Hypotenuse from Two Legs (Pythagorean Theorem)
c = √(a² + b²)

Missing Leg from a Leg and the Hypotenuse
leg = √(c² − a²)

Area
Area = ½ × a × b

Perimeter
P = a + b + c

Acute Angles
Angle opposite a = arctan(a ÷ b); Angle opposite b = 90° − that angle

Where:
a, b = the two legs, which meet at the right angle.
c = the hypotenuse, the longest side, opposite the right angle.
📐

Only One Right Angle

A right triangle has exactly one 90° angle, leaving the other two acute angles to share the remaining 90° between them.

📏

Hypotenuse Is Always Longest

The hypotenuse sits opposite the largest (90°) angle, so it's always longer than either leg individually.

🔺

Legs Double as Base and Height

Since the two legs are already perpendicular, they can be used directly in the ½×base×height area formula with no extra height calculation needed.

⚙️ Why This Formula Works

The Pythagorean theorem follows from comparing the areas of squares built on each side of a right triangle — the areas of the squares on the two legs always sum to the area of the square on the hypotenuse, a relationship provable through several classical geometric proofs dating back over two thousand years.

🎯 When to Use Each Mode

  • Two Legs: you measured both sides forming the right angle
  • Leg & Hypotenuse: you know one leg and the longest side

📋 Assumptions

  • The triangle genuinely contains a 90° angle
  • All inputs are positive real numbers
  • In Leg & Hypotenuse mode, the hypotenuse is greater than the given leg

⚠️ Limitations

  • Only applies to triangles with a genuine right angle — use the Triangle Solver for other triangle types
  • Rejects a hypotenuse shorter than or equal to the given leg
  • Does not handle 3D right-angle problems (space diagonals) — only 2D right triangles
Walkthrough

Step-by-Step: How to Use the Right Angle Triangle Calculator

From choosing a mode to verifying the result

Choose your known values

Pick "Two Legs" if you know both legs, or "Leg & Hypotenuse" if you know one leg and the hypotenuse.

Enter your values

Type in the two known measurements for your chosen mode.

Click "Calculate"

The calculator applies the Pythagorean theorem to find the missing side, then derives area, perimeter, and angles.

Read every result

Review both legs, the hypotenuse, the area, the perimeter, and both acute angles.

Verify the answer (optional)

Confirm the two acute angles sum to 90°, and that a²+b²=c² holds for your three sides.

Example

Worked Example

The classic 3-4-5 right triangle

Scenario

A builder wants to confirm a corner is square using legs of 3 meters and 4 meters. What should the diagonal (hypotenuse) measure, and what are the area, perimeter, and angles?

Leg a3 m
Leg b4 m
ModeTwo Legs
Step 1 — Apply the Pythagorean theorem: c = √(3² + 4²) = √(9+16) = √25 = 5 m.
Step 2 — Compute area: Area = ½ × 3 × 4 = 6 m².
Step 3 — Compute perimeter: P = 3+4+5 = 12 m.
Step 4 — Compute the angles: arctan(3/4) ≈ 36.87°, and 90−36.87 ≈ 53.13°.
Hypotenuse
5 m
Area
6 m²
Angles
36.87° / 53.13°

Explanation: If the measured diagonal is exactly 5 meters, the corner is confirmed square — this is exactly the "3-4-5 rule" builders have used for centuries to verify a right angle without any angle-measuring tools at all, just a tape measure.

Interpretation

Understanding Your Right Triangle Result

What each output field represents

FieldWhat It Means
Leg a, Leg bThe two sides that meet at the right angle
HypotenuseThe longest side, opposite the right angle
Area½ × leg a × leg b, in squared units
PerimeterThe sum of all three sides
AnglesThe two acute angles, always summing to exactly 90°

Manual verification: square each leg, add them, and confirm the result equals the hypotenuse squared (a²+b²=c²) — the direct Pythagorean check. Also confirm the two displayed angles sum to 90°.

Use Cases

Practical Use Cases for the Right Angle Triangle Calculator

Where right-triangle math shows up constantly

🎓

Geometry homework

Check Pythagorean theorem and right-triangle problems step by step.

🏗️

Construction & carpentry

Verify a corner is square using the 3-4-5 method.

🪜

Ladder safety angles

Calculate a safe ladder angle from its height and base distance.

🏠

Roofing

Find rafter length from a roof's rise and run.

🧭

Navigation

Compute straight-line distance from perpendicular displacement components.

📺

TV & screen sizing

Relate diagonal screen size to width and height.

🎢

Ramp & incline design

Calculate ramp length from height and horizontal run.

🛰️

Surveying

Compute distances using perpendicular offset measurements.

⚛️

Physics

Resolve motion or force vectors into perpendicular components.

🎨

CAD & drafting

Verify right-triangle component dimensions match design specs.

🏊

Sports field marking

Lay out right-angle corners for courts and fields accurately.

🎯

Standardized test prep

Practice right-triangle problems common in SAT/ACT/GRE quantitative sections.

Pros & Cons

Advantages and Limitations

What this right angle triangle calculator does well, and where it doesn't apply

✅ Advantages

  • Free, instant, and requires no signup or account
  • Runs entirely in your browser — no data ever leaves your device
  • Two input modes: two legs, or a leg and the hypotenuse
  • Computes hypotenuse/leg, area, perimeter, and both angles together
  • Uses the exact Pythagorean theorem, not an approximation
  • Validates that the hypotenuse is longer than the given leg
  • Shows the full formula substitution behind every answer
  • Accepts decimal inputs for real-world measurements
  • Fast-loading and fully mobile-friendly
  • Consistent, error-free results every time
  • Useful across school, construction, and everyday contexts
  • Free to use as many times as needed, with no calculation limit

⚠️ Limitations

  • Only works for triangles with a genuine 90° angle
  • Rejects a hypotenuse that's shorter than or equal to the given leg
  • Cannot verify from your input alone whether the angle is truly 90° — it assumes you know that already
  • Does not handle oblique (non-right) triangles — use the Triangle Solver instead
  • Displays decimals rounded to a fixed number of places
  • Does not draw or export a scaled diagram
Reference

Common Pythagorean Triples

Whole-number right triangles worth memorizing

Leg aLeg bHypotenuse c
345
51213
81517
72425

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Entering the hypotenuse into a leg field (or vice versa)
  • Forgetting the hypotenuse must always be the longest side
  • Using this tool for a triangle that isn't actually a right triangle
  • Mixing up which acute angle is opposite which leg
  • Assuming area equals ½×any two sides — it only works with the two legs specifically

💡 Expert Tips & Best Practices

  • Use the 3-4-5 rule (or any multiple of it, like 6-8-10) as a quick real-world square-corner check
  • Always sanity-check that the two acute angles sum to exactly 90°
  • Pair this tool with the Pythagorean Theorem Calculator for a simpler side-only lookup
  • For a general (non-right) triangle, use the Triangular Calculator or Triangle Solver
  • Memorize a few common Pythagorean triples to spot-check your results quickly
📝

Summary: This right angle triangle calculator gives you an instant, free way to find a right triangle's hypotenuse or missing leg, area, perimeter, and both acute angles — using the Pythagorean theorem, with the working shown. Pair it with the Pythagorean Theorem Calculator and Triangle Solver for related needs.

FAQ

Frequently Asked Questions

Common questions about right triangles

How do you find the hypotenuse of a right triangle?
Use the Pythagorean theorem: c = √(a² + b²), where a and b are the two legs. Example: legs 3 and 4 give c = √(9+16) = √25 = 5 — the classic 3-4-5 right triangle.
How do you find a missing leg if you know the hypotenuse?
Rearrange the Pythagorean theorem: leg = √(c² − a²), where c is the hypotenuse and a is the known leg. Example: hypotenuse 5, known leg 3, gives the other leg = √(25−9) = √16 = 4.
How do you find the area of a right triangle?
Area = ½ × leg₁ × leg₂, since the two legs are already perpendicular to each other and can be used directly as base and height. Example: legs 3 and 4 give Area = ½×3×4 = 6.
How do you find the angles of a right triangle from its legs?
One acute angle is arctan(opposite leg ÷ adjacent leg), and the other acute angle is 90° minus the first, since all three angles must sum to 180° and one is already 90°. Example: legs 3 and 4 give angles of arctan(3/4)≈36.87° and 90−36.87≈53.13°.
Why do the two acute angles of a right triangle always add up to 90°?
Every triangle's three angles sum to 180°. A right triangle has one angle fixed at exactly 90°, which leaves exactly 90° to be split between the other two angles — so they must always sum to 90°, making them complementary.
What is the 3-4-5 triangle?
The 3-4-5 triangle is the simplest whole-number right triangle: legs of 3 and 4 units produce a hypotenuse of exactly 5 units, since 3²+4²=9+16=25=5². It's commonly used by builders and carpenters to check that a corner is truly square.
What are Pythagorean triples?
Pythagorean triples are sets of three positive whole numbers (a, b, c) that satisfy a²+b²=c² exactly, like (3,4,5), (5,12,13), and (8,15,17). Any multiple of a known triple, like (6,8,10), is also a valid triple.
Can the hypotenuse be shorter than a leg?
No — the hypotenuse is always the longest side of a right triangle, since it's opposite the largest angle (the 90° angle). If you enter a "hypotenuse" value shorter than a leg, this calculator will alert you, since that combination is geometrically impossible.
How is this different from the general Pythagorean Theorem Calculator?
The Pythagorean Theorem Calculator focuses narrowly on finding a missing side. This Right Angle Triangle Calculator builds on the same theorem but also computes the area, perimeter, and both acute angles in one result, giving a fuller picture of the triangle.
What is the perimeter of a right triangle?
The perimeter is the sum of all three sides: both legs plus the hypotenuse, P = a + b + c. Example: legs 3 and 4 with hypotenuse 5 give a perimeter of 3+4+5 = 12.
Can a right triangle be isosceles?
Yes — a right isosceles triangle has two equal legs and two 45° acute angles (since they must sum to 90° and are equal). Its hypotenuse equals leg×√2.
What happens if I enter a negative or zero value?
A triangle side cannot be zero or negative, so the calculator requires positive numbers for both inputs and will alert you if an invalid value is entered.
Where are right triangles used in real life?
Right triangles appear in construction (squaring corners, roof pitches, staircases), navigation (distance and bearing calculations), surveying, ladder-safety angle calculations, and any scenario broken into a horizontal and vertical component, like projectile motion in physics.
Learn More

Authoritative Resources on Right Triangles

Trusted educational references to go deeper on the Pythagorean theorem

Related Calculators

Explore other geometry tools