What is a histogram, and how do you use it?

Overcome photograph phobia with our simple guide to your camera’s histogram

what is a histogram how to use

Have you ever taken a photo and thought it looked great on your digital camera’s LCD, only to get home and discover an overexposed mess on your computer screen? Yuck.

It can be difficult to discern if an image looks good on a small, bright screen, but fortunately, there’s a tool you can use to determine whether your image is too bright or too dark: your camera’s histogram. This is a feature that used to be reserved only for more advanced cameras, but in recent years has been added to more and more base level units — even many phones.

Here’s how to get the most out of the histogram, which will let you get the correct exposure on your images — and ultimately let you ace your digital photography.

What is a histogram?

The dictionary definition of a histogram is a graphical representation of data distribution, usually displayed as a bar graph. In digital photography, this related to the pixels that make up your image, and a histogram on your camera displays where each pixel is distributed from pure black to pure white in terms of brightness. In practice, this looks like a chart with a series of peaks and valleys. The higher the peak, the more bright pixels. This is the tonal distribution of your image, and by reading it you can judge the exposure of your image on you camera’s LCD or EVF.

The histogram can usually be found on an image by image basis when you scroll through your photos (depending on your camera’s playback mode, it may or may not be on by default). Many cameras now also allow for a live histogram view, either on the rear LCD or — in the case of mirrorless cameras — on their electronic viewfinders. This is incredibly helpful, because you can watch your histogram change as you frame your image and adjust your exposure.

An example of a DSLR's histogram. (Image via Nikon)
An example of a DSLR’s histogram. (Image via Nikon)

How do you use a histogram?

Despite being one of the best ways to quickly and accurately judge your exposure, the histogram is often overlooked by amateur and novice photographers. After all, if you don’t know what it is, a histogram just seems like a weird graph, and many people have no idea how to use it to their advantage. Also, the “ideal” histogram is different for every shot and changes depending on the look you desire. So when you’re not comfortable with the histogram, there can be a lot of hesitancy to rely on it.

Luckily, on the most basic level, a histogram isn’t difficult to understand: The horizontal axis shows the tonal distribution (dark to light), while the vertical axis shows the number of pixels in a particular tone – and remember, the higher the peaks, the more pixels there are. The far left of the horizontal axis shows the darkest areas of the image, then moving to medium-gray in the middle and lightest on the far right. An image with a lot of light, for example, will see the graph’s data toward the middle and right of the histogram.

The histogram in this image shows that the majority of pixels are in the far left, indicating that
The histogram in this image shows that the majority of pixels are in the far left, indicating that there are a lot of dark tones.

You’ll lose details where your image is too bright or too dark, and you’ll notice if a photo is overexposed or underexposed in the histogram as missing pixel information on the far left or far right. This is when you should adjust your settings to compensate – try a different shutter speed, choose a larger or smaller aperture, increase or decrease the ISO, or adjust the exposure compensation.

Depending on the situation, sometimes an uneven distribution is OK. If you’re shooting snow, a white object, or something against a white background, the histogram will display more data points on the right. The opposite holds true when you’re shooting a dark scene or a black object. The key here is knowing what you want your image to look like and exposing it properly to get that result. On its own the histogram is just data, not right or wrong in any situation; you need the context of your desired image to gauge whether the data on the histogram will give that to you.

understanding-histogram-2
There’s obviously a lot of overexposure in this photo, and the histogram shows that.

The histogram is a not a foolproof tool for shooting perfectly exposed photos, because that’s not always possible. You can’t push a button and make a picture better – not even the camera’s auto setting is smart enough to do that. But think of it as a useful tool that tells you quickly what your photo’s exposure levels are, instead of just guessing by looking at the image on the LCD. As your photography improves and you learn to adjust the settings to compensate, you will learn to read the histogram better too.

You can also utilize the histogram in apps like Adobe Photoshop or Lightroom to improve image quality during post-processing. It can help you more accurately match the look and exposures of a series of images you may be editing, or even just analyze your images after a shoot to see how you may improve your photography.

Still unsure? Check out this video from Creative Live that demonstrates how the histogram works.

Mobile

OnePlus 6T vs. Honor View 20: We compare the cameras in these ‘flagship killers’

For less than $600, you can buy either the OnePlus 6T or the Honor View 20, two extremely capable smartphones with plenty of exciting features. But which one has the best camera? We found out on a recent trip to France.
Photography

From DSLRs to mirrorless, these are the best cameras you can buy right now

From entry-level models to full-frame flagships, many cameras take great photos and video. The best digital cameras, however, push the industry forward with innovative sensors and improved usability, among other things. Here are our…
Product Review

Nokia’s 3.1 Plus is an affordable phone that’s crippled by its camera

The Nokia 3.1 Plus is HMD Global’s first smartphone to be sold by a U.S. carrier in-store. It’s only available on Cricket Wireless right now, which underlines its focus on affordability. Should you buy a phone this affordable?
Product Review

Canon democratizes full-frame with the EOS RP, but keep your expectations low

At just $1,300, the RP is Canon's least expensive full-frame camera yet, but it was born into a world of high-end, high-cost lenses where it doesn't yet feel at home.
Emerging Tech

The best drone photos from around the world will take your breath away

Most of today's drones come equipped with high-end cameras, which are quickly revolutionizing the world of aerial photography as we know it. Here are some of the best drone photos from around the world.
Photography

Using A.I., Lightroom can now boost the resolution of RAW photos

Need to eek a bit more resolution out of a RAW file? Adobe Lightroom and Camera Raw can help with a new feature called Detail Enhance. The tool uses A.I. in the demosaicing process to enhance details and reduce artifacts.
Photography

Corel VideoStudio adds tools for customizing color in simple video edits

VideoStudio is Corel's more consumer-oriented video editor but the software recently gained advanced color correction tools. The update adds custom transitions, along with speeding up performance, and adding new shortcuts.
Photography

Tight on space? Here’s how to transfer photos from an iPhone to a computer

Never lose any of your cherished selfies or family vacation photos from your iPhone again by learning how to transfer photos from your iPhone to a computer, whether you want to use a cable or wireless transfer.
Computing

500px reveals almost 15 million users are caught up in security breach

Almost 15 million members of portfolio website 500px have been caught up in a security breach. The hack occurred in 2018 but was only discovered last week. Users are being told to change their 500px password as soon as possible.
Photography

Olympus packs an enormous zoom ability in its latest interchangeable lens

The Olympus Digital ED M.Zuiko 12-200mm F/3.5-6.3 has the widest zoom range of any interchangeable lens with a 16.6x zoom. The lens, which covers a 24-400mm equivalent, is also weather sealed.
Photography

Nikon brings a classic workhorse lens to the Z series with new 24-70mm f/2.8 S

The Nikon Z series finally has a bright zoom available without an adapter. The Nikkor Z 24-70mm F/2.8 S offers new coatings and more customizable controls in a smaller, lighter body than the comparable F-mount lens.
Photography

Nikon will bring eye-detection autofocus to the Z6 and Z7 in May

An upcoming firmware update will bring Eye AF to the Nikon Z6 and Z7 -- along with improved autofocus performance in low light. The update will also give the cameras support for the CFexpress format.
Photography

Fujifilm’s X-T30 is a semi-pro, feature-rich camera that’s affordable to boot

Fujifilm's newest mirrorless camera delivers the premium features of the X-T3 without the premium price, giving aspiring enthusiasts a lower-cost option that can still match the image quality of Fuji's flagship.
Photography

Fujifilm XP140 squeezes more durability, low-light ability into a waterproof cam

Fujifilm's waterproof compact can now head even further underwater. The Fujifilm XP140 features several upgrades, including a more durable body, a wider ISO range for low light, and expanded auto modes.