Perimeter of a Right Triangle Calculator

Calculate the perimeter of a right triangle from any two sides. Find all three sides, area, angles, inradius, circumradius, and altitude. Includes Pythagorean triples table.

units
units
Type 'yes' or 'no'
Perimeter
12.0000 units
a + b + c = 3.0000 + 4.0000 + 5.0000
Leg a
3.0000 units
Shorter leg
Leg b
4.0000 units
Longer leg
Hypotenuse c
5.0000 units
c = √(a² + b²)
Area
6.0000 units²
½ × a × b
Angle A
36.87°
Angle opposite leg a
Angle B
53.13°
Angle opposite leg b
Inradius
1.0000 units
r = (a + b − c) / 2
Circumradius
2.5000 units
R = c / 2 (half the hypotenuse)
Altitude to Hypotenuse
2.4000 units
h = (a × b) / c

Side Lengths Comparison

Leg a
3.00
Leg b
4.00
Hypotenuse
5.00

Angle Breakdown

A: 36.9°
B: 53.1°
C: 90°

✅ This is a Pythagorean triple — all sides are integers!

Common Pythagorean Triples

abcPerimeterArea
345126
512133030
724255684
815174060
9404190180
116061132330
12353784210
138485182546
20212970210
284553126630
Planning notes, formulas, and examples

About the Perimeter of a Right Triangle Calculator

A right triangle is a triangle with one 90-degree angle. Its three sides are the two legs (the sides forming the right angle) and the hypotenuse (the longest side, opposite the right angle). The Pythagorean theorem — a² + b² = c² — links all three, so knowing any two sides immediately gives the third.

The perimeter is simply the sum of all three sides: P = a + b + c. While the formula is straightforward, computing c = √(a² + b²) by hand is tedious, and situations like knowing one leg and the hypotenuse (requiring c² − a² under the radical) add extra steps. This calculator handles both cases and does far more than just perimeter.

Enter any two sides — either both legs or one leg and the hypotenuse — and the page computes the perimeter, all three side lengths, the area (½ab), both acute angles via inverse tangent, the inradius r = (a + b − c)/2, the circumradius R = c/2, and the altitude to the hypotenuse h = ab/c. Visual bars compare side lengths and angles at a glance.

Eight presets load classic Pythagorean triples (3-4-5, 5-12-13, 8-15-17, …) so you can explore integer-sided right triangles quickly. A reference table lists ten common triples with their perimeters and areas. Whether you are solving geometry homework, designing a ramp, or checking construction measurements, the page gives you the main properties of a right triangle from the same side inputs.

When This Page Helps

Perimeter of a Right Triangle problems often require several dependent steps, and a small arithmetic slip can propagate through every derived value. This calculator is tailored to that workflow: you enter unit label, show pythagorean triples, known sides, and it returns perimeter, leg a, leg b, hypotenuse c in one consistent pass. It is useful for homework checks, worksheet generation, tutoring walkthroughs, and fast field/design estimates where you need reliable geometry results without rebuilding the full derivation each time.

How to Use the Inputs

  1. Select the known-sides mode: two legs, or one leg + hypotenuse.
  2. Enter the first side value.
  3. Enter the second side value.
  4. Optionally set a unit label (cm, m, ft, etc.).
  5. Read results: perimeter, all three sides, area, angles, inradius, and more.
  6. Use preset buttons to load famous Pythagorean triples.
  7. Refer to the triples table for common integer right triangle dimensions.
Formula used
Perimeter = a + b + c, where c = √(a² + b²) (both legs known) or b = √(c² − a²) (leg + hypotenuse known). Area = ½ab. Inradius r = (a + b − c)/2. Circumradius R = c/2.

Example Calculation

Result: Perimeter = 12

Hypotenuse c = √(9 + 16) = √25 = 5. Perimeter = 3 + 4 + 5 = 12. Area = ½ × 3 × 4 = 6. Angles ≈ 36.87° and 53.13°.

Tips & Best Practices

  • Always check that the hypotenuse is the longest side — if it is not longer than the given leg, the inputs are invalid.
  • The 3-4-5 triple scales: 6-8-10, 9-12-15, etc. All multiples are also right triangles.
  • The inradius formula r = (a + b − c)/2 is a quick shortcut unique to right triangles.
  • For a 45-45-90 triangle, the hypotenuse is leg × √2; for 30-60-90, sides are in ratio 1: √3: 2.
  • Pythagorean triples where a and b differ by 1 (e.g., 3-4-5, 20-21-29) are especially useful in construction.

How Perimeter of a Right Triangle Calculations Work

This perimeter of a right triangle tool links the entered values (unit label, show pythagorean triples, known sides) to the target geometry relationships used in class and practice problems. Instead of solving each intermediate step manually, you can validate setup and arithmetic quickly while still tracing which measurements drive the final result.

Formula focus: the calculator formula

Practical Uses for Perimeter of a Right Triangle

Perimeter of a Right Triangle shows up in school geometry, technical drafting, construction layout checks, and early engineering design estimates. When values are changed repeatedly, the calculator helps you compare scenarios quickly and see how sensitive the shape is to each dimension.

Interpreting the Results Correctly

Start with the primary outputs (perimeter, leg a, leg b, hypotenuse c) and then use the remaining cards/tables to confirm consistency with your diagram. Keep units consistent across inputs, and round only at the end if your assignment or project specifies a fixed precision.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A set of three positive integers (a, b, c) satisfying a² + b² = c², meaning they form a right triangle with integer sides.