Home / Science / Social sciences / Psychology and psychometrics / Reaction time experimentsTool #722

Stroop test, flanker task and n-back online: reaction time experiment with CSV download (free)

Run a Stroop, Eriksen flanker or n-back task in your browser with keys or touch. Get mean and median reaction times on correct trials, accuracy, the congruency effect or n-back d′, with trimming rules and a CSV of every trial.

Keep it one tap away for everyday use.

Bookmark Reaction time experiments?

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

  1. Pick task
  2. Run trials
  3. RT summary
  4. CSV
Nothing is uploadedWorks offline once open

Choose a task

Use a quiet room and sit comfortably. Browser timing is approximate: screens, keyboards and touch screens add a delay of a few to tens of milliseconds, the same for every trial, so differences between conditions are more trustworthy than single reaction times. Results stay in this page only and are gone when you close or reload it.

What it does

This page runs three classic attention and memory experiments in your browser, times every answer and summarises the results the way a psychology lab report needs them. It is meant for class demonstrations, student practicals and trying out a design before building it in lab software. Nothing is uploaded or stored: the trials live in the page until you close or reload it, and you can download them as a CSV first.

  • Stroop: a colour word (RED, GREEN, BLUE, YELLOW) appears in coloured ink and you name the ink. When the word and ink disagree (incongruent), most people are slower and make more errors.
  • Flanker: five arrows appear and you answer the direction of the middle one. Neighbours pointing the other way slow you down.
  • N-back: letters appear one at a time and you press Space when a letter is the same as the one 1, 2 or 3 places back.

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

How to use it

  1. Pick a task and set the number of trials. For Stroop and flanker, choose the share of congruent trials (50 % is usual; a low share makes the effect bigger). For n-back, choose N, the share of targets and the pace.
  2. Press Start. On a computer, answer with the keys shown (R, G, B, Y for Stroop; the left and right arrow keys or F and J for flanker; Space for n-back). On a phone or tablet, tap the buttons under the screen. Esc or Stop ends a run early and keeps the trials done so far.
  3. Each Stroop and flanker trial shows a + for half a second, then the stimulus until you answer or 2 seconds pass. An n-back letter shows for half a second and you can answer until the next one.
  4. Read the summary, change the trimming rules if you like, and download the trials as CSV or the summary as an image, PDF or Word file.

What the numbers mean

  • Reaction time (RT) is measured from the frame in which the stimulus was drawn to the key press or touch, using the browser’s high-resolution clock. It is approximate: screens, keyboards and touch screens add a delay of a few to a few tens of milliseconds. That delay is about the same on every trial, so differences between conditions are much more reliable than single times.
  • Mean and median RT use correct trials only. Answers faster than the fastest RT kept (150 ms by default) are treated as anticipations, and slower than the slowest kept (3000 ms) as lapses. The optional SD rule also drops RTs more than 2, 2.5 or 3 standard deviations from their condition’s mean.
  • The congruency effect is the mean RT on incongruent trials minus congruent trials. The table also gives medians, SDs and accuracy for each condition.
  • For n-back, d′ compares hits (Space on a target) with false alarms (Space on a non-target), with 0.5 added to each count so a perfect score still gives a finite value. The first N letters cannot be targets and are left out.

Worked example

Every run uses a fresh random order, so your numbers will differ. In a typical 40-trial Stroop run with 50 % congruent trials, a student might average about 650 ms on congruent and 720 ms on incongruent trials, a Stroop effect of about 70 ms, with 95 % correct. The summary shows “Stroop effect = 70 ms”, the table lists both conditions, and the chart plots each trial’s RT so slow outliers stand out.

Tips

  • Practise with 8 trials first, then do a real run of 40 to 100.
  • Use the same device for everyone you compare, and close other tabs.
  • The Stroop task needs colour vision; use the flanker task for anyone who finds the colours hard to tell apart.

Frequently asked questions

Is it accurate enough for research? For teaching and pilot work, yes. Published studies usually use dedicated software with checked display timing.

Where are my results kept? Only in this page. Reloading clears them, so download the CSV first.

Was the maths checked? Yes. The summary statistics were compared with pandas and the n-back d′ with SciPy.

Where the numbers come from

  • Task designs: Stroop (1935), Eriksen and Eriksen (1974) flanker task, Kirchner (1958) n-back. Trial lists are generated at random in the page.
  • Summary formulas: standard descriptive statistics; n-back d′ with the log-linear correction (Hautus 1995).

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. Signal detection calculator #721 Work out d′, criterion c, β, A′ and B″ from hits, misses, false alarms and correct rejections, for one table or a whole study, with log-linear or 1/2N corrections. Fit an ROC curve to confidence ratings and get Az and the z-ROC slope. Staircase and threshold fitter #725 Simulate or run 1-up-2-down, 1-up-3-down and weighted staircases, then fit a logistic, Weibull or cumulative normal psychometric function with guess and lapse rates by maximum likelihood. Get the threshold with a bootstrap 95 % interval. Memory and attention tasks #727 Run a digit span or Corsi block test (forward or backward), a visual search task with search slopes, and simple or choice reaction time, in the browser. Get scores, a results table for the session and a CSV of every trial. Eye-tracking heat map #728 Open a gaze export (time, x, y), find fixations with the velocity (I-VT) or dispersion (I-DT) method, and see a heat map and scanpath over your own stimulus picture. Draw areas of interest to get dwell time, time to first fixation, fixation counts and visits. Download CSV and PNG. Nothing is uploaded.