Right Triangle Calculator CalculatorScale.com
Math & STEMTrigonometric Solver

Right Triangle Calculator

Please provide 2 values below to calculate the other values of a right triangle. If radians are selected as the angle unit, it can take values such as pi/3, pi/4, etc.

Modify the values and click the Calculate button to use

A right triangle has one angle equal to 90° (γ = 90° or π/2 rad). To solve all properties, enter any 2 independent values (such as two sides, one side and one angle, or a combination of side/angle with area, perimeter, or altitude). The calculator will automatically identify the geometric theorem and calculate the remaining parameters.

Sides, Area & PerimeterColumn 1

Angles & AltitudeColumn 2

💡 Tip: You can enter values in any 2 inputs. Leave all other 6 fields blank.
Quick Triangle Presets:

Right Triangle Wireframe

C (90°)B (β)A (α)abch

Definition of a Right Triangle

A right triangle (also termed a right-angled triangle or orthogonal triangle) is a polygon with three sides and three interior angles where exactly one angle measures 90 degrees (a right angle, equal to π/2 radians).

In Euclidean plane geometry, the side situated directly opposite the right angle is called the hypotenuse (conventionally denoted as c), which is always the longest side of the triangle. The remaining two perpendicular sides that form the 90° angle are called the legs or catheti (denoted as a and b). The two non-right angles (α and β) are acute angles and are strictly complementary (α + β = 90°).

Core Trigonometric Ratios (SOH CAH TOA)

The fundamental trigonometric functions are defined as the ratios of the lengths of the sides of a right triangle relative to an acute angle α:

Sine Ratio (SOH)
sin(α) = Opposite / Hypotenuse
sin(α) = a / c
Cosine Ratio (CAH)
cos(α) = Adjacent / Hypotenuse
cos(α) = b / c
Tangent Ratio (TOA)
tan(α) = Opposite / Adjacent
tan(α) = a / b

Reciprocal Trigonometric Functions:

  • Cosecant: csc(α) = 1 / sin(α) = c / a
  • Secant: sec(α) = 1 / cos(α) = c / b
  • Cotangent: cot(α) = 1 / tan(α) = b / a

Right Triangle Formulas Reference

PropertyPrimary FormulaDescription & Notes
Pythagorean Theorema² + b² = c²Relates the squares of the two legs to the hypotenuse square.
Area (A)A = ½ · a · b = ½ · c · hEqual to half the product of the legs, or half the hypotenuse times altitude.
Perimeter (P)P = a + b + cSum of all three boundary lengths.
Altitude to Hypotenuse (h)h = (a · b) / cPerpendicular distance from the 90° vertex C to hypotenuse c.
Inradius (r)r = (a + b - c) / 2Radius of the inscribed circle tangent to all three sides.
Circumradius (R)R = c / 2Radius of circumscribed circle passing through vertices A, B, and C (Thales theorem).
Median to Hypotenuse (m_c)m_c = c / 2 = RLength from right-angle vertex C to midpoint of hypotenuse.

Special Right Triangles & Pythagorean Triples

45°-45°-90° Triangle

Ratio 1 : 1 : √2

An isosceles right triangle where both legs are equal in length (a = b). The hypotenuse is exactly c = a√2. The acute angles are both 45° (π/4 rad).

Sides: [ x, x, x√2 ] | Area: ½x²

30°-60°-90° Triangle

Ratio 1 : √3 : 2

Formed by bisecting an equilateral triangle. The shorter leg opposite 30° is x, the longer leg opposite 60° is x√3, and the hypotenuse is 2x.

Sides: [ x, x√3, 2x ] | Area: (√3/2)x²

Common Integer Pythagorean Triples

A Pythagorean triple consists of three positive integers (a, b, c) satisfying a² + b² = c². The most frequent primitive triples include:

(3, 4, 5)
(5, 12, 13)
(8, 15, 17)
(7, 24, 25)
(9, 40, 41)
(11, 60, 61)
(12, 35, 37)
(20, 21, 29)

Practical Applications of Right Triangles

🏗️ Construction & Carpentry (3-4-5 Rule)

Builders use the 3-4-5 rule to verify square 90-degree corners when laying building foundations, decks, walls, and framing.

🗺️ Land Surveying & Triangulation

Surveyors measure distances to inaccessible objects and determine elevation changes across terrain using theodolite angles and right-triangle trigonometry.

🧭 Navigation & Aviation

Pilots and navigators calculate ground speed, crosswind drift angles, bearing intercepts, and true heading using vector resolution into orthogonal components.

🎮 Computer Graphics & Game Physics

3D game engines, ray tracing shaders, and collision detection algorithms rely on right-triangle dot products, trigonometric projections, and Euclidean distances.

Frequently Asked Questions

How many values do I need to solve a right triangle?

Because one angle is already fixed at 90 degrees (γ = 90°), you only need 2 additional independent values (with at least one linear measurement such as a side, perimeter, altitude, or area) to compute all remaining sides, acute angles, and geometric properties.

Can I solve a right triangle if I only know the two acute angles?

No. Entering only angles determines the shape of the triangle (AAA similarity) but not its physical scale or size. At least one linear side, perimeter, altitude, or area is required to fix its exact dimensions.

How do I input angles in radians like pi/3 or pi/4?

Select "radian" from the unit dropdown next to angle α or β, and type mathematical expressions directly into the field, such as pi/3, pi/4, 2*pi/5, or decimal values like 0.5236.

What is the altitude to the hypotenuse formula?

By equating two expressions for the area of the triangle (Area = ½ · a · b = ½ · c · h), the altitude h is given by h = (a · b) / c.