Skip to content

Assessment & Evaluation

Item Analysis for Teachers: Difficulty Index and Discrimination Index (Formula + Example)

After the test, the questions get marked too. Here’s how to calculate the difficulty and discrimination index for every question — with a worked example you can copy.

By 7CRM Team8 min read

Item analysis table with difficulty and discrimination index

Marking tells you how each student did. Item analysis tells you how each question did — which ones were too easy, which were too hard, and which ones failed to separate students who understood the topic from those who didn’t. Ten minutes of item analysis after a test makes the next paper noticeably better — whether you set it by hand or with a free tool like the ExamBee question paper generator.

What is item analysis?

Item analysis is the process of checking each question (an “item”) in a test using students’ responses. The two numbers teachers use most are:

  • the difficulty index (P) — how many students got the question right, and
  • the discrimination index (D) — whether stronger students got it right more often than weaker students.

For MCQs, a third check — distractor analysis — shows whether the wrong options did their job.

Step 1: Rank the scripts and form two groups

  1. Mark all the scripts and arrange them from the highest total to the lowest.
  2. Take the top 27% as the upper group (U) and the bottom 27% as the lower group (L). In a small class, the top and bottom quarter, or even halves, will do.
  3. Set the middle scripts aside.

In a class of 40, 27% is about 11 students; to keep the arithmetic simple, the example below uses the top 10 and bottom 10.

Step 2: Count correct answers in each group

For each question, count how many students in the upper group (RU) and lower group (RL) answered correctly. Keep the answer key beside you — every paper built on ExamBee comes with a separate one, which makes this count quick.

Step 3: Calculate the difficulty index

Difficulty index (P) = (RU + RL) ÷ (NU + NL)

where NU and NL are the number of students in each group. P runs from 0 to 1 (or 0–100% if you multiply by 100). Despite its name, a higher P means an easier question.

P value Interpretation
Above 0.70 Easy
0.30 – 0.70 Moderate (most useful for ranking students)
Below 0.30 Difficult

Exact cut-offs vary between textbooks; these are common working ranges.

Tip: If most of your questions land above 0.70, the paper was too easy. Next time, build it on ExamBee with medium or mixed difficulty selected and compare the P values.

Step 4: Calculate the discrimination index

Discrimination index (D) = (RU − RL) ÷ N, where N is the number of students in one group.

D runs from −1 to +1. Positive means stronger students did better on the question — which is what you want.

D value Interpretation Action
0.40 and above Very good Keep
0.30 – 0.39 Good Keep, maybe improve
0.20 – 0.29 Marginal Revise
Below 0.20 Poor Revise or drop
Negative Problem Check the answer key and wording

Worked example: a class of 40

Upper group = 10 students, lower group = 10 students.

Question RU RL P = (RU+RL)/20 D = (RU−RL)/10 Verdict
Q1 9 3 0.60 0.60 Moderate, discriminates very well — ideal
Q2 10 10 1.00 0.00 Everyone got it — tells you nothing about ranking
Q3 4 1 0.25 0.30 Hard but fair — keep for stretching top students
Q4 2 5 0.35 −0.30 Weaker students did better — check the key or wording
Q5 6 5 0.55 0.10 Doesn’t separate groups — rewrite

What to do with the results:

  • Q1 goes straight into your question bank as a good item.
  • Q2 is fine as a confidence-builder at the start of a paper, but don’t rely on it to rank students.
  • Q4 almost always means a wrong answer key, an ambiguous question, or an option that is “more right” than the intended answer. Look at it first.
  • Q5 probably rewards guessing or tests something the class didn’t really learn. Rewrite it.

If the paper came from ExamBee, you can replace weak questions like Q4 and Q5 with others before you use the paper again.

Step 5: Distractor analysis for MCQs

In an MCQ, the wrong options are called distractors. A good distractor attracts more students from the lower group than the upper group. Count how many students in each group chose each option:

Option Upper (10) Lower (10) Comment
A 1 3 Working distractor
B (key) 8 3 Correct answer, good discrimination
C 1 4 Working distractor
D 0 0 Nobody chose it — replace this option

An option nobody picks makes a four-option MCQ into a three-option one, which makes guessing easier. An option that attracts the upper group more than the lower group is often a second correct answer.

You can practise distractor analysis on the MCQ sections of ExamBee’s sample question papers — each comes with its answer key.

Where item analysis fits in

Item analysis checks the paper after the event; the blueprint shapes it beforehand. Use both: plan with how to set a balanced question paper, review against the characteristics of a good question paper, and keep only the questions with healthy P and D values for next year.

Frequently asked questions

What is a good difficulty index?

For a test meant to rank students, questions with P between about 0.30 and 0.70 are the most useful. A whole paper averaging around 0.50–0.60 is a common target.

Why do we use the top and bottom 27%?

27% is a long-standing rule of thumb: it makes the two groups as different as possible while keeping them large enough to be reliable. In a small class, using the top and bottom quarter or half is acceptable.

Can the discrimination index be negative?

Yes. A negative D means weaker students answered correctly more often than stronger ones, which usually points to a wrong key or a confusing question.

Start with better questions

ExamBee is a free question paper generator for CBSE, ICSE and Maharashtra State Board, Class 1 to 12. It draws from a bank of approved, chapter-wise questions and lets you pick easy, medium, hard or mixed difficulty — and every paper comes with an answer key, which makes item analysis faster when the scripts come back.

Start with your board: CBSE · ICSE · Maharashtra State Board.