Gamma test
Find the grey patch that disappears into a single-pixel line pattern, and you have read your display gamma off the screen.
On a desktop, set browser zoom to 100 per cent and display scaling to 100 or 200 per cent, then this test will run. On most phones and tablets the ratio is fixed by the device and is often not a whole number, in which case the test cannot run there at all. The greyscale ramp and the near-black ladder work at any scaling and are the useful substitutes.
Esc to exit · arrow keys swap the line direction · sit back before judging
- Device pixel ratio
- —
- Pattern size
- —
- Reference
- 50% of panel maximum
The patch values are the sRGB levels a display of each gamma would render at half brightness: 1.8 is 174, 2.0 is 180, 2.2 is 186, 2.4 is 191, 2.6 is 195.
How to run this test
- Set browser zoom to 100 per cent. The test refuses to show patches at any other zoom, because a resampled line pattern is not a reference.
- Press Go full screen. A strip in a window is much harder to judge than a pattern filling the panel.
- Sit back. The line pattern has to blur into a flat grey before the comparison means anything, which happens at a normal viewing distance and not with your nose against the screen.
- Squint or defocus slightly, then find the patch that vanishes into the striped background.
- Read the gamma under that patch. If two neighbouring patches both look close, your gamma is between them.
- Repeat in the middle and at each corner. A gamma that changes across the panel is a viewing-angle property of the panel, not a setting you can correct.
What a problem looks like
- Every patch looks lighter than the pattern
- Your display is rendering the midtones brighter than the standard, which is gamma below 2.2. Text looks washed and dark detail looks flat. On Windows check the graphics driver gamma slider, and on any display check for a "dynamic contrast" or "eco" mode raising the low end.
- Every patch looks darker than the pattern
- Gamma above 2.2, which crushes shadow detail and makes images look contrasty. Some displays ship this way deliberately in a "movie" or "vivid" preset. Try the standard or sRGB picture mode first.
- The patches shift as you move your head
- Very common on TN and some VA panels, where gamma varies strongly with viewing angle. It is a property of the panel and cannot be calibrated away. Judge from straight on at the distance you actually use.
- The pattern never blurs into grey
- You are either too close or on a display that is not rendering one drawn pixel per physical pixel. Move back first. If it still shows distinct lines at a normal distance, check that browser zoom is at 100 per cent and that display scaling is a whole number.
- Both halves look identical everywhere
- Usually a sign the pattern is being resampled, which averages it prematurely. The tool checks for fractional scaling and refuses to run, but a remote desktop session or a screen recorder can resample without changing the device pixel ratio.
What to do next
If your gamma is far from 2.2 and you want it closer, look for a gamma setting in the display menu and a picture mode called standard or sRGB. Graphics driver gamma sliders work too, at the cost of banding. A colorimeter is the only way to do this properly.
Questions people actually ask
What is display gamma?
It is the curve that maps a number in a file to the light your screen emits. It exists because human vision is not linear: we notice small changes in dark tones far more than in bright ones, so image formats spend more of their range down there. The web and most content assume a gamma of about 2.2.
Why does the test use lines rather than a solid patch?
Because alternating black and white single-pixel lines average, in your eye, to exactly half the maximum light the panel can produce. That is a physical reference the display cannot misrepresent. A solid grey patch, by contrast, goes through the same gamma curve you are trying to measure, so it could not serve as the reference.
Why does it stop working when I zoom?
Zoom and fractional display scaling both resample the line pattern. One drawn pixel stops landing on one physical pixel, the lines blend into a grey that is no longer exactly 50 per cent, and every patch then matches something. Rather than hand you a confident wrong answer, the tool says it cannot measure at that setting.
Is this as good as a colorimeter?
No, and it is not close. A colorimeter measures light at many levels and builds a curve, then a profile corrects it. This gives you one point on that curve, read by eye, in your room. It is useful for spotting a display set far from the standard, and it is not calibration.
My gamma is 2.4. Should I change it?
Only if it bothers you. 2.2 is the web and sRGB standard, 2.4 is the reference for a dark cinema, and broadcast reference rooms use something close to it. If you watch film in a dark room, 2.4 is defensible. For a bright desk, 2.2 will show you more shadow detail.