Skip to the formula

Pythagoras theorem formula: a² + b² = c²

The Pythagoras theorem formula is a² + b² = c².

What each letter means

When to use it

In IB AI and AA for lengths in right-angled triangles in 2D and 3D: the diagonal of a cuboid, or the slant height of a cone or pyramid, before a trig step.

Worked example

A cuboid measures 3 cm by 4 cm by 12 cm. Find the length of its longest diagonal.

  1. Diagonal of the base: \(\sqrt{3^2+4^2}=5\)
  2. Space diagonal: \(\sqrt{5^2+12^2}=\sqrt{169}\)

Answer: 13 cm

Common mistake

Rounding the first length in a 3D question. Keep the full GDC value of the face diagonal when you use it again for the space diagonal.

Fix it with practice: Skill Builder: Right-Angled Trigonometry (free account).

Try one yourself

One quick IB Maths question on the Pythagoras' theorem. No sign-in needed.

A right-angled triangle has shorter sides \(5\) cm and \(12\) cm. Find the length of the hypotenuse.
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
Not in the booklet: learn it
AI SL
All IB AI SL formulas by topic
Not in the booklet: learn it
AI HL
All IB AI HL formulas by topic
Not in the booklet: learn it

From our own IB Maths formula sheets, in our words. The IB gives its booklet to schools, so we checked against our own copy: your teacher has the official one. Official: IB DP Mathematics page.

Practise and revise

Pythagoras' theorem formula card: a² + b² = c². IB Math Revision
Pythagoras' theorem card for IB Maths: download (PNG).

IB Maths FAQ

Is the Pythagoras' theorem in the IB formula booklet?

AA SL: not in the booklet: learn it. AI SL: not in the booklet: learn it. AI HL: not in the booklet: learn it.

How do I find the space diagonal of a cuboid?

Use Pythagoras twice, or once in 3D: d = √(a² + b² + c²) for a cuboid a by b by c.

Our own wording, examples and card, checked by IB Math Revision. Not produced or endorsed by the International Baccalaureate Organization.