Skip to main content
Right Angle Triangle Calculator Logo
Right Angle Triangle Calculator
Real-Time Interactive Geometry Engine

Right Angle Triangle Calculator

Enter any two known values (legs, hypotenuse, angles, or area) to instantly calculate all remaining sides, angles, perimeter, altitudes, and view the live proportional geometry model.

Quick Presets:

1Input Triangle Parameters

ℹ️ In a right-angled triangle, angle C = 90° is fixed. Provide any 2 other independent values (such as two sides, or one side and an acute angle).

optional
optional
optional
°
°
sq units
Interactive Features

• Changes reflect instantly across the visual SVG canvas and metric cards.
• Click any side or angle on the drawing to highlight its exact value & equation.
• Toggle circles (Incircle & Circumcircle) to view key geometric centers.

2

Dynamic SVG Geometry Model

||
hαβa = 3b = 4c = 5C (90°)AB
Interactive Proportional View

3Complete Calculated Metrics

✓ Solved
Leg (a)
3.0000units
Base (b)
4.0000units
Hypotenuse (c)
5.0000units
Angle α (at A)
53.1301°0.9273 rad
Angle β (at B)
36.8699°0.6435 rad
Area (S)
6.0000sq units

Secondary & Geometric Properties

Perimeter (P)12.0000
Altitude (h_c)2.4000
Inradius (r)1.0000
Circumradius (R)2.5000

Exact Trigonometric Ratios (for Angle α)

sin(α)0.8000
cos(α)0.6000
tan(α)1.3333
csc(α)1.2500
sec(α)1.6667
cot(α)0.7500
Step-by-Step Calculation BreakdownClick to expand/collapse

How Right Angle Triangle Calculator Works

The solver detects which two values you supplied, chooses the matching formulas, and derives every other measurement directly in your browser.

  1. Enter two known values

    Type any two independent measurements: two sides, one side and an acute angle, or the area together with one side or one angle.

  2. The solver picks a method

    Depending on your inputs it applies the Pythagorean theorem, inverse trigonometric functions (arcsin, arccos, arctan) or area identities to find the missing sides and angles.

  3. Every property is derived

    From the three sides it computes the area, perimeter, altitude to the hypotenuse, inradius, circumradius and all six trigonometric ratios of angle α.

  4. Check the diagram and the working

    The triangle is redrawn to scale, and the step-by-step breakdown shows each formula with your numbers so you can verify the result or copy the full solution.

Right Angle Triangle Mathematics & Formulas

A right-angled triangle (or right triangle) is a triangle in which one interior angle is exactly 90° (a right angle). Explore the fundamental theorems and formulas that power this calculator.

a²

Pythagorean Theorem

Relates the lengths of the two legs (a, b) to the length of the hypotenuse (c):

a² + b² = c²

Hypotenuse formula: c = √(a² + b²)
Leg formula: a = √(c² - b²)

sin

Trigonometric Ratios (SOH CAH TOA)

Definitions of sine, cosine, and tangent in terms of opposite, adjacent, and hypotenuse:

sin(α) = a / c
cos(α) = b / c
tan(α) = a / b

Complementary angles: α + β = 90°

½

Area, Inradius & Altitude

Formulas for area, inradius (r), circumradius (R), and altitude to the hypotenuse (h_c):

Area S = (a · b) / 2
Altitude h = (a · b) / c
Inradius r = (a + b - c) / 2
Circumradius R = c / 2

Special Right Triangles & Common Pythagorean Triples

Triangle Type / TripleLeg aLeg bHypotenuse cAngles (α, β, γ)Key Characteristics
3-4-5 Triangle34553.13°, 36.87°, 90°Smallest integer right triangle; widely used in construction surveying.
5-12-13 Triangle5121322.62°, 67.38°, 90°Second primitive integer triple. Perimeter = 30.
30°-60°-90° Trianglexx√3 ≈ 1.732x2x30°, 60°, 90°Half of an equilateral triangle. Side ratios 1 : √3 : 2.
45°-45°-90° (Isosceles)xxx√2 ≈ 1.414x45°, 45°, 90°Half of a square diagonal. Legs are equal; ratio 1 : 1 : √2.
8-15-17 Triangle8151728.07°, 61.93°, 90°Primitive Pythagorean triple.
99 Specialized Calculators

Specialized Right Triangle Calculators

Choose from 99 purpose-built tools dedicated to specific parameters—legs, hypotenuse, angles, trigonometric ratios, circles, or construction slope.

Browse All 99 Subtools
Sides & Angles

Pythagorean Theorem Calculator

Solve any missing side of a right triangle using the Pythagorean theorem formula a² + b² = c² with step-by-step calculations.

Open Calculator
Sides & Angles

Hypotenuse Calculator

Calculate the hypotenuse c of a right triangle given legs a and b using the Pythagorean equation c = √(a² + b²).

Open Calculator
Sides & Angles

Right Triangle Leg Calculator

Find either perpendicular leg of a right triangle when hypotenuse c and the other leg are known.

Open Calculator
Sides & Angles

Opposite Side Calculator

Find the opposite side of a right triangle from angle α and either hypotenuse c or adjacent side b using sine or tangent.

Open Calculator
Sides & Angles

Adjacent Side Calculator

Calculate the adjacent side of a right triangle from angle α and either hypotenuse c or opposite side a.

Open Calculator
Sides & Angles

Right Triangle Angle Calculator

Calculate both missing acute angles α and β of a right triangle from any two known side lengths.

Open Calculator
Sides & Angles

Complementary Angle Calculator

Find the complementary acute angle in a right triangle instantly: β = 90° - α.

Open Calculator
Sides & Angles

Two Sides Right Triangle Calculator

Solve all sides, angles, area, and perimeter of a right triangle from any two known side lengths.

Open Calculator
Sides & Angles

Side And Angle Right Triangle Calculator

Calculate missing sides and angles of a right triangle from one side and one acute angle.

Open Calculator
Sides & Angles

Hypotenuse And Angle Calculator

Find both legs of a right triangle from the hypotenuse c and an acute angle α.

Open Calculator
Sides & Angles

Leg And Hypotenuse Calculator

Solve a right triangle when one perpendicular leg and the hypotenuse are known.

Open Calculator
Sides & Angles

Opposite Side And Angle Calculator

Solve the remaining sides and angles of a right triangle using the opposite leg and its corresponding angle.

Open Calculator
Sides & Angles

Adjacent Side And Angle Calculator

Solve a right triangle from the adjacent leg and its adjoining acute angle.

Open Calculator
Area & Perimeter

Right Triangle Area Calculator

Calculate the enclosed area of a right triangle from legs a and b using Area = (a × b) / 2.

Open Calculator
Area & Perimeter

Right Triangle Perimeter Calculator

Calculate the total perimeter of a right triangle given legs a and b: P = a + b + √(a² + b²).

Open Calculator
Area & Perimeter

Right Triangle Semiperimeter Calculator

Calculate the semiperimeter s = (a + b + c) / 2 for right triangles, crucial for Heron's formula and incircle radius.

Open Calculator
Area & Perimeter

Right Triangle Area From Two Legs Calculator

Calculate right triangle area directly from two legs: Area = 0.5 × a × b.

Open Calculator
Area & Perimeter

Right Triangle Area From Hypotenuse And Leg Calculator

Find right triangle area using hypotenuse c and one leg a: Area = (a × √(c² - a²)) / 2.

Open Calculator
Area & Perimeter

Right Triangle Area From Side And Angle Calculator

Calculate area from a leg and acute angle: Area = 0.5 × a² / tan(α) or Area = 0.5 × c² × sin(α) × cos(α).

Open Calculator
Area & Perimeter

Right Triangle Area From Hypotenuse And Altitude Calculator

Find the area from the hypotenuse c and altitude h to the hypotenuse: Area = (c × h) / 2.

Open Calculator
Area & Perimeter

Right Triangle Heron's Formula Calculator

Calculate right triangle area from all three sides using Heron's formula: Area = √(s(s-a)(s-b)(s-c)).

Open Calculator
Area & Perimeter

Right Triangle From Area And Leg Calculator

Recover the second leg, hypotenuse, and angles from area and one leg: b = 2·Area / a.

Open Calculator
Area & Perimeter

Right Triangle From Area And Hypotenuse Calculator

Calculate both leg lengths from the area and hypotenuse of a right triangle.

Open Calculator
Area & Perimeter

Right Triangle From Area And Angle Calculator

Recover all side lengths of a right triangle from area A and an acute angle α.

Open Calculator
Area & Perimeter

Right Triangle From Area And Perimeter Calculator

Solve all side lengths from area A and perimeter P using c = P/2 - A/P.

Open Calculator
Area & Perimeter

Right Triangle From Perimeter And Leg Calculator

Find hypotenuse c and second leg b given perimeter P and one leg a.

Open Calculator
Area & Perimeter

Right Triangle From Perimeter And Hypotenuse Calculator

Recover both leg lengths given perimeter P and hypotenuse c.

Open Calculator
Area & Perimeter

Right Triangle From Perimeter And Angle Calculator

Calculate all side lengths from perimeter P and acute angle α.

Open Calculator
Sides & Angles

Right Triangle Side Ratio Calculator

Calculate the exact ratios between all three sides (a:b, a:c, b:c) and simplify to lowest terms.

Open Calculator
Sides & Angles

Right Triangle From Leg Ratio And Side Calculator

Solve a right triangle from leg ratio r = a/b and one known side.

Open Calculator
Area & Perimeter

Right Triangle From Leg Ratio And Area Calculator

Find sides from area and leg ratio: b = √(2·Area / r), a = r·b.

Open Calculator
Area & Perimeter

Right Triangle From Leg Ratio And Perimeter Calculator

Find sides from perimeter and leg ratio: b = P / (r + 1 + √(r² + 1)).

Open Calculator
Trigonometry

SOHCAHTOA Calculator

Calculate sine, cosine, and tangent with step-by-step SOH CAH TOA mnemonic formulas.

Open Calculator
Trigonometry

Right Triangle Sine Calculator

Calculate the sine ratio sin(θ) = Opposite / Hypotenuse and solve for unknown sides.

Open Calculator
Trigonometry

Right Triangle Cosine Calculator

Calculate the cosine ratio cos(θ) = Adjacent / Hypotenuse and find angles or sides.

Open Calculator
Trigonometry

Right Triangle Tangent Calculator

Calculate the tangent ratio tan(θ) = Opposite / Adjacent and slope angles.

Open Calculator
Trigonometry

Right Triangle Cosecant Calculator

Compute the reciprocal sine ratio csc(θ) = Hypotenuse / Opposite.

Open Calculator
Trigonometry

Right Triangle Secant Calculator

Calculate the reciprocal cosine ratio sec(θ) = Hypotenuse / Adjacent.

Open Calculator
Trigonometry

Right Triangle Cotangent Calculator

Calculate cotangent cot(θ) = Adjacent / Opposite = 1 / tan(θ).

Open Calculator
Trigonometry

Inverse Sine Angle Calculator

Find an angle in degrees and radians using arcsin(opposite / hypotenuse).

Open Calculator
Trigonometry

Inverse Cosine Angle Calculator

Find an angle using arccos(adjacent / hypotenuse) in degrees and radians.

Open Calculator
Trigonometry

Inverse Tangent Angle Calculator

Find an acute angle from opposite and adjacent legs using arctan(a / b).

Open Calculator
Special Triangles

Special Right Triangle Calculator

Solve standard special right triangles (30°-60°-90° and 45°-45°-90°) with exact radical formulas.

Open Calculator
Special Triangles

30-60-90 Triangle Calculator

Solve a 30-60-90 special right triangle from any single side length with exact radicals and decimals.

Open Calculator
Special Triangles

45-45-90 Triangle Calculator

Solve an isosceles right triangle (45°-45°-90°) with side proportions 1 : 1 : √2.

Open Calculator
Special Triangles

3-4-5 Triangle Calculator

Calculate scaled 3-4-5 right triangles from any scaling factor or side measurement.

Open Calculator
Special Triangles

5-12-13 Triangle Calculator

Calculate scaled 5-12-13 integer right triangles from any side or scaling multiplier.

Open Calculator
Special Triangles

Pythagorean Triple Checker

Verify whether three integers a, b, c form a valid Pythagorean triple satisfying a² + b² = c².

Open Calculator
Special Triangles

Pythagorean Triple Generator

Generate integer Pythagorean triples using Euclid's formula from two coprime integers m and n.

Open Calculator
Special Triangles

Primitive Pythagorean Triple Calculator

Calculate and test primitive Pythagorean triples where gcd(a, b, c) = 1.

Open Calculator
Special Triangles

Right Triangle Checker

Check whether any three given side lengths satisfy the converse of Pythagorean theorem.

Open Calculator
Altitude & Segments

Right Triangle Altitude Calculator

Calculate the altitude from the right angle to the hypotenuse: h = (a × b) / c.

Open Calculator
Altitude & Segments

Hypotenuse Segment Calculator

Calculate segments p and q of the hypotenuse divided by the altitude: p = a²/c, q = b²/c.

Open Calculator
Altitude & Segments

Right Triangle Geometric Mean Calculator

Solve altitude and leg relationships using geometric mean theorems: h = √(p · q), a = √(p · c).

Open Calculator
Altitude & Segments

Right Triangle From Hypotenuse Segments Calculator

Recover all side lengths and altitude given segments p and q of the hypotenuse.

Open Calculator
Altitude & Segments

Right Triangle From Hypotenuse And Altitude Calculator

Recover both leg lengths given hypotenuse c and altitude h.

Open Calculator
Altitude & Segments

Right Triangle From Leg And Hypotenuse Altitude Calculator

Recover missing sides from leg a and altitude h to the hypotenuse: b = (a · h) / √(a² - h²).

Open Calculator
Altitude & Segments

Right Triangle From Altitude And Hypotenuse Segment Calculator

Recover the entire triangle from altitude h and one hypotenuse segment p: q = h²/p.

Open Calculator
Altitude & Segments

Right Triangle Median Calculator

Calculate the medians to legs a and b and hypotenuse c: m_c = c/2, m_a = √(4b²+a²)/2, m_b = √(4a²+b²)/2.

Open Calculator
Altitude & Segments

Median To Hypotenuse Calculator

Calculate the median to the hypotenuse: m_c = c / 2 = Circumradius R.

Open Calculator
Altitude & Segments

Right Triangle Angle Bisector Calculator

Calculate the internal angle bisectors from vertices A, B, and right angle vertex C.

Open Calculator
Altitude & Segments

Right Triangle Angle Bisector Segment Calculator

Calculate how angle bisectors divide opposite sides using the Angle Bisector Theorem.

Open Calculator
Circles & Centers

Right Triangle Inradius Calculator

Calculate the inradius r of the inscribed circle of a right triangle: r = (a + b - c) / 2.

Open Calculator
Circles & Centers

Right Triangle Incircle Calculator

Calculate the radius, area, and circumference of the incircle inscribed inside a right triangle.

Open Calculator
Circles & Centers

Right Triangle Circumradius Calculator

Calculate the circumradius R of a right triangle: R = c / 2 = √(a² + b²) / 2.

Open Calculator
Circles & Centers

Right Triangle Circumcircle Calculator

Calculate circumcircle radius R, area πR², and boundary circumference 2πR.

Open Calculator
Circles & Centers

Right Triangle Exradius Calculator

Calculate all three excircle radii: r_a = s - b, r_b = s - a, and r_c = s.

Open Calculator
Circles & Centers

Right Triangle Nine-Point Circle Calculator

Calculate the radius and center of Euler's nine-point circle: R_9 = R / 2 = c / 4.

Open Calculator
Circles & Centers

Right Triangle Centroid Calculator

Locate the centroid G: G = (b/3, a/3) from the right-angled vertex C(0,0).

Open Calculator
Circles & Centers

Right Triangle Incenter Calculator

Locate the incenter I(r, r) where r is the inradius when vertex C is placed at (0,0).

Open Calculator
Circles & Centers

Right Triangle Circumcenter Calculator

Locate the circumcenter O: exactly at the midpoint of the hypotenuse O = (b/2, a/2).

Open Calculator
Circles & Centers

Right Triangle Orthocenter Calculator

Identify and locate the orthocenter H: in a right triangle, it is always the right-angle vertex itself.

Open Calculator
Geometry & Analysis

Right Triangle Coordinate Calculator

Calculate side lengths, angles, perimeter, and area from coordinates of three vertices (x₁,y₁), (x₂,y₂), (x₃,y₃).

Open Calculator
Geometry & Analysis

Right Triangle Missing Vertex Calculator

Find the possible coordinates of the third vertex to form a right triangle from two known vertices.

Open Calculator
Geometry & Analysis

Similar Right Triangles Calculator

Solve corresponding side lengths and areas between two similar right triangles using scale factor k.

Open Calculator
Geometry & Analysis

Right Triangle Scale Factor Calculator

Calculate linear scaling k, perimeter scaling k, and area scaling k² between right triangles.

Open Calculator
Geometry & Analysis

Right Triangle Congruence Checker

Test right triangle congruence criteria: Hypotenuse-Leg (HL), Leg-Leg (LL), Leg-Angle (LA), and Hypotenuse-Angle (HA).

Open Calculator
Geometry & Analysis

Right Triangle Maximum Area Calculator

Find the maximum possible area for a given hypotenuse c or perimeter P: maximized when isosceles (a = b).

Open Calculator
Geometry & Analysis

Right Triangle Minimum Perimeter Calculator

Minimize the perimeter of a right triangle for a fixed area A: achieved when a = b = √(2A).

Open Calculator
Geometry & Analysis

Right Triangle Exact Value Calculator

Calculate sides and trigonometric ratios with exact simplified radical expressions (e.g. 2√5) without decimal rounding.

Open Calculator
Geometry & Analysis

Right Triangle Step-By-Step Calculator

Solve right triangles with detailed, readable step-by-step mathematical working and substitution proofs.

Open Calculator
Geometry & Analysis

Right Triangle Diagram Generator

Generate and download custom-scaled, labeled right triangle diagrams in crisp SVG format.

Open Calculator
Real-World Applications

Rise And Run Calculator

Calculate slope, grade percentage, inclination angle, and hypotenuse distance from vertical rise and horizontal run.

Open Calculator
Real-World Applications

Slope Angle Calculator

Convert slope m, rise/run, or percentage grade into pitch inclination angles in degrees and radians.

Open Calculator
Real-World Applications

Percent Grade Calculator

Convert percent grade (% slope) into angle in degrees and vertical rise per 100 feet/meters.

Open Calculator
Real-World Applications

Ramp Length Calculator

Calculate inclined wheelchair and loading ramp length from total rise and ADA slope standards (1:12).

Open Calculator
Real-World Applications

Ramp Rise Calculator

Find reachable elevation rise from total ramp length and inclination angle or slope ratio.

Open Calculator
Real-World Applications

Roof Pitch Calculator

Convert standard roof pitch (X/12) to angle in degrees, grade percentage, and rafter length factor.

Open Calculator
Real-World Applications

Common Rafter Length Calculator

Calculate common timber rafter length from building half-span, roof pitch, and optional eaves overhang.

Open Calculator
Real-World Applications

Ladder Right Triangle Calculator

Calculate ladder reach height, ground setback distance, and check OSHA safe 75-degree (4:1) angle.

Open Calculator
Real-World Applications

Stair Stringer Length Calculator

Calculate diagonal stair stringer length from total rise and total run: Stringer = √(Total Rise² + Total Run²).

Open Calculator
Real-World Applications

Guy Wire Length Calculator

Calculate support guy wire length and ground anchor distance for utility poles, antennas, and towers.

Open Calculator
Real-World Applications

Angle Of Elevation Calculator

Find upward sight angle of elevation θ or object height from horizontal distance and sight angle.

Open Calculator
Real-World Applications

Angle Of Depression Calculator

Calculate downward sight angle of depression or target horizontal distance from observation height.

Open Calculator
Real-World Applications

Shadow Height Calculator

Estimate building, tree, or pole height from shadow length and sun elevation angle: Height = Shadow × tan(θ).

Open Calculator
Real-World Applications

Horizontal Distance Calculator

Calculate true horizontal ground distance from slope distance and slope angle or elevation change.

Open Calculator
Real-World Applications

Vertical Height Calculator

Calculate vertical elevation height from horizontal baseline distance and angle of elevation.

Open Calculator
Real-World Applications

Rectangle Diagonal Calculator

Calculate the diagonal of a rectangle: Diagonal d = √(Length² + Width²) using the Pythagorean theorem.

Open Calculator
Real-World Applications

Construction Squareness Calculator

Verify that corners are perfectly square (90 degrees) using the 3-4-5 rule or diagonal corner comparisons.

Open Calculator

Right Triangle Calculator FAQ

Quick answers about solving right triangles and getting the most out of this calculator.

How do I find the hypotenuse of a right triangle?

Use the Pythagorean theorem: c = √(a² + b²). Enter both legs in the calculator and the hypotenuse appears instantly. For legs of 3 and 4, the hypotenuse is 5.

What is the minimum information needed to solve a right triangle?

Two independent values besides the right angle: two sides, one side and one acute angle, or the area with one side or one angle. Two angles alone fix the shape but not the size, so at least one length or the area is required.

How do I calculate the angles from the side lengths?

Use inverse trigonometric functions. With legs a and b, α = arctan(a / b); with leg a and hypotenuse c, α = arcsin(a / c). The other acute angle is always β = 90° − α.

What does SOH CAH TOA mean?

It is a memory aid for the three basic ratios: Sine = Opposite / Hypotenuse, Cosine = Adjacent / Hypotenuse and Tangent = Opposite / Adjacent, each measured from the chosen acute angle.

Can I enter angles in radians?

Yes. Switch the angle unit from Degrees to Radians. Angles you have already entered are converted automatically, and each result angle is shown in both degrees and radians.

Why does the calculator say my area is too large for the hypotenuse?

For a fixed hypotenuse c, the largest possible area belongs to the isosceles right triangle and equals c² / 4. A larger area cannot form a real right triangle with that hypotenuse.

Which units does the calculator use?

Any unit you like. Results use the same length unit as your inputs and the area is in the matching square unit, so centimeters in gives centimeters and square centimeters out.

Are the values I enter sent anywhere?

No. Every calculation runs locally in your browser with JavaScript, and the numbers you type are never uploaded to or stored on a server.