Test Item Analysis Calculator (Difficulty and Discrimination)
Analyse test questions with the difficulty index (p) and the upper–lower discrimination index (D), with Ebel's guidance on which items to revise.
Planning estimates only. Institutions set their own credit, grading and assessment rules, which take priority.
What is test item analysis?
Item analysis checks how well each test question works. The difficulty index is the proportion of students who answered correctly, and the discrimination index compares how often high and low scorers got it right, showing whether the question separates students who know the material from those who do not.
How to use this calculator
Sort the papers by total score and take the top and bottom groups, usually 27% of the class each. For each question, enter how many students in the whole class, the upper group and the lower group answered it correctly. Add one row per question.
Formula
Difficulty index p = correct answers ÷ number of students. Discrimination index D = (upper correct − lower correct) ÷ group size. Ebel's guide: D ≥ 0.40 very good; 0.30–0.39 reasonably good; 0.20–0.29 marginal; below 0.20 poor.
Terms in the formula
- p
- Difficulty index: proportion answering correctly.
- D
- Discrimination index: upper minus lower proportion correct.
- Upper and lower groups
- Top and bottom scorers, usually 27% each.
Understanding your result
Good questions usually have moderate difficulty and a discrimination index of 0.30 or more. Low or negative discrimination flags questions to review for errors, ambiguity or misleading options. Item statistics from small classes vary a lot, so look at patterns across tests before discarding a question.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewAlizaBS Statistics, Educational Professional
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is a good difficulty index?
For most classroom tests, items with p between about 0.30 and 0.80 give the most information. Very easy (above 0.90) or very hard (below 0.30) items tell you little about differences between students.
What is a good discrimination index?
Ebel's widely used guide is 0.40 or more very good, 0.30–0.39 reasonably good, 0.20–0.29 marginal and below 0.20 poor.
Why use the top and bottom 27%?
Kelley (1939) showed that groups of about 27% balance two aims: making the groups as different as possible and as large as possible. For small classes, halves or thirds are also used.
What does a negative discrimination index mean?
More low scorers than high scorers got the question right. Check for a wrong answer key, an ambiguous question or a misleading option.
Should I remove every item with low discrimination?
Not automatically. Easy items on essential content can be kept on purpose. Use the indices to find questions worth reviewing, then use professional judgement.
Can I analyse multiple-choice distractors too?
This calculator covers the whole item. To review options, count how many upper and lower students chose each wrong answer: a good distractor attracts more low scorers.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Ebel, R. L., & Frisbie, D. A. (1991). Essentials of educational measurement (5th ed.). Prentice Hall. View source
- Kelley, T. L. (1939). The selection of upper and lower groups for the validation of test items. Journal of Educational Psychology, 30(1), 17–24. View source
- Haladyna, T. M., Downing, S. M., & Rodriguez, M. C. (2002). A review of multiple-choice item-writing guidelines for classroom assessment. Applied Measurement in Education, 15(3), 309–333. View source
- Rush, B. R., Rankin, D. C., & White, B. J. (2016). The impact of item-writing flaws and item complexity on examination item difficulty and discrimination value. BMC Medical Education, 16, 250. View source