ViewEarn.Find a tool ↗

Home / Math tools / Right Triangle Calculator

Math · FREE ONLINE TOOL

Right Triangle Calculator

Solve a right triangle from two legs, or from its hypotenuse and one leg.

✓ No sign-up✓ Calculated in your browser✓ Sharp vector visuals
Loading the calculator…

How to use this right triangle calculator

  1. Select the input mode and enter known sides, leg a, leg b.
  2. Check the labels and units before comparing the output.
  3. Read triangle area and the breakdown. Change one input to see how the result and visual respond.

Formula and method

c = √(a²+b²); area = ab/2. Trigonometric inverse functions give the acute angles.

What the result includes

Solve a right triangle from two legs, or from its hypotenuse and one leg.

All lengths use the same unit. In hypotenuse mode, c must be longer than the known leg.

Worked example

Here is one reproducible example:

  • Known sides: Two legs
  • Leg a: 3
  • Leg b: 4

Triangle area: 6 units².

  • Perimeter: 12 units
  • Side a: 3
  • Side b: 4
  • Side c: 5

The example is rounded for readability; calculations use unrounded intermediate values.

Questions about this calculator

What does the right triangle calculator calculate?

Solve a right triangle from two legs, or from its hypotenuse and one leg.

What assumptions should I check?

All lengths use the same unit. In hypotenuse mode, c must be longer than the known leg.

Can I export my calculation?

Yes. Download CSV exports the result and available calculation table. Save visual SVG exports a sharp vector illustration. Calculations run in your browser.

Found a result that does not match your inputs? Report the inputs and result to support@viewearn.in.