Instantly compute hypotenuse, angles, area, perimeter, inradius, circumradius, altitude, and trigonometric ratios. Choose input method — two legs or hypotenuse+leg — and visualize the triangle dynamically.
A right triangle is a triangle containing a 90° interior angle. The side opposite the right angle is the hypotenuse (the longest side), and the other two sides are called legs. Right triangles are the foundation of trigonometry, Euclidean geometry, and countless engineering applications.
⚡ Core Principles
Pythagorean theorem: a² + b² = c² | Area = ½·a·b | Circumradius R = c/2 | Inradius r = (a+b−c)/2
Our calculator uses precise mathematical routines:
Rafter lengths, roof pitch calculations, stair stringers, and site surveying rely on right triangle relationships. Architects use the 3-4-5 rule to square foundations.
Distance between coordinates (great-circle approximation uses right triangles on local scale). Triangulation for position fixing.
Resolution of forces into perpendicular components, projectile motion, incline planes — right triangle trigonometry is essential.
Ray casting, 2D/3D collision detection, and transformation matrices heavily exploit right triangle math and Pythagorean distances.
| Industry | Specific Scenario | Right Triangle Calculation |
|---|---|---|
| Construction | Stair stringer length | Hypotenuse = √(rise² + run²) |
| Aviation | Glide slope angle | tan(θ) = altitude / ground distance |
| Robotics | Arm joint positioning | Inverse kinematics using law of cosines for right angles |
| Surveying | Height of a building | Height = distance × tan(elevation angle) |
| Graphic Design | Diagonal screen size | Diagonal = √(width² + height²) |
| Leg a | Leg b | Hypotenuse c | Area | Inradius r | Angle A (°) | Angle B (°) |
|---|---|---|---|---|---|---|
| 3 | 4 | 5 | 6 | 1.0 | 36.87° | 53.13° |
| 5 | 12 | 13 | 30 | 2.0 | 22.62° | 67.38° |
| 8 | 15 | 17 | 60 | 3.0 | 28.07° | 61.93° |
| 1 | 1 | √2 ≈1.414 | 0.5 | 0.2929 | 45° | 45° |
Euclid's Elements (c. 300 BCE) formalized the Pythagorean theorem, but Babylonian clay tablets (c. 1800 BCE) already recorded integer triples. Right triangles are not just mathematical abstractions — they appear in ancient Egyptian rope‑stretchers, Renaissance art perspective, and modern satellite triangulation. Our solver extends beyond mere computation: it helps learners visualize why a²+b²=c² holds, by showing the actual geometric relationship on the canvas.