How to read a histogram in photo editing

By Pixuvia · · Updated

Hands hold a Nikon camera whose rear screen shows a live view of a rocky mountain peak, with the shutter speed, aperture and ISO along the bottom.

A histogram is a bar chart of brightness. To read a histogram, scan it left to right from black (0) to white (255): the height at each point shows how many pixels have that brightness. A pile on the left means many dark pixels, a pile on the right many bright ones, and a pile pressed hard against either edge means detail lost to pure black or pure white.

There is no single correct shape. A histogram tells you where the tones of a photo are, so you can judge whether that fits the scene and decide what to fix. All the histograms below were counted from the real pixels of each photo, and the last section shows where to find one in the Pixuvia Editor.

On this page
  1. What does a histogram show?
  2. How do dark, bright and flat photos look?
  3. What is clipping in a histogram?
  4. RGB, luminance and channel histograms: what is the difference?
  5. Can a "bad" histogram be right?
  6. Where is the histogram in the Editor?
  7. Questions
  8. Sources

What does a histogram show?

Every pixel of an ordinary 8-bit photo stores a red, a green and a blue value from 0 to 255. A histogram sorts those values into 256 columns and stacks them up. It says nothing about where in the frame the pixels are: a dark sky and a dark coat land in the same column.

Opens the full-size image: A meadow below a cloudy sky beside its histogram: a gray graph over a black-to-white ramp, labelled 0 = black on the left and 255 = white on the right, the height marked as the number of pixels at that brightness, and the range split into Shadows, Midtones and Highlights.
The parts of a histogram, drawn from the meadow photo's real pixels. Left is black, right is white, height is how many values have that brightness.

Photographers split the range into three loose zones. Shadows are the left third, midtones the middle and highlights the right third. The meadow photo has three hills: the dark wooded slope and grass shadows, the sunlit grass in the middle, and the clouds on the right. In numbers, 6% of its pixels are darker than a quarter of the scale and 20% brighter than three quarters.

How do dark, bright and flat photos look?

A dark photo piles up on the left, a bright one against the right edge, and a flat one in a narrow hill with gaps at both ends. Below, the meadow appears as shot, then made 1.7 stops darker and 1.5 stops brighter, next to a foggy lake that is naturally low in contrast.

Opens the full-size image: Four cards, each with a photo and its histogram: the balanced meadow spread across the range, the same meadow darker with its histogram ending two thirds of the way across, the meadow brighter with a wall of pixels at the right edge, and a foggy lake whose histogram is one narrow hill in the light middle.
Balanced, too dark, too bright and low contrast. The darker and brighter versions are the meadow photo with its exposure changed by us; the foggy lake is a separate photo. Numbers measured on each image.
  • Balanced: tones from the shadows to near white, average brightness 129 of 255. Only 0.1% of pixels touch white, where the sun shines through the clouds.
  • Too dark (underexposed): everything slides left; the average falls to 74 and the right third of the chart is empty. Brightening it later also brightens its noise.
  • Too bright (overexposed): everything slides right until it piles up against 255. Here 35% of the pixels hit white in at least one channel.
  • Low contrast: one narrow hill with gaps at both ends. In the fog photo the middle 99% of values sits between 79 and 235: there is no real black at all.

The dark and the low-contrast photos are easy to fix. The dark one only needs brightening, and a low-contrast photo has all its information, just squeezed together: Levels or Curves can stretch it out (Curves vs Levels shows how). The bright one is harder, because of clipping.

What is clipping in a histogram?

Clipping is detail lost at either end of the scale. A pixel can never be brighter than 255 or darker than 0. When light would push it further, it stops at the end, and every pixel that would have been a slightly different white becomes the same white. That is clipping. In a histogram it shows as a spike or a wall at the very edge.

Opens the full-size image: The brightened meadow photo with most of its sky and some sunlit grass painted bright coral, beside its histogram, whose right edge ends in a tall coral bar.
The brightened meadow with every clipped pixel painted coral. The sky that had soft gray clouds is now flat white, and the histogram ends in a wall at 255.

Clipped areas cannot be brought back by darkening: they just turn a flat gray. That is why photographers protect the highlights when they shoot, and why a RAW file, which keeps more range than a JPEG, can sometimes rescue a sky that the JPEG lost. The same applies on the left: shadows clipped to 0 become a solid black with no texture.

Some clipping is normal. The sun, a streetlight or a sparkle on water can be pure white, and the deepest shadow of a night scene can be pure black. Worry when the clipped area is large and was supposed to have detail: a sky, a white dress, a face.

RGB, luminance and channel histograms: what is the difference?

A luminance histogram shows one weighted brightness per pixel, an RGB histogram counts all three color values, and channel histograms show red, green or blue alone. Editors and cameras pick different ones, so they do not always agree:

  • Luminance turns each pixel into one brightness, weighted the way eyes respond: green counts most, then red, then blue. The common weights from the HD video standard ITU-R BT.709 are 0.2126 for red, 0.7152 for green and 0.0722 for blue.
  • RGB counts the red, green and blue values of every pixel together in one chart. This is what the RGB tab in the Editor's Levels and Curves shows.
  • Red, Green and Blue show one channel each. Some editors overlay all three in their own colors.
Opens the full-size image: Five histograms of the meadow photo: a white luminance histogram, a gray RGB histogram, then a red, a green and a blue histogram side by side, with the blue one peaking far to the left and again near the right.
The same meadow, five ways. Luminance and RGB are similar overall, while the single channels show that the grass holds little blue and the sky holds a lot.

Single channels matter because a color can clip on its own. A bright red flower or a blue neon sign can push one channel to 255 while the luminance histogram looks safe, and the result is a flat patch of color with no texture. If one channel's histogram hits the end and the others do not, that is what happened.

Channel histograms also expose color casts. In a neutral gray or white area, red, green and blue should be about equal. When one channel's hill sits consistently to the right of the others, the photo leans toward that color, which per-channel Levels or Curves can correct.

Can a "bad" histogram be right?

Yes, often. The rules of thumb above assume an average scene. Many good photos are not average, and forcing their histograms toward the middle ruins them.

Opens the full-size image: Two cards: a rainy night street with its histogram piled at the far left, average brightness 49, and a snow field under a blue sky with its histogram piled toward the right, average brightness 187.
A night street and a snow field. Both histograms look lopsided, and both match their scenes.
  • Night scenes lean left. In the street above, 77% of the pixels are in the darkest quarter of the scale and only 0.2% are clipped to black. Brightening it to an average histogram would turn a night into a muddy gray dusk.
  • Snow, sand and white backgrounds lean right. Over half the snow photo is in the brightest quarter, yet less than 0.1% of it is clipped. Pulling it to the middle would turn white snow gray, the same mistake a camera's automatic exposure often makes in snow.
  • Silhouettes and high-key portraits pile up at one end on purpose.
  • Fog and mist are low in contrast because the air is. Stretch them a little, but a foggy photo with deep blacks no longer looks foggy.

So read a histogram together with the photo. It is a measurement, not a grade: it tells you what is there, and you decide whether it is what the scene needs.

Where is the histogram in the Editor?

The Editor shows histograms inside its tone dialogs. Choose Adjustment > Levels… (Ctrl+L, Cmd+L on a Mac) or Adjustment > Curves… (Ctrl+M, Cmd+M): both draw the current layer's histogram, and the RGB, Red, Green and Blue tabs switch between the combined chart and single channels. As of November 2026 there is no separate Histogram panel.

Opens the full-size image: The Editor's Levels dialog open over a photo of a snow field under a blue sky: the RGB tab is selected and its gray histogram rises toward the right and stops just short of the right edge, with the black, gray and white handles below it.
Levels on the snow field: the histogram leans right but stops just before 255, so the snow is bright without being clipped.

Levels is the natural place to act on what you see, because its handles sit right under the histogram: drag the black and white handles to where the hill starts and ends, and the gray handle to brighten or darken the middle. For targeted fixes, use Curves, and to keep the change editable, add it as an adjustment layer (non-destructive editing explains why). Other terms used here, such as exposure and white balance, are in the photo editing terms glossary.

Questions

What should a good histogram look like?

There is no single good shape. A good histogram matches the scene: a night photo should lean left, a snow scene right. What to avoid is a large pile pressed against either edge where you expected detail, and empty gaps at both ends in a scene that had real blacks and whites.

What does it mean when a histogram touches the right side?

Some pixels are pure white: the highlights are clipped. A thin line there is usually a light source or a reflection and is fine. A tall wall means a large area, often the sky, lost all its detail and cannot be recovered from that file.

Is a histogram the same as exposure?

No. A histogram shows how bright the pixels in the final image are, which depends on exposure but also on the scene and any edits. A dark scene exposed correctly still has a histogram that leans left.

Why does my camera histogram differ from the one in my editor?

A camera usually shows the histogram of the JPEG preview it built from the shot, with its own color settings applied, and some cameras show luminance while editors often show RGB. The same photo can look slightly different in each, especially near the ends.

Where is the histogram in the Pixuvia Editor?

In the Levels and Curves dialogs, under Adjustment. Both show the current layer's histogram for RGB, Red, Green or Blue, and Levels puts its black, gray and white handles right under it. There is no separate Histogram panel.

Sources

How we measured: each photo was resized to 1500 × 1000 and its pixels counted with sharp. Clipped means a pixel with at least one channel at 255 (white) or 0 (black); average brightness is the mean BT.709 luminance. The darker and brighter meadow versions were made by scaling the exposure in linear light.