Too fast to be fair
Sprint racing has a curious rule. Leaving the blocks before the gun is a false start, of course. But moving after the gun, if less than a tenth of a second after it, is also a false start: you heard the gun, you moved, and you are still disqualified.
Why? Because it is believed that a human cannot genuinely react to a sound in under about 0.1 s. Anyone faster was not reacting to the gun but guessing when it would go off.
The delay between a stimulus and the start of your movement is your reaction time. Here you measure your own, many times, for something you see and something you hear. "Are eyes or ears faster?" is only the front door. Behind it wait harder questions: why is the number different every time, and can a computer even measure this properly?
From light in the eye to a moving finger
Between the flash of light and the movement of your finger, a chain of events happens inside you. A sense organ turns the stimulus into an electrical signal. For light this is done by the photoreceptors of the retina, and for sound by the hair cells of the inner ear. The signal travels along sensory nerves to the brain, the brain decides "that's it!" and issues a command, and the command travels along motor nerves to the muscles, which contract and move your finger.
Let's try a thought experiment. Suppose nerves carried signals the way a wire does, at a good fraction of the speed of light. Then a signal would cross the 1.7 m from your toes to your head in a few nanoseconds. Real nerves are far slower. Large myelinated fibers conduct at some tens of meters per second, so each meter takes some tens of milliseconds. Even so, that is only a small part of the roughly 200 ms total; most of the time goes into turning the stimulus into a signal and processing it in the brain.
Hermann von Helmholtz took that question to the laboratory. In 1850 he showed that signals in a frog's nerve travel at a finite speed of some tens of meters per second, and he tried similar measurements in people at about the same time. For the first time, the question of whether nerves act instantly got a number for an answer.
In biology you learn how nerve impulses travel along neurons and cross synapses. The knee-jerk reflex does not wait for a decision in the brain, so it is much faster than a deliberate key press; comparing the two gives you a feel for how long deciding takes.
Many experiments report simple reaction times of roughly 200 ms for a visual stimulus, and a few tens of milliseconds less for a sound. Doesn't that seem backwards? Light is about a million times faster than sound, yet the ears win. Over a meter or less, though, both arrive almost instantly, so the race is won inside the sense organs. Hair cells produce a signal directly when their tiny hairs are tilted, whereas photoreceptors must run a cascade of chemical reactions after absorbing light; this is thought to be one reason. Individual differences are large, and your times change with sleepiness, attention and practice.
From an observatory to the psychology lab
Reaction time became a scientific problem thanks to astronomy. At the Royal Observatory in Greenwich in the late eighteenth century, observers timed the moment a star crossed a line in the telescope by watching the star while listening to the beats of a clock. According to Maskelyne's own account, in 1796 the Astronomer Royal, Nevil Maskelyne, found that his assistant David Kinnebrook's times differed from his own by about 0.8 s; since Kinnebrook could not correct the difference, Maskelyne dismissed him. The story has come down to us mainly through Maskelyne's side, and historians have since used Kinnebrook's own letters to look at it again.
The episode was dug up about twenty years later by the German astronomer Friedrich Bessel. From around 1820 he compared his own records with those of other astronomers, found that even skilled observers differ from one another by consistent amounts, and reported it in 1823. The difference later came to be called the "personal equation", a phrase Bessel himself never used. The lesson was not that Kinnebrook was careless, but that every person needs a characteristic time to see and judge. Astronomers fought back with automated recording and with statistical treatment of many observations.
In the 1860s the Dutch eye doctor and physiologist Franciscus Donders compared simple reactions with reactions that require a choice and used the difference to estimate how long choosing takes. This was his subtractive method, published in 1868. Timing an invisible mental process with a clock was a bold idea. Wilhelm Wundt, once Helmholtz's assistant, founded the first formal laboratory for psychological research at the University of Leipzig in 1879, and reaction-time experiments flourished there. Wundt's personal library, by the way, was put up for sale after his death, and in 1926 Tohoku Imperial University in Sendai, Japan, bought it. The collection, about 60% of the books he gathered in his lifetime, is still in Tohoku University's library. So a story that began with an observatory assistant's "mistake" became one of the pillars of a new science, experimental psychology.
Can a computer time you properly?
Call the time of the response and the time of the stimulus . Written as plainly as possible, the reaction time is
The simulation does this subtraction with the browser clock performance.now(), which ticks finer than a millisecond, and the time stamps of key presses and touches. Easy, right? The catch is that we don't know , the time of the stimulus, exactly.
A screen is only redrawn at fixed intervals: a 60 Hz display redraws every . When the program asks for the square to light up, it can only appear at a later redraw, and the display adds its own delay on top. Keyboards and touch screens also poll at fixed intervals, and sound needs time to leave the speaker. So which delays end up inside the measured ? In this simulation's method, is the moment the square was drawn, or the estimated output time of the tone, and is the event's time stamp. With that, it sorts out like this:
| Stage | Included in the measured ? |
|---|---|
| Waiting from the request to the next screen redraw | No. The drawing time is used as |
| From drawing to the screen actually lighting up | Yes. It differs between devices and is not subtracted |
| Eyes, nerves, brain and muscles: your real reaction time | Yes |
| The keyboard or touch screen registering the press | Yes. It differs between devices |
| From the request to play a tone until the speaker sounds | Mostly no. The estimated output time is used as , but the estimation error remains |
So while timing yourself you also time a bit of your screen and keyboard. That is why you should not compare numbers from different devices directly; change one condition at a time on the same device.
In games and music apps, latency in picture and sound can make or break the experience, hence 120 Hz displays and low-latency audio.
Timing with a ruler
You don't even need a computer. Have a friend drop a ruler and catch it after it has fallen a distance . The ruler starts from rest and accelerates at , so after a time its speed is . Its average speed over that time is halfway between 0 and , namely , so the distance fallen is . Solving for :
If , then .
So the ruler-drop test is a free-fall problem, and the speed of sound matters too: sound takes about 3 ms to travel one meter. In sprint races the starting signal is said to be played through a loudspeaker behind each lane so that no runner hears the gun later than the others.
Making sense of numbers that never repeat
With many trials, statistics helps. For values the mean is , the median is the middle value after sorting, and the standard deviation is
Why divide by instead of ? We would like to measure the spread around the true average, but all we have is , computed from the same data. Because sits right in the middle of the data, the sum of squared deviations from is, on average, a little smaller than it would be around the true average, because the deviations from are tied together: they always add up to zero. Dividing by makes up for that. The full proof comes in university statistics.
Reaction-time distributions are usually lopsided: there is a physiological limit on how fast you can be, but a daydreaming trial can be as slow as it likes. So the slow tail is long, and the mean usually exceeds the median.
In mathematics and information studies, means, medians, standard deviations and histograms summarize scattered data, and what to do with outliers, like that daydreaming trial, comes up wherever data are handled.
Why choosing takes longer
So far we have looked at simple reactions: press as soon as something appears. What about a choice reaction, such as "right for red, left for green", where you must choose before you press? It takes longer. In the nineteenth century Franciscus Donders took the difference to be the time needed to choose:
This is the subtractive method. With more alternatives the time grows further, but doubling the alternatives does not double the time. In 1952 William Hick showed that both Julius Merkel's nineteenth-century measurements and his own experiment, in which he was the subject and used ten lamps and ten fingers on ten keys, followed the logarithm of the number of alternatives. A year later Ray Hyman reported very similar results.
Here is where the logarithm comes from. In a game of yes-or-no questions, three questions are enough to find one card among eight if each question halves the pile, since . In general, picking one of possibilities takes yes-or-no splits, and that is the information unit, the "bit". Hick supposed that the brain takes in information at a constant rate, spending a fixed time on each split. Counting possibilities, the choices plus the case "no signal", he fitted
Hick wrote it with common logarithms, but changing the base of the logarithm only changes the value of . The stands for an extra uncertainty: you don't know only which signal will come, you also don't know whether a signal is coming at this moment at all. The form you will usually see in textbooks today adds a time for sensing, moving and so on, which does not depend on the choices: . Hyman, who also made some alternatives more likely than others, showed that reaction time grows in proportion to the information carried by the stimulus, in bits: . For equally likely alternatives, . In every version, doubling the choices adds only one more question. It is an empirical rule for average behavior, though; practice, and how natural the pairing of stimulus and response is, change it too.
Psychologists have studied Hick's law, the formula above, which says that the more choices there are, the slower the reaction. They have also studied the effect of preparation: if you can predict when the signal comes, you respond faster. Hick's law is also often cited when designers decide how many buttons or menu items an app or website should show.
From false starts to sleep tests
In sprinting, the starting blocks at major meets contain sensors, and moving less than 0.100 s after the gun counts as a false start. Since 2010, except in combined events, a single false start has meant disqualification. Yet a 2009 study commissioned by the sport's governing body, which measured seven national-level Finnish sprinters, confirmed earlier reports that reactions to the sound can be as fast as about 0.08 s, and recommended lowering the limit to 0.080 or 0.085 s. Where to draw the line for human limits depends on how you measure. The "under 100 ms" rule in this simulation follows the same idea.
When you drive, the distance your car travels between noticing a danger and the brakes starting to work is called the thinking distance. If your reaction takes 1 s, then at 60 km/h, which is about 16.7 m/s, the car covers about 17 m before it has slowed down at all.
Reaction time also guards health and safety. The psychomotor vigilance task, a test in which you keep responding to lights that appear at random moments for a stretch of time, is widely used in sleep research: as sleep debt builds up, responses become slower and less consistent, and wrong responses increase. Driving after an all-nighter is dangerous not as a matter of attitude but as something you can measure.
Measure your own reactions
- Under "Stimulus", choose "Visual (square lights up)" and press "⏱ Start measuring". After "On your marks" and "Set", press the space bar or tap the square as soon as it lights up. Do ten trials.
- Choose "Auditory (tone)" and repeat. But first, predict: which median will be smaller? Compare them in the "Results" table in the panel and in the histogram on the right of the canvas.
- Is your histogram symmetric? Why do the mean and the median differ?
- Turn on "Keep the waiting time constant (the minimum)", so that the wait is always the same. Do you get faster? Do you make more false starts? A predictable wait lets you press by prediction instead of reaction.
- Press "Try rhythm tapping" and tap along with a steady beat. Most people tap slightly before each beat. If a reaction takes about 200 ms, how can the offset be negative?
- Export the raw data with "Export CSV" and make your own graphs in a spreadsheet.
Reaction or prediction?
Reaction time includes the sense organ, nerve conduction, processing in the brain and the movement of the muscles, and nerve conduction is only one part. Your measured values also contain the display refresh, which comes in steps of about 16.7 ms at 60 Hz, and the delays of the input device, so compare results on the same device. Reaction times vary from trial to trial and their distribution has a long slow tail, so look at the median and the spread, not just the mean.
An observatory assistant's "delay" led, through Bessel's personal equation, Helmholtz's nerve speed and Donders's subtractive method, to a science that measures the mind in time. That idea lives on in sprint start judging, sleep-deprivation testing and the way game screens are built.
Reacting and predicting are different things. So when a tennis player returns a 200 km/h serve, how much of that is reaction, and how much is prediction?
Sources and further reading
Main sources for the facts mentioned above.
- F. C. Donders, On the speed of mental processes (English translation of the 1868 paper), Acta Psychologica, 1969
- W. E. Hick, On the rate of gain of information, Quarterly Journal of Experimental Psychology, 1952
- R. W. Proctor & D. W. Schneider, Hick's law for choice reaction time: A review, Quarterly Journal of Experimental Psychology, 2018 (Hick's experiments, the meaning of the "+1" in b log(n+1), Hyman's a + bH; authors' copy)
- R. Hyman, Stimulus information as a determinant of reaction time, Journal of Experimental Psychology, 1953
- D. F. Dinges & J. W. Powell, Microcomputer analyses of performance on a portable, simple visual RT task during sustained operations, Behavior Research Methods, Instruments, & Computers, 1985 (the vigilance task)
- C. Hoffmann, Constant differences: Friedrich Wilhelm Bessel, the concept of the observer in early nineteenth-century practical astronomy and the history of the personal equation, British Journal for the History of Science, 2007 (Bessel's 1823 report)
- Science Museum Group, Helmholtz pendulum (Helmholtz's time measurements)
- H. Schmidgen, Of frogs and men: the origins of psychophysiological time experiments, 1850–1865, Endeavour, 2002 (Helmholtz's 1850 measurements in frogs and humans; University of Regensburg repository)
- Tohoku University Library, Introduction to the Special Collections (the Wundt Collection, bought in 1926)
- World Athletics, IAAF Sprint Start Research Project: Is the 100ms limit still valid?, 2009 (the study commissioned by the IAAF)
- World Athletics, The disqualification of Usain Bolt, 2011 (the one-false-start rule in force since January 1, 2010)
Further reading (encyclopedia):