What This Calculator Does
The Hypotenuse Perimeter Calculator works out the missing long side (the hypotenuse) of a right-angled triangle and then adds up all three sides to give you the full perimeter. You only need to enter the two shorter sides that meet at the right angle — Side A and Side B. From those two values the tool instantly calculates the hypotenuse, the perimeter, and a few helpful extras: the triangle's area and both non-right angles.
How to Use It
- Side A: Enter the length of the first leg (any unit — cm, m, inches — just stay consistent).
- Side B: Enter the length of the second leg, the one perpendicular to Side A.
Press calculate and the tool returns the hypotenuse, the total perimeter, the area, and the two acute angles in degrees.
The Formula Explained
The hypotenuse comes from the Pythagorean theorem, and the perimeter simply sums all three sides:
Perimeter = a + b + √(a² + b²)
Here √(a² + b²) is the hypotenuse. The calculator also computes:
- Area: (a × b) ÷ 2
- Angle A: atan2(a, b) converted to degrees
- Angle B: atan2(b, a) converted to degrees
Because it relies on the right-angle assumption, both inputs must be the legs — not the hypotenuse itself.
Worked Example
Suppose Side A = 3 and Side B = 4.
- Hypotenuse = √(3² + 4²) = √(9 + 16) = √25 = 5
- Perimeter = 3 + 4 + 5 = 12
- Area = (3 × 4) ÷ 2 = 6
- Angle A = atan2(3, 4) ≈ 36.87°
- Angle B = atan2(4, 3) ≈ 53.13°
So this classic 3-4-5 triangle has a perimeter of 12 and an area of 6.
Common Pythagorean Triples and Their Perimeters
A Pythagorean triple is a set of three positive integers \(a, b, c\) with \(a^2 + b^2 = c^2\). For a right triangle with legs \(a\) and \(b\), the perimeter is \(P = a + b + c\) and the area is \(\frac{a \times b}{2}\). The table lists the best-known primitive triples and a few scaled multiples.
| Leg a | Leg b | Hypotenuse c | Perimeter a+b+c | Area (a×b)/2 |
|---|---|---|---|---|
| 3 | 4 | 5 | 12 | 6 |
| 5 | 12 | 13 | 30 | 30 |
| 8 | 15 | 17 | 40 | 60 |
| 7 | 24 | 25 | 56 | 84 |
| 20 | 21 | 29 | 70 | 210 |
| 9 | 40 | 41 | 90 | 180 |
Scaled multiples
| Base triple | Multiplier | Scaled triple | Perimeter | Area |
|---|---|---|---|---|
| 3-4-5 | ×2 | 6-8-10 | 24 | 24 |
| 3-4-5 | ×3 | 9-12-15 | 36 | 54 |
| 5-12-13 | ×2 | 10-24-26 | 60 | 120 |
Check for 6-8-10: \(c = \sqrt{6^2 + 8^2} = \sqrt{100} = 10\), so \(P = 6 + 8 + 10 = 24\). Multiplying every side by \(k\) multiplies the perimeter by \(k\) and the area by \(k^2\).
Comparing Different Right Triangles
The table shows how the shape of a right triangle changes the hypotenuse, perimeter, area and acute angles. Angle A is opposite side a and angle B is opposite side b, with \(A = \arctan(a/b)\) and \(B = 90^\circ - A\). Values are rounded.
| Legs (a, b) | Hypotenuse c | Perimeter | Area | Angle A | Angle B |
|---|---|---|---|---|---|
| 1, 1 | ≈ 1.414 | ≈ 3.414 | 0.5 | 45° | 45° |
| 3, 4 | 5 | 12 | 6 | ≈ 36.87° | ≈ 53.13° |
| 5, 12 | 13 | 30 | 30 | ≈ 22.62° | ≈ 67.38° |
| 1, 10 (long and thin) | ≈ 10.050 | ≈ 21.050 | 5 | ≈ 5.71° | ≈ 84.29° |
| 10, 10 | ≈ 14.142 | ≈ 34.142 | 50 | 45° | 45° |
Worked check: the 1, 10 triangle
$$c = \sqrt{1^2 + 10^2} = \sqrt{101} \approx 10.0499$$
$$P = 1 + 10 + 10.0499 \approx 21.0499$$
Almost all of the perimeter comes from the long leg and the hypotenuse, which are nearly equal, while the area is small (5).
Scaling effect
The 10, 10 triangle is the 1, 1 triangle scaled by 10: the perimeter goes from ≈ 3.414 to ≈ 34.14 (×10) and the area from 0.5 to 50 (×100). In the same way, doubling both legs doubles the perimeter but quadruples the area. For example, 3-4-5 (perimeter 12, area 6) becomes 6-8-10 (perimeter 24, area 24). Angles do not change under scaling.
Frequently Asked Questions
Do I enter the hypotenuse? No. You enter only the two legs (Side A and Side B). The calculator finds the hypotenuse for you.
What units should I use? Any unit works, but use the same one for both sides. The perimeter and hypotenuse come out in that same unit; the area in square units.
Why does it show angles too? The two acute angles always add to 90°. They're handy for checking the triangle's shape or for trigonometry homework — Angle A is opposite Side A, and Angle B is opposite Side B.