← All calculators / Geometry

Right triangle

Both legs must be positive.

01 / Your inputsBrowser-only calculation
Right triangle
—
How it works

The formula

Hypotenuse = √(a²+b²); angle A = atan(a/b)

Example inputs

Leg a: 3 · Leg b: 4

Result: 5 · Area: 6 · Angle A: 36.869898° · Angle B: 53.130102°

What the Right triangle works out

This page computes right triangle. The Right triangle applies the formula Hypotenuse = √(a²+b²); angle A = atan(a/b). Both legs must be positive.

What each field means

Leg a
A number; the example uses 3. It cannot go below 0.
Leg b
A number; the example uses 4. It cannot go below 0.

A worked example

With the values this page opens on — Leg a 3, Leg b 4 — the answer is 5. The supporting detail reads: Area: 6 · Angle A: 36.87° · Angle B: 53.13°. Reset restores exactly these numbers.

Reading the result

The result is labelled right triangle. It is recalculated on every keystroke from the unrounded values in the form, and the accompanying graph follows the same numbers.

Assumptions and limits

Both legs must be positive. Angles are in degrees.

Your privacy

Nothing you type leaves your browser.

Related calculators

Triangle (three sides) ↗ · Triangle area ↗ · Volume ↗ · Surface area ↗