Skip to the formula

Bayes theorem formula: P(Eᵢ | A) = P(Eᵢ)P(A | Eᵢ) / ΣP(Eⱼ)P(A | Eⱼ)

The Bayes theorem formula is P(Eᵢ | A) = P(Eᵢ) P(A | Eᵢ) / Σ P(Eⱼ) P(A | Eⱼ).

What each letter means

Bayes' theorem in the CBSE syllabus

ClassChapter
Class 12
Board exam
Chapter 13: Probability
Probability unit: 8 of the 80 theory marks

Calculators are not allowed: CBSE's 2026-27 sample question paper for Class 12 Mathematics says: "Use of calculators is not allowed." The paper is 3 hours and 80 marks. So questions give any value you need and expect exact answers; every example on this page works by hand.

When to use it

To work backwards from an observed result to the probability of each cause: which machine made a faulty part, which bag a ball came from.

Worked example

Machine X makes 60% of a factory's bolts and 2% of its bolts are defective. Machine Y makes the rest and 3% of its bolts are defective. A bolt chosen at random is defective. Find the probability that it was made by X.

  1. \(P(X)P(D\mid X)=0.6\times0.02=0.012\); \(P(Y)P(D\mid Y)=0.4\times0.03=0.012\)
  2. \(P(X\mid D)=\dfrac{0.012}{0.012+0.012}\)

Answer: \(P(X\mid D)=\tfrac12\)

Common mistake

Leaving out a cause in the denominator. The bottom line is the total probability of A over every cause.

Try one yourself

One quick CBSE Maths question on the Bayes' theorem. No sign-in needed.

Bag I has \(3\) red and \(2\) black balls; bag II has \(1\) red and \(4\) black balls. A bag is chosen at random and a ball drawn from it is red. The probability that it came from bag I is

Choose your answer · keys 1–4

Revise it for your CBSE exam

On your CBSE Maths course

CourseIn the exam
Class 12Learn it: CBSE gives no formula booklet

From our own CBSE Maths formula sheets, in our words.

Practise and revise

Bayes' theorem formula card: P(Eᵢ | A) = P(Eᵢ) P(A | Eᵢ) / Σ P(Eⱼ) P(A | Eⱼ). CBSE Math Revision
Bayes' theorem card for CBSE Maths: download (PNG).

CBSE Maths FAQ

Is the Bayes' theorem given in the CBSE board exam?

Class 12: learn it: CBSE gives no formula booklet.

What does 'total probability' mean in Bayes' theorem?

The denominator adds P(Eⱼ) P(A | Eⱼ) over every possible cause Eⱼ: it is the overall probability that A happens.

Which CBSE class and chapter covers Bayes' theorem?

Class 12, Chapter 13 (Probability), in the Probability unit, which carries 8 of the 80 theory marks. CBSE gives marks by unit, not by chapter.

Are calculators allowed for Bayes' theorem questions in the CBSE board exam?

No. CBSE's 2026-27 sample question paper for Class 12 Mathematics says: "Use of calculators is not allowed." The paper is 3 hours and 80 marks. Questions give any value you need, such as π = 22/7.

Our own wording, examples and card, checked by CBSE Math Revision. Not produced or endorsed by CBSE or NCERT.