Home / Science / Social sciences / Education research / Item analysisTool #764

Test item analysis calculator: difficulty, discrimination index, point-biserial, KR-20, distractors (free)

Analyse a multiple-choice or right/wrong test in your browser: item difficulty, the upper-lower discrimination index, point-biserial and corrected item-total correlations, KR-20 reliability and a distractor table for every question.

Keep it one tap away for everyday use.

Bookmark Item analysis?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Paste
  2. Key
  3. Analyse
  4. CSV
Nothing is uploadedWorks offline once open

Test results

Made-up example: 30 students, 10 multiple-choice questions, with the key in the row labelled Key. Blank answers count as wrong.

What it does

After a test, item analysis tells you which questions worked: which were too easy or too hard, which separated students who know the material from those who do not, and which wrong options (distractors) did their job. This tool does the standard classical test theory analysis from a pasted table of answers, the way exam boards and teacher-education courses describe it. Everything runs in your browser, so student results never leave your computer.

It works well with the reliability and agreement, the publication plot maker and the sample size and power calculator.

How to use it

  1. Choose your data type. Answers and a key: paste the letters (or any short codes) students chose, one row per student and one column per question. Scored 1 or 0: paste right/wrong scores.
  2. Give the key in a row whose first cell is Key, or type it in the Answer key box (for example BDACABCDBA or B, D, A, C). Blank answers count as wrong.
  3. Upper and lower groups: 27 % is the classic choice (Kelley); 25 %, 33 % and 50 % are also used.
  4. Read the item table, pick a question to see its distractors, and download the item statistics or the students’ scores as CSV, or the full report with every distractor table.

What the numbers mean

  • Difficulty p is the share who got the question right. Between about 0.3 and 0.8 is typical for a class test; below 0.2 is marked very hard and above 0.9 very easy.
  • D (discrimination index) is p in the top group minus p in the bottom group. Ebel’s guide: 0.40 and up very good, 0.30 to 0.39 good, 0.20 to 0.29 marginal, below 0.20 poor.
  • Point-biserial is the correlation between getting the question right and the total score. The corrected r leaves the question out of the total, which is fairer for short tests. A negative value usually means a wrong key.
  • KR-20 is the reliability of the whole test (the same as Cronbach’s alpha for right/wrong items). KR-20 if dropped shows whether a question pulls it down. The standard error of measurement is SD × √(1 − KR-20).
  • Distractors: a good wrong option is chosen more by the lower group and has a negative correlation with the total. One that nobody picks, or that attracts strong students, should be rewritten.

Worked example

The made-up example has 30 students and 10 questions. The mean score is 4.30 of 10 (SD 2.60), KR-20 is 0.761 and the standard error of measurement is 1.27 marks. With 27 % groups, the top and bottom groups have 8 students each. Q1 is easy (p = 0.83) and still discriminates (D = 0.50). Q7 is very hard (p = 0.13). Dropping Q3 would raise KR-20 to 0.768, so it is marked. For Q10, the key A was chosen by 88 % of the upper group and none of the lower group, while B and C drew mostly weaker students: the distractors work.

Tips

  • With fewer than about 30 students, treat the numbers as rough guides, not verdicts.
  • Look at the question itself before dropping it: a hard question on an important topic may still belong in the test.
  • A negative corrected r on a question is the first thing to check: the key is often wrong.

Frequently asked questions

How are ties at the 27 % cut handled? Students are ranked by total score, and those tied at the cut are taken in list order, so the groups are always exactly the stated size.

Can I use true/false or text answers? Yes. Any short codes work, such as T and F.

Is my data sent anywhere? No. Everything runs in your browser and the page keeps working offline.

Where the numbers come from

  • Methods: classical test theory; Kelley (1939) 27 % groups; Kuder and Richardson (1937) KR-20 and KR-21; Ebel and Frisbie's guide for the discrimination index.
  • Example data: made up for this page.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Reliability and agreement #40 Check a questionnaire scale with Cronbach's alpha and item statistics, or rater agreement with Cohen's kappa (weighted too), Fleiss' kappa and all six intraclass correlations with 95 % intervals. Matches R's psych package. Sample size and power calculator #32 How many subjects, samples or survey responses do you need? Sample size for comparing two means, paired data, two proportions, or a survey's margin of error, with power curves. Matches R and G*Power. Publication plot maker #27 Paste columns or open a CSV or Excel file and get a clean scientific figure with error bars, sized for a journal column. Download vector SVG or PDF, or PNG at 300 or 600 dpi. Your data stays in your browser. Questionnaire scorer #723 Score a questionnaire in your browser: reverse-keyed items, subscale sums or means, a clear rule for missing answers with prorating, Cronbach's alpha for each subscale and a CSV of everyone's scores. IRT item analysis #726 Fit 1PL (Rasch) and 2PL item response models to right/wrong test answers in your browser, by marginal maximum likelihood. Item difficulty and discrimination with standard errors, item characteristic and information curves, and an EAP ability score for every person. Effect size and learning gain #765 Work out Cohen's d, Hedges' g and Glass's delta with exact confidence intervals, paired effect sizes dz and dav for before-and-after studies, and Hake's normalised learning gain, from summary numbers or raw scores.