T-Maze Percent Correct Calculator

Enter per-trial choices and rewarded side schedule. Get % correct per block, learning curves, trials to criterion, and reversal learning analysis.

% CorrectReversal LearningCSV Export
Tool details, related tools, and citation

Try it out

Load example T-Maze data to see the full workflow

Configuration

Criterion = 8/10 correct

Add Trial

  • Compute % correct per block from per-trial left/right choice data in a T-maze position discrimination task
  • Track learning curves across blocks during acquisition and reversal phases
  • Determine trials to criterion for each animal and compare between groups
  • Analyze reversal learning by switching the rewarded side after criterion is reached
  • Compute mean choice latency per block as a secondary decision-making measure
  • Compare acquisition and reversal performance between treatment groups (e.g., WT vs. KO)
  • Export per-animal and group summary results to CSV for further statistical analysis

Don't use for

  • Spontaneous alternation (Y-maze or continuous T-maze without discrete trials) — use a spontaneous alternation calculator instead
  • Radial arm maze tasks with more than 2 choice arms — use a radial maze error calculator
  • Water maze or Barnes maze spatial reference memory — different paradigm, different metrics

What Is the T-Maze?

The T-maze is one of the oldest and most straightforward maze paradigms in behavioral neuroscience, first used systematically in the early 20th century. Its simplicity — a start arm leading to a binary left/right choice — makes it ideal for studying position discrimination, spatial reference memory, working memory (in delayed alternation variants), and reward-guided decision-making. The apparatus can be constructed with opaque walls and removable barriers or guillotine doors to control access. In the rewarded position discrimination task, one goal arm consistently contains a food reward, and the animal must learn to choose the correct side across multiple trials. The T-maze is widely used in mice and rats, with well-established normative data for various strains. Its simplicity also makes it suitable for high-throughput phenotyping, pharmacological screening, and lesion studies, particularly for hippocampal and prefrontal cortex function.

The Discrete-Trial Procedure

In the discrete-trial T-maze task, each trial is a single decision event. The animal starts in the start arm behind a closed door. When the door opens, the animal runs forward and enters either the left or right goal arm. If the animal chooses the rewarded arm, it consumes the food reward (typically a small pellet or sweetened condensed milk well). If it chooses the unrewarded arm, it encounters an empty well and is removed after a brief confinement period. The animal is then returned to a holding cage for an inter-trial interval (ITI), typically 15-30 seconds. Trials are grouped into blocks, commonly 10 trials per block, and sessions typically consist of 1-4 blocks (10-40 trials) depending on the protocol. Key experimental controls include: (1) pseudo-random reward schedules to prevent side biases (e.g., no more than 3 consecutive rewarded-left trials), (2) cleaning the maze between trials to eliminate odor cues, and (3) consistent handling procedures. The primary outcome is percent correct per block. Secondary outcomes include choice latency (time from door opening to arm entry) and errors of commission vs. omission.

Reversal Learning in the T-Maze

Reversal learning is a critical extension of the basic T-maze position discrimination task. Once the animal reaches a predetermined learning criterion (e.g., 80% correct for one block) on the initial acquisition, the contingencies are reversed: the previously unrewarded arm now contains the reward, and the previously correct arm is now empty. The animal must inhibit the previously learned response and acquire the new rule. This dissociation is experimentally powerful because initial acquisition depends primarily on the hippocampus and dorsal striatum, while reversal learning additionally recruits the orbitofrontal cortex (OFC) and ventromedial prefrontal cortex (vmPFC). Animals with OFC lesions or serotonergic depletion typically show normal acquisition but impaired reversal — they perseverate on the previously correct side for more trials. The key metrics for reversal learning are: (1) trials to criterion on reversal (compared to acquisition), (2) the number of perseverative errors (choosing the previously correct, now incorrect, side) in the first reversal block, and (3) the shape of the reversal learning curve, which typically shows an initial dip below chance (perseveration) followed by recovery. Comparing acquisition trials-to-criterion with reversal trials-to-criterion quantifies cognitive flexibility.

Frequently Asked Questions