1. Home
  2. Maths
  3. Right Triangle Calculator (Pythagoras & Trig Ratios)

Right Triangle Calculator (Pythagoras & Trig Ratios)

Missing side of a right triangle, both angles, all six trig ratios, area and perimeter.

MathsGrades 9–10Grades 11–12BeginnerStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. A right triangle has legs 3 and 4. Find the hypotenuse, the angles and sin, cos and tan.

  2. A 10 m ladder leans against a wall with its foot 6 m out. How high up the wall does it reach?

  3. In a right triangle, the hypotenuse is 13 cm and one side is 5 cm. Find the other side and all the ratios.

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: A right triangle has legs 3 and 4. Find the hypotenuse, the angles and sin, cos and tan.

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Put the values into the formula
  3. Angle A from tan A = a ÷ b
  4. Angle B = 90° − A
  5. Trigonometric ratios of angle A
  6. Area = ½ × a × b
Answer
Hypotenuse cc = 5
Angle AA = 36.87°
Angle BB = 53.13°
AreaArea = 6
sin A, cos A, tan A0.6, 0.8, 0.75
Step-by-step solution
  1. Write the given values in SI units
    a=3
    b=4
    To find: c (Hypotenuse c)
  2. Put the values into the formula
    c=√a2 + b2
    =√32 + 42
    =5
  3. Angle A from tan A = a ÷ b
    A=tan⁻¹(ab)
    =tan⁻¹(34)
    =36.87°
  4. Angle B = 90° − A
    B=90° − A
    =90° − 36.87°
    =53.13°
  5. Trigonometric ratios of angle A
    sin A=35 = 0.6
    cos A=45 = 0.8
    tan A=34 = 0.75
    cosec A=53 = 1.667
    sec A=54 = 1.25
    cot A=43 = 1.333
  6. Area = ½ × a × b
    Area=12 a b
    =12 × 3 × 4
    =6
Key idea: Remember SOH CAH TOA: sin = opposite ÷ hypotenuse, cos = adjacent ÷ hypotenuse, tan = opposite ÷ adjacent. 3, 4, 5 is the best-known whole-number right triangle.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Section formula (ratio m : n)
Finds the point that cuts a line in a given ratio. "Divides in 3 : 1" means the piece near the first point is 3 parts and the other piece is 1 part.

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
aSide a (opposite angle A)(no unit)
bSide b (next to angle A)(no unit)
cHypotenuse c (longest side)(no unit)

Formula & concept

Find the missing side of a right-angled triangle, then both angles, all six trigonometric ratios, the area and the perimeter.

c2 = a2 + b2

Key idea: Remember SOH CAH TOA: sin = opposite ÷ hypotenuse, cos = adjacent ÷ hypotenuse, tan = opposite ÷ adjacent. 3, 4, 5 is the best-known whole-number right triangle.

What it can find

Choose the unknown with the “What do you want to find?” buttons: hypotenuse c (longest side), side a (opposite angle a), side b (next to angle a). The formula is rearranged for you and every step is shown.

How to use this calculator

  1. Choose what you want to find. Its box turns orange.
  2. Type the known values from your question and pick the unit for each one.
  3. Press Solve step by step.
  4. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  5. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  6. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Right Triangle work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula c^2 = a^2 + b^2 and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
Remember SOH CAH TOA: sin = opposite ÷ hypotenuse, cos = adjacent ÷ hypotenuse, tan = opposite ÷ adjacent. 3, 4, 5 is the best-known whole-number right triangle.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Right Triangle free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 9–10 (GCSE · IGCSE · US high school · Class 9–10 (CBSE, ICSE)) and Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.