# Right Triangle Side and Angle Calculator

URL: https://speedycalculator.com/calculators/math/right-triangle-side-angle/
Last updated: 2026-11-08

> The right triangle side and angle calculator finds the missing sides and angles of a right triangle from two sides, a side and an acute angle, or the area and a leg.

## Inputs

- What do you know?
- Leg a (opposite α) (cm, m, mm, in, ft, yd, km, mi)
- Leg b (adjacent to α) (cm, m, mm, in, ft, yd, km, mi)
- Hypotenuse c (cm, m, mm, in, ft, yd, km, mi)
- Angle α (°, rad, π rad, grad, turn)
- Area (cm², m², mm², in², ft², yd², km², ha, acre)

## Results

- Leg a
- Leg b
- Hypotenuse c
- Angle α
- Angle β

## Formula

```
α = arctan(a/b),  β = 90° − α
a = c·sin α,  b = c·cos α,  c = √(a² + b²)
```

## Explanation

When you know some sides and want the angles (the pitch of a roof, the slope of a ramp, the angle of a ladder) or know an angle and want the sides, these relations between sides and angles of a right triangle do the job.

### How to use the Right Triangle Side and Angle Calculator

- **What do you know?**
- **Leg a (opposite α)**
- **Leg b (adjacent to α)**
- **Hypotenuse c**
- **Angle α**
- **Area**

Results update as you type, and everything is calculated in your browser.

### How it works

Pick the pair of values you know. The calculator returns the three sides and both acute angles.

### Inputs explained

FieldWhat to enterWhat do you know?Choose one: Legs a and b, Leg a and hypotenuse c, Leg b and hypotenuse c, Angle α and leg a …Leg a (opposite α)Units: cm, m, mm, in, ft, yd …Leg b (adjacent to α)Units: cm, m, mm, in, ft, yd …Hypotenuse cUnits: cm, m, mm, in, ft, yd …Angle αUnits: °, rad, π rad, grad, turnAreaUnits: cm², m², mm², in², ft², yd² …

### What each result means

- **Hypotenuse c** = sqrt([Leg a]^2 + [Leg b]^2)
- **Angle α** = deg(atan([Leg a]÷[Leg b]))
- **Angle β** = 90 - [Angle α]

### Example values

How the main result changes when **Leg a** changes and everything else stays at the example values above:

Leg a (opposite α) (cm)Angle α (°)1.520.5562.2529.3578336.86993.7543.15244.548.3665656.3099

## Worked example

Inputs: What do you know?: Legs a and b; Leg a (opposite α): 3 cm; Leg b (adjacent to α): 4 cm.

Results: Leg a = 3 cm; Leg b = 4 cm; Hypotenuse c = 5 cm; **Angle α = 36.869898 °**; Angle β = 53.130102 °.

## Key terms

- **Acute angle**: An angle smaller than 90°.

## FAQ

**How do I find an angle from two sides?**
Use arctan(opposite/adjacent), arcsin(opposite/hypotenuse) or arccos(adjacent/hypotenuse).

**How do I find a side from an angle?**
Multiply the hypotenuse by sin or cos, or a leg by tan.

**Do the angles always add to 90°?**
The two acute angles do; with the right angle the total is 180°.

**What is the steepest a ladder should be?**
About 75°, a 4 : 1 ratio of height to base.


## Sources

- [OpenStax: Algebra and Trigonometry 2e](https://openstax.org/details/books/algebra-and-trigonometry-2e)
- [OpenStax: Prealgebra 2e](https://openstax.org/details/books/prealgebra-2e)
- [Wolfram MathWorld: Right triangle](https://mathworld.wolfram.com/RightTriangle.html)
