what is a histogram
understanding how to use a histogram

You've heard the term mentioned several times, but what is a histogram in photography and why do you need to know anything about histograms?  This post will help you understand what histograms are, why you should use them, and how to evaluate your exposure by looking at your histogram.

For much of the digital photography you do, you're not going to need to look at your image's histogram. So why do you need to know the meaning of a histogram? Stay with me here for a second. Particularly with many average scenes that you photograph, digital cameras usually get the exposure just about right. It's an auto-exposure technology, right? Does it work perfectly? No.

Well, getting the perfect exposure most of the time is okay for some photographers, but, not you and me. It's frustrating when the camera doesn't quite get the done right. We're looking for a basic understanding of how looking at a histogram will help us adjust the exposure to give us the perfectly exposed photograph. This article will give you the understanding you need.

If you can spare 5 minutes, I found this video that does a super job of explaining simple histograms. It doesn't cover color histograms in detail-we'll dive into that in a minute. If you watch this video you'll really get a great understanding of what a histogram is and how you can get the advantage of using it.

There are certain special situations when histograms are extremely valuable, not just for doing a quick check of the exposure. Histograms are great tools for using an advanced technology, but with a little of your common sense mixed in with practical thinking. Here's an example of what I mean by that.

histogram examples


Look at the family portrait below and its histogram to the right. If you watched the video above you understand that we generally don't want any of our pixels to be "clipped" off of the graph on the left side or the right side. In the family portrait, the part of the photo that really matters to us is our subject's faces.

Histogram of outdoor portraitHistogram revealed clipped highlights
but they were of the white wall in the sunlight behind my subjects.


A basic understanding of what they are and how histograms are used will help you improve you ability to get the right exposure when your camera's auto-exposure fails you.


definition of histogram in photography

A digital photography histogram is a graph that shows us the relative number of pixels from the darkest shadow areas of a photo through the brightest areas in that photo.

Digital camera meters and their built in processing software do a great job of estimating the correct exposure most the time. When you have an unusual subject or unusual lighting situation, these graphs are very valuable to help you understand how your photo was actually exposed.

Unusually dark or light subjects as well as situations of very high or very low contrast dictate the use of using a histogram. The two major warning signs show when the dark areas of the graph press against either side of the histogram. These are the two most common red flags that indicate a need to adjust the exposure. Look at the 3 histogram examples below each one of the photographs of my sleepy dog below.

Diagram of histogramsComparison of three histograms for three different exposures. In the underexposed image on the left, the shadows have been "clipped" off of the histogram graph. In the overexposed image on the right, the bright highlights have been "clipped" off of the histogram graph.

You can see the three examples above with the snapshots of my dog "Mocha" sleeping on my office floor. The histograms for each photo are directly below them. In the left photo, it is clearly underexposed because the graph underneath that dark photo show a significant amount of the black area is touching the left side of the graph. If you kept the exposure at this level, you would lose details in the shadow areas and brightening when we do our photo editing would reveal lack of detail and too much digital noise in the edited photo.

The middle photo is properly exposed. The photo on the right is overexposed. It looks "about right" but if we look at the histogram we can see that the graph has an area that is against the right side of the graph. In this situation we have lost details in the highlight areas. Those highlight details are lost forever and can not be fixed with editing afterwards.

Dark histogram

This photo of the the dog is perfectly exposed. The histogram shows a large amount of dark pixels in the photo.

This leads the biggest mistake that you can make when it comes to understanding your histogram. Here's the warning. At a quick glance, you might think the image is underexposed, but it's not. When you see that most of the photograph's pixels are to the left-that's large amount of black shown in the shadow areas-you think the photo is too dark.

Most of the tones in this photograph are dark because the subject and the background ARE both dark. The histogram should most of the area of the photograph on the left side of the graph. Remember, the areas to the left are shadows and the are to the right are the lighter areas. The dark areas are not pressed up against the edge of the histogram.It is not under exposed.

The highlights, although they are few in number are properly showing at the right end of the histogram. There are also no black areas in the graph that is touching the left side of the histogram.

Once you get a basic understanding of them, digital photography histograms can be analyzed with a quick glance and you can adjust your exposure up or down with a quick adjustment of your camera settings.

The best way to learn more about them is to look at your histograms after taking several different photos with different subjects. You can have some fun by guessing ahead of time what your graph will look like. You will be surprised how much this will help you in those situations that need extra attention in getting the correct exposure for your digital photos.


what is a histogram in color

Color histograms are a bit more sophisticated. They show pixels for the three separate color groups that make up our visual spectrum, red, green, and blue light. Digital camera sensors actually are built with separate red, green, and blue sensitive pixels and the cameras combine them to give us all of those millions of different colors in the color spectrum.

The histograms shown earlier in this article are the simplest and most commonly used for the majority of photographers. You can see both the color and the simple histogram that came from this photo of the red rose.

With subjects that are highly saturated with one of the three color groups, one of the colors may actually be overexposed. This color histograms of the red flower shows the red pixels are pushed off the scale. These overexposed red pixels are not revealed in the simple combined histogram.


Color Histograms can reveal color imbalances

In the following histogram, the blue pixels are squished up again the right edge of the histogram. The camera was erroneously set to a tungsten color balance for an outside photo of a ski slope and resulted in overexposing the blue pixels.

Color and simple histogram on camera LCD screenHistogram revealed that tungsten color setting resulted in a bad color balance.

You can take a quick glance at a color histogram after you take a photo and you'll see if all three color groups are within the border of your histogram. If they're not, you know you need to make an adjustment. If you found this article about histograms worthwhile, please share it on social media.



more articles on the web related to "what is a histogram "


Leave Histogram - Go to Digital Photography Tips Main Page

Go to other Photography Definitions