Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Image Processing
  3. Image Histogram
Add to favorites

Image Histogram

See the brightness and colour spread of any picture: shadows, midtones and highlights, clipped blacks and whites, and exact statistics, with CSV and PNG export.

Edits stay in your browserMore image processingJump to full guide

Initializing in your browser…

You might also like

Image to Base64

Turn an image into Base64 text or a data URL to embed in HTML, CSS or Markdown, checked to decode back to your exact file. Optional resizing first.

Image Diff Comparator

Compare two versions of an image and see what changed: each changed area outlined and shown close up, with slider, fade and side-by-side views and a similarity score.

Image Cropper

Crop a photo by dragging a box or typing exact pixels, with aspect ratio presets, quarter turns, mirrors and shape cut-outs. PNG output keeps every pixel exactly.

Image Histogram: a worked example

The sample photo, a sunset over hills and a lake at 1600 by 1067 pixels, measured on brightness.

Picture

sample-sunset.jpg, 1,707,200 pixels
Channel: Brightness (Rec. 709, 0 to 255)
What Image Histogram produces

Result

Verdict: Mostly dark (mean 76.13 of 255)
Shadows 65.82%, midtones 31.39%, highlights 2.79%
Median 72, most common level 68, spread 43.40
Black or nearly (levels 0 to 4): 3.459%
White or nearly (levels 251 to 255): 0.190%

Two thirds of the pixels sit in the darkest third of the scale: the hills, trees and lake are deep purple and navy, and only the sun, its reflection and the glow near the horizon are bright. A dusk photo is meant to look like that, so "mostly dark" describes the picture rather than a mistake. About 3.5% of pixels are black or nearly, in the deepest shadows, and only 0.19% are white or nearly, so very little of the picture is clipped to white.

About the Image Histogram

A histogram shows how many pixels in a picture sit at each level of brightness, from black on the left to white on the right. Use it to check whether a photo is too dark or too bright, whether shadows or highlights have lost detail, and how the red, green and blue channels compare.

How to use

  1. 1Drop in a picture, paste one, or press Try a sample image.
  2. 2Read the verdict and the tones under the chart.
  3. 3Switch between Brightness, RGB, Red, Green and Blue to compare channels.
  4. 4Point at the chart, or drag a finger across it, to read the count at any level.
  5. 5Download the CSV or the chart PNG, or copy the statistics.

Where this helps

  • Photography

    Check exposure and clipping before and after editing.

  • Print preparation

    Make sure shadows are not crushed to solid black before sending a file to print.

  • Comparing edits

    Count how an adjustment moved the shadows, midtones and highlights.

  • Research and teaching

    Export exact counts to a spreadsheet for analysis.

Key features

  • Every pixel counted at full size, no sampling
  • Brightness, combined RGB, and single-channel views
  • Exact pixel count at any level, by mouse or touch
  • Mostly dark, balanced or mostly bright verdict
  • Shadows, midtones and highlights, plus clipped blacks and whites
  • Mean, median, most common level, spread and percentiles
  • Counts, logarithmic, cumulative and percent scales
  • Three ways to measure brightness, including perceived lightness
  • CSV export of every level, PNG chart and copyable statistics
  • Runs in your browser; nothing is uploaded

Tips & best practices

  • Use the logarithmic scale when one tall peak flattens everything else.
  • Compare the red, green and blue channels to find a colour cast.
  • Check the histogram again after editing to see what each change did.
  • A spike at one level in a smooth photo can mean heavy editing or compression.

Examples

  • Checking a dusk photo

    The sample sunset reads as mostly dark, with 65.82% of pixels in the shadows and only 0.19% near pure white, so very little is clipped.

  • Finding a colour cast

    Switch to RGB: if the blue channel sits well to the right of red and green, the picture leans blue and needs warming.

  • Spotting blown highlights

    A tall spike at level 255 in Brightness or in one channel means pixels clipped to pure white or pure colour, where detail is gone.

Reading the histogram

The chart. Every pixel in the picture is counted, not a sample, and each channel has 256 levels, 0 for none and 255 for full. A tall area on the left means many dark pixels; a tall area on the right means many bright ones. Choose Brightness, the three colour channels together (where they overlap the colours mix), or red, green or blue on its own. Point at the chart, or touch and drag across it on a phone, to read the exact number of pixels at any level.

Verdict and tones. Under the chart, a one-line verdict says whether the picture is mostly dark, balanced or mostly bright, based on its average brightness. A night shot or a snow scene is meant to lean one way, so the verdict describes the picture rather than judging it. Tones splits the pixels into shadows, midtones and highlights, the three equal thirds of the scale, and shows how many are black or nearly black and white or nearly white. Large numbers at either end often mean clipping: detail lost to pure black or pure white.

Statistics. For the channel on show you get the mean, the median, the most common level, the spread (standard deviation), the 1st and 99th percentiles, the lowest and highest levels used, and the number of pixels counted.

Display and measurement. Switch the scale to logarithmic to see small counts beside a tall peak, cumulative to see how much of the picture is at or below each level, or percent. Pick a filled, line, bars or smooth chart, and shade the darkest and brightest 2% of levels. Brightness can be measured three ways: Rec. 709, the standard for screens and the web; Rec. 601, the older television weighting some photo editors use; or L*, lightness as the eye sees it on a 0 to 100 scale. Fully transparent pixels are left out by default, or can be counted as black.

Export. Download every level of every channel as a CSV file for a spreadsheet, save the chart as a PNG, or copy the statistics as text. The picture is read in your browser and never uploaded.

Frequently asked questions

What does a histogram show?

How many pixels sit at each brightness level, from black on the left to white on the right. The height at each level is the number of pixels there.

What does a good histogram look like?

There is no single right shape. A balanced daylight photo usually spreads across most of the scale without tall spikes at the very ends. A night scene leans left and a snow scene leans right, and both can be exactly right.

What is clipping?

Pixels pushed to pure black (level 0) or pure white (255) have lost the detail they had. A lot of pixels at either end, shown under Tones, often means clipping, though real black or white areas count too.

Why do Rec. 709, Rec. 601 and L* give different numbers?

They weigh red, green and blue differently when working out brightness. Pure red, for example, is level 54 under Rec. 709 and 76 under Rec. 601. Rec. 709 is the standard for screens and the web; L* follows how light the eye finds each colour.

What happens to transparent pixels?

By default, fully transparent pixels are left out of every count, because a browser returns them as black. You can choose to count them as black instead, which adds a spike at level 0.

Can I use the numbers in a spreadsheet?

Yes. Download CSV saves 256 rows, one per level, with the count for red, green, blue, transparency and brightness.

Are my pictures uploaded?

No. Every pixel is counted in your browser and the picture never leaves your device.

Related tools and how they differ

  • Image Color Grader: Adjusts exposure, contrast and colour once the histogram shows what needs fixing.
  • Image Color Palette Extractor: Finds the main colours of a picture and how much of it each one covers.
  • Image Filters: Brightness, contrast and other one-click adjustments.

Private by design

Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.