Mach bands

A row of grey steps seems to change brightness at each edge; measure the effect here.Described by Ernst Mach in 1865.
Act III · Light and contrast
8
8

8 steps, each one flat grey, 21 levels (of 255) lighter than the one before, from 55 to 202. The thin light and dark stripes you see at the edges are not in the picture.

What you should see

Each step looks lighter near its darker neighbour and darker near its lighter neighbour. The steps are actually flat grey, with no bright or dark stripes printed at their edges.

Doesn't work for me?
  • View the row from a comfortable distance and let your gaze settle on it.
  • Look across the edges, then briefly look away and back.
  • Use “show the true profile” to compare the appearance with the brightness profile.

Why it works

An illustration of why the Mach bands works

Ernst Mach described the bands in 1865. The illusion takes its name from him. In this experiment, a row of flat grey steps runs from dark to light. The edges can seem to carry extra bright and dark stripes, even though those stripes are not printed on the figure.

Each step is printed in one flat grey. The bright and dark stripes at the edges are made by the visual system, which strengthens edges. In plain terms, the brightness change between neighbouring steps is emphasised near their shared boundary. The apparent stripes belong to how the row is seen, not to extra bands in the printed grey.

The comparison on this page lets you inspect your own perception: the steps can look uneven near their edges, while the true brightness profile shows their flat levels. What you notice can vary with the number of steps and with how the figure appears on your screen. The comparison is an experience, not a vision or medical test.

What changes the effect

Try changing the number of steps and compare how the edges look. You can also switch on “show the true profile” to see the brightness profile over the steps. Move between these settings and look again at the boundaries between neighbouring greys. The profile lets you compare the apparent edge bands with the actual brightness pattern.

Questions

What are Mach bands?

Mach bands are the bright and dark stripes that seem to appear at the edges of neighbouring grey steps. Each step is actually printed in one flat grey. The stripes are made by the visual system, which strengthens edges.

Why do grey steps look brighter at the edge?

The visual system strengthens edges between neighbouring tones. In this row, each flat grey step seems lighter near its darker neighbour and darker near its lighter neighbour. The apparent bands are not extra bright or dark stripes printed on the figure.

Who described the Mach band illusion?

Ernst Mach described the bands in 1865. The name “Mach bands” refers to this effect: bright and dark stripes seem to appear where grey steps meet, even though each step has one flat grey brightness.

Five questions.
Trust your eyes?

Take the 5-question test

Sources

  • Mach E (1865) Ueber die Wirkung der raeumlichen Vertheilung des Lichtreizes auf die Netzhaut. Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften Wien, math.-naturw. Classe 52(2): 303-322 · checked November 30, 2026