Skip to content
LoveToCalc

Theorem — what does that mean?

Pythagoras' theorem

The relation between the three sides of a right-angled triangle — and a proof of why it always holds.

In Swedish: Pythagoras sats

Pythagoras' theorem

The relation

a²+b²=c²

Holds in right-angled triangles only: the square on the hypotenuse equals the squares on the two legs added together.

A right-angled triangle. The legs a and b meet at the right angle, and the hypotenuse c is the side opposite it.
Solve for
Solved for c

c=a²+b²

Show how the formula is rearranged
  1. a²+b²=c²
  2. Swap the sides, so that what you are solving for stands on the left.

    c²=a²+b²

  3. Take the square root of both sides. These are lengths, so only the positive root counts.

    c=a²+b²

c=5cm

c equals the square root of (3 squared plus 4 squared), equals the square root of (9 plus 16), equals the square root of (25), equals 5 cm

Working4 steps

Practice questions

You are given

  • a=10cm
  • b=24cm

Pick the unit your lengths are in. Areas are then labelled in square units and volumes in cubic units; nothing is converted.

When the theorem applies

Pythagoras’ theorem says that the squares on the two legs, added together, equal the square on the hypotenuse. It holds only in triangles with a right angle, and the letters have fixed roles: a and b are the legs, the two sides that meet at the right angle, and c is the hypotenuse, the side opposite it. The hypotenuse is always the longest side.

The theorem works backwards too. If three sides satisfy a² + b² = c², the triangle is right-angled — which is how a carpenter checks a corner with the measurements 3, 4 and 5.

Why it is true

Draw a square with side a + b and place four copies of the triangle in its corners, each turned a quarter turn from the last. What is left in the middle is a square with side c.

The whole square’s area is (a + b)² = a² + 2ab + b². The same area is also four triangles, each of area ab/2, plus the inner square: 2ab + c². Set the two expressions equal and subtract 2ab from both sides, and a² + b² = c² is what remains.

Worked examples

A ladder against a wall. The ladder is 5 m long and its foot stands 1.4 m from the wall. How high does it reach?

The ladder is the hypotenuse, the distance to the wall is one leg, and the height is the other:

A right-angled corner. Legs of 3 and 4 give a hypotenuse of √(9 + 16) = √25 = 5. Multiply all three by the same number and it still holds: 6, 8, 10 and 9, 12, 15 are the same triangle at a larger scale.

Common mistakes

Questions people ask

What is a Pythagorean triple? Three whole numbers that satisfy the theorem, such as 3-4-5, 5-12-13 and 8-15-17. They are convenient in exercises precisely because the answer is a whole number, but most right-angled triangles have sides that do not come out even.

Can the hypotenuse be shorter than a leg? No. The hypotenuse sits opposite the largest angle in the triangle, and in a right-angled triangle the right angle is always the largest. An answer like that means the values are in the wrong boxes.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
ac²−b²5²−4²3 cm
bc²−a²5²−3²4 cm
ca²+b²3²+4²5 cm

Squares, cubes and square roots

Table

Squares, cubes and square roots
nn²n³√n
1111.000
2481.414
39271.732
416642.000
5251252.236
6362162.449
7493432.646
8645122.828
9817293.000
101001,0003.162
111211,3313.317
121441,7283.464
131692,1973.606
141962,7443.742
152253,3753.873
162564,0964.000
172894,9134.123
183245,8324.243
193616,8594.359
204008,0004.472

Length units

Table

Length units
UnitIn metres
mm0.001
cm0.01
in0.0254
dm0.1
ft0.3048
yd0.9144
m1
km1,000
mi1,609.344
nmi1,852
mil10,000

Last reviewed October 6, 2026 ·How pages are reviewed

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

Middle school

  • Pythagoras' theorem

    Twelve right triangles, mixed: sometimes the hypotenuse is asked for, sometimes a leg. The key works the first question step by step.

More about the right-angled triangle

The same drawing, measured in the other ways it can be measured.

GeometryAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.