Attention and Memory Lab · version 1.0
Stroop Effect Experiment
Try a short Stroop-style task and explore how conflicting information affects responses. View your results with an explanation and timing limitations.
In the Stroop task you name the ink colour of a colour word, and responses are usually slower and less accurate when the word and the ink disagree — RED printed in blue — than when they match. This activity shows your own difference in milliseconds, worked out from correct responses only, as a way to see the effect rather than to score it.
Not a test of you. This activity shows how a classic psychology task works. It gives no diagnosis, IQ, brain age or comparison with other people, and a browser cannot time responses the way laboratory equipment can.
Your earlier runs on this device
| When | Input | Result |
|---|
Instructions
A colour word appears in coloured ink. Respond to the colour of the ink and ignore the word. If you see the word GREEN printed in red, the right answer is red.
Respond with the keyboard — R for red, B for blue, G for green, Y for yellow — or with the four labelled buttons. The first 8 trials are practice, with feedback. Then there are 48 scored trials: half where the word matches its ink and half where it does not, in a random order.
How the task works
For a practised reader, reading a word is close to automatic. You cannot easily see the word GREEN without the meaning arriving. Naming an ink colour is slower and needs deliberate attention, so when the word says one colour and the ink shows another, the automatic reading competes with the answer you are trying to give.
J. Ridley Stroop published the effect in 1935. It has since become one of the most replicated findings in psychology — a review in 1991 counted hundreds of studies — and it is widely used to study attention and the control of automatic responses.
How it is scored
Only the 48 test trials count. They fall into two conditions:
| Condition | What it looks like | Example |
|---|---|---|
| Congruent | The word and its ink match | RED in red |
| Incongruent | The word and its ink differ | RED in blue |
For each condition the page reports accuracy — the share of trials answered correctly, with a trial that runs out of time counted as an error — and the median response time of correct answers only. An error's response time is the time taken to be wrong, which is a different thing, so it is left out.
Your Stroop effect is the incongruent median minus the congruent median, in milliseconds. Medians are rounded to the nearest millisecond before they are subtracted.
A worked example
A shortened illustration with 6 trials in each condition, so the working fits in a table. One incongruent trial is an error.
| Trial | Condition | Answer | Time |
|---|---|---|---|
| 1 | Congruent | Correct | 612 ms |
| 2 | Congruent | Correct | 588 ms |
| 3 | Congruent | Correct | 640 ms |
| 4 | Congruent | Correct | 575 ms |
| 5 | Congruent | Correct | 601 ms |
| 6 | Congruent | Correct | 630 ms |
| 7 | Incongruent | Correct | 712 ms |
| 8 | Incongruent | Correct | 745 ms |
| 9 | Incongruent | Correct | 698 ms |
| 10 | Incongruent | Error | 801 ms |
| 11 | Incongruent | Correct | 730 ms |
| 12 | Incongruent | Correct | 688 ms |
Congruent: all 6 correct, so accuracy is 100%. In order the times are 575, 588, 601, 612, 630 and 640 ms; with an even count the median is the midpoint of the middle two, 606.5, which rounds to 607 ms.
Incongruent: 5 of 6 correct, so accuracy is 83%. The 801 ms error is left out, and the 5 correct times in order are 688, 698, 712, 730 and 745 ms — median 712 ms.
Stroop effect: 712 − 607 = 105 ms slower when the word and the ink disagreed.
Limitations
- Colour vision changes the task. Red and green are the hardest pair for the most common kinds of colour vision deficiency. If you find those two hard to tell apart, the activity is measuring that rather than the Stroop effect, and the result should be set aside.
- Screens do not show the same colours. Brightness, night-mode filters and colour settings change how the inks look, which can make one colour harder to identify than the others.
- A browser cannot time this precisely. Display refresh and input devices add delays that vary between machines and are not measured here. The effect is a difference between two conditions on the same device, which cancels some of that out, but not all of it.
- The task reads in English. The effect depends on reading the words automatically. For someone who does not read English fluently, the words interfere less, and the result says more about reading than about attention.
- It is not a diagnosis. The Stroop task is used in research, but a short browser run is not a clinical assessment of attention or anything else, and there is no reference data here to interpret a number for a particular person.
Version history
| Version | Date | What changed |
|---|---|---|
| 1.0 | First published. |
Sources
- Stroop, J. R. (1935). Studies of interference in serial verbal reactions. Journal of Experimental Psychology, 18(6), 643–662. doi.org/10.1037/h0054651
- MacLeod, C. M. (1991). Half a century of research on the Stroop effect: An integrative review. Psychological Bulletin, 109(2), 163–203. doi.org/10.1037/0033-2909.109.2.163
- Bridges, D., Pitiot, A., MacAskill, M. R., & Peirce, J. W. (2020). The timing mega-study: comparing a range of experiment generators, both lab-based and online. PeerJ, 8, e9414. doi.org/10.7717/peerj.9414
The activity runs on jsPsych, used under the MIT licence — see open-source licences. Results are stored only in your browser; the privacy policy sets out what analytics receives.