Right Triangle Calculator

Solve right triangles using the Pythagorean theorem and trigonometry

a (adjacent) b (opposite) c (hypotenuse) θ
Known: Two sides of the right triangle
Pythagorean Theorem: a² + b² = c²

How to Use This Right Triangle Calculator

  1. Choose your input method: Two Sides, Side + Angle, or Hypotenuse + Angle
  2. Enter the known values (all angles are in degrees)
  3. For two sides: select which sides (a, b, or c) you're entering
  4. For side + angle: specify if the side is adjacent or opposite to the angle
  5. Click 'Solve Triangle' to find all missing sides, angles, and properties

Example: A ladder leans against a wall at 75 degrees, with base 3 feet from the wall. Enter: Side a (adjacent) = 3, Angle = 75 degrees. Results: ladder length (c) = 11.59 ft, wall height reached (b) = 11.20 ft.

Tip: Remember SOH-CAH-TOA: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent.

Why Use a Right Triangle Calculator?

Right triangles are fundamental to navigation, construction, physics, and engineering calculations.

  • Calculate roof pitch and rafter lengths for construction projects
  • Determine safe ladder angles and reach heights
  • Find distances using indirect measurement (surveying technique)
  • Solve physics problems involving vectors and components
  • Calculate grade percentages for roads, ramps, and slopes
  • Plan sight lines and angles for photography and architecture

Understanding Your Results

The calculator provides all three sides, both acute angles, trigonometric ratios, area, and perimeter.

45-45-90 triangle

Meaning: Isosceles right triangle

Action: Legs are equal; hypotenuse = leg x sqrt(2)

30-60-90 triangle

Meaning: Special right triangle

Action: Sides in ratio 1 : sqrt(3) : 2

Integer sides (3-4-5, etc.)

Meaning: Pythagorean triple

Action: Exact measurements - no rounding errors

Note: The two acute angles always sum to 90 degrees (since the right angle is 90 degrees and triangle angles total 180).

About Right Triangle Calculator

A right triangle has one 90-degree angle, with the side opposite it called the hypotenuse (always the longest side). The other two sides are legs - one adjacent to a given acute angle, one opposite. Trigonometric ratios relate sides to angles, making it possible to solve triangles with minimal information. These calculations underpin navigation, surveying, physics, and engineering. For basic side calculations when you know two sides, use our Pythagorean calculator. For more general triangle problems involving non-right triangles, the solve triangle problems offers additional solving methods.

Formula

sin(theta) = opposite/hypotenuse | cos(theta) = adjacent/hypotenuse | tan(theta) = opposite/adjacent

Given any side and acute angle, trigonometry finds the other sides. Given two sides, inverse trig (arcsin, arccos, arctan) finds angles.

Current Standards: Angles can be measured in degrees (360 per circle) or radians (2*pi per circle). This calculator uses degrees.

Frequently Asked Questions

What's the difference between this and the Pythagorean theorem calculator?

The Pythagorean calculator only uses a^2 + b^2 = c^2 to find a missing side when you know two sides. This calculator adds trigonometry, so you can solve triangles knowing one side and one angle. It's more versatile but requires understanding which angle references which side.

How do I know which side is adjacent vs opposite?

It depends on which angle you're referencing. The side touching the angle (not the hypotenuse) is adjacent. The side across from the angle is opposite. The hypotenuse is always opposite the right angle and touches both acute angles.

Why do my trig calculations seem wrong on some calculators?

Check your angle mode! Scientific calculators and programming languages often default to radians. If you enter 45 expecting degrees but the calculator uses radians, results will be wrong. This calculator uses degrees.

What are common angle relationships I should memorize?

sin(30) = 0.5, cos(30) = sqrt(3)/2 = 0.866, tan(30) = 1/sqrt(3) = 0.577. sin(45) = cos(45) = sqrt(2)/2 = 0.707, tan(45) = 1. sin(60) = cos(30), cos(60) = sin(30), tan(60) = sqrt(3) = 1.732.

How do I use this for grade/slope calculations?

Grade is rise over run (vertical change over horizontal change), which equals tan(angle). A 10% grade means 10 ft rise per 100 ft horizontal = tan(theta) = 0.1, so theta = arctan(0.1) = 5.7 degrees. Enter the angle and one distance to find the other.

Developed by CalculatorOwl
View our methodology

Last updated: