Müller-Lyer Illusion
Two identical lines look like different lengths depending only on which way their arrow-like fins point - one of the most reliable size illusions ever tested.
What you're seeing
Two straight horizontal lines, exactly the same length. One has fins at each end pointing inward, like an arrowhead: >-<. The other has fins pointing outward, like a fletched arrow's tail: <->. Even once you know they're identical - even once you measure them yourself - the line with the outward fins keeps looking longer than the line with the inward fins. Use the slider above to shrink or stretch the outward-fin line until it looks equal to the other one, then hit reveal: most people land somewhere between 10% and 20% off, consistently in the same direction.
Why it happens
The Müller-Lyer illusion has outlasted more than a century of competing explanations, and the honest answer is that it's probably not caused by just one mechanism - several effects likely stack on top of each other.
The leading explanation is a depth-cue misapplication account: in the three-dimensional world, inward-pointing fins resemble the near corner of a room or a building (walls receding away from you), while outward-pointing fins resemble the far corner (walls receding toward you, like the outside edge of a building). Your visual system has spent a lifetime unconsciously correcting for perspective - an object's far edge that produces the same size retinal image as a near edge belongs to a physically larger object. Applied to a flat line drawing that isn't actually showing a room at all, that correction misfires, and the "far corner" line gets perceptually stretched.
A second contributing factor is simpler: the fins themselves add extra length to the overall figure the eye has to scan, and outward fins expand the total bounding box of the shape more than inward fins do, which can bias length judgments even without any depth interpretation at all. Eye-tracking studies show people's gaze naturally travels a longer path when scanning the outward-fin version, which correlates with the perceived-length difference.
What makes the Müller-Lyer illusion particularly useful to researchers is how robust it is - it survives when the lines are drawn with dots instead of solid strokes, when fins are replaced with circles or squares at each end, and even, to a lesser extent, when people trace the lines with their finger rather than judging them by eye alone. That combination of resistance to conscious correction and resistance to changes in exact stimulus shape is part of why it's one of the most-cited illusions in perception research.
Does it work on everyone?
Not equally. Cross-cultural studies from the 1960s onward (notably the work of psychologist Marshall Segall and colleagues) found that people raised in environments with fewer "carpentered" rectilinear structures - fewer straight walls, corners, and rectangular buildings - show a measurably smaller illusion effect than people raised in heavily built, rectangular urban environments. That result is one of the pieces of evidence supporting the depth-cue explanation: if the illusion partly comes from experience reading corners and edges, then less exposure to that kind of architecture should weaken it, which is roughly what the data shows.
A little history
German sociologist and psychiatrist Franz Carl Müller-Lyer published the illusion in 1889, as part of a broader set of geometric-optical illusion studies happening across German psychology labs in the late 19th century (alongside contemporaries studying illusions like the Ebbinghaus and Ponzo effects). It remains a standard tool in visual perception research today, precisely because it's so simple to generate variations of and so reliable across a wide range of viewing conditions.
Related reading
For two more illusions built on the same "context distorts perceived size" principle, see the Ponzo illusion and the Ebbinghaus illusion.