Attention and Memory Lab · version 1.0
Digit Memory Span
Watch a sequence of digits appear one at a time, then type it back. The sequence grows until you miss twice at one length. See your span and its limits.
In this activity digits appear one at a time and you type the sequence back in order, starting at three digits and adding one each time you get it right, until you miss twice at the same length. Your span is the longest sequence you recalled correctly — a way to see the limit of short-term memory in action, not a memory or IQ score.
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
Digits appear in the middle of the panel, one at a time, about one per second. When the sequence ends, type the digits back in the same order and submit. Spaces do not matter.
There is one practice sequence of 2 digits, with feedback. The scored part starts at 3 digits. Each correct answer adds one digit to the next sequence. A wrong answer gives you a second try at the same length; miss both tries at one length and the activity ends.
How the task works
Short-term memory holds a small amount of information for a few seconds — long enough to use it, not long enough to keep it. Repeating a phone number to yourself between reading it and dialling it is short-term memory at work.
In 1956 George Miller famously described a limit of about seven items, give or take two. Later work, reviewed by Nelson Cowan in 2001, argued that the true capacity is closer to four chunks, and that people reach seven for digits by grouping them and silently rehearsing. A digit span therefore measures a mix of storage, rehearsal and strategy, not one pure capacity.
How it is scored
Each scored sequence is either recalled exactly — every digit, in order — or not. There is no partial credit.
The length of the next sequence follows a fixed rule:
| After… | The next sequence is… |
|---|---|
| A correct answer | one digit longer |
| A first wrong answer at this length | the same length again |
| A second wrong answer at this length | not shown — the activity ends |
The scored part begins at 3 digits and stops at 12. Your span is the longest length you recalled correctly at least once.
A worked example
Seven scored attempts.
| Sequence | Length | Recall | Next |
|---|---|---|---|
| 1 | 3 digits | Correct | 4 digits |
| 2 | 4 digits | Correct | 5 digits |
| 3 | 5 digits | Missed | 5 digits |
| 4 | 5 digits | Correct | 6 digits |
| 5 | 6 digits | Correct | 7 digits |
| 6 | 7 digits | Missed | 7 digits |
| 7 | 7 digits | Missed | Activity ends |
3 digits correct, so the next is 4. 4 correct, so 5. 5 wrong, so 5 again — and this time correct, so 6. 6 correct, so 7. 7 wrong, so 7 again; wrong a second time, so the activity ends.
The longest length recalled correctly is 6, so the span is 6.
Limitations
- Strategy changes the number. Grouping digits into pairs or triples, or saying them silently, raises most people's span. That is part of what the task shows, and it is why a span is not a pure measure of capacity.
- Practice raises scores. Repeating the activity usually improves the result as you settle on a strategy, so a later run is not directly comparable with a first one.
- It is not a standardised test. Clinical and educational digit span tests use fixed sequences, spoken presentation, set rules and published reference data. This activity has none of those, and its result cannot be read against them.
- It is not an IQ, memory or health score. It does not assess memory problems, learning difficulties or anything clinical, and there is no reference data here to say what any span means for a particular person.
Version history
| Version | Date | What changed |
|---|---|---|
| 1.0 | First published. |
Sources
- Miller, G. A. (1956). The magical number seven, plus or minus two: Some limits on our capacity for processing information. Psychological Review, 63(2), 81–97. doi.org/10.1037/h0043158
- Cowan, N. (2001). The magical number 4 in short-term memory: A reconsideration of mental storage capacity. Behavioral and Brain Sciences, 24(1), 87–114. doi.org/10.1017/S0140525X01003922
- de Leeuw, J. R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behavior Research Methods, 47(1), 1–12. doi.org/10.3758/s13428-014-0458-y
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.