Fix Grainy Photos

Why Are My Photos Grainy?

Last updated: October 29, 2026

Grain is what you see when a sensor records very little light. Photons arrive at random, so each pixel’s count varies slightly, and the variation is the speckle. Raising ISO amplifies that variation along with the signal, and lifting an underexposed frame in editing reveals it. The cure is more light or more frames, not a better camera.

Key facts

  • Noise scales with the square root of the photon count: four times the light halves it.
  • Shadows look worse because they collected far fewer photons than the highlights.
  • ISO is amplification, not sensitivity — raising it cannot add light.
  • Averaging frames works too: sixteen frames cut noise to a quarter, which is what phone Night modes do.

I wrote this page because the usual explanations stop at “high ISO causes noise”, which is a bit like saying wet roads cause rain. It is the wrong way round, and it leads people to shoot at ISO 100 in a dark room, get a black frame, brighten it later, and wonder why the result looks worse than the one the camera would have taken for them.

Once the mechanism is clear, most advice stops being memorised rules. You can predict which photos will be noisy before you press the shutter, and you know which fix — light, time, or frames — will actually help. For the practical version, the browser preview on the home page shows a 100% crop so you can judge the trade-off on your own file.

Grain, noise, and the words people use

Strictly speaking, digital photos have noise. Grain is a film term: the visible clumps of silver halide crystals in an emulsion. People say grain for digital speckle because it looks similar, and because it sounds less like a fault.

The distinction matters for one reason: film grain is part of the image, generated by the medium, and often desirable. Digital noise is error in the measurement, and it is never information. When someone adds “grain” to a digital photo in an editor, they are adding a texture preset, not reproducing the physics.

Photon counting, without the maths

Light is not a smooth fluid. It arrives as discrete photons, and the number that lands on a given pixel during an exposure is random. If the average is 100 photons, one exposure might give 94, the next 108, the next 101. That spread is the noise floor, and it is irreducible: no sensor design removes it.

The key relationship is that the fluctuation scales with the square root of the average. Average 100 photons and the typical variation is about 10 — a 10% wobble. Average 10,000 photons and the variation is about 100 — a 1% wobble. Four times the light halves the relative noise. A hundred times the light cuts it by ten.

This single fact explains almost everything on this page. It is why bright daylight photos look clean, why shadows are noisy, why larger sensors help, and why a phone can beat a bigger camera at night by taking fifteen frames instead of one.

The numbers on this site’s own reference files

Rather than describe the effect in the abstract, here is what a standard noise estimator reports on the four before/after pairs used across this site. The estimator is Immerkær’s Laplacian method, run on the JPEG originals at 768×960; the values are grey levels on a 0–255 scale, so smaller is cleaner.

SampleBeforeAfterChange
Night event portrait15.40.8−95%
Indoor portrait16.81.5−91%
Scanned old portrait14.40.7−95%
Low-light portrait17.50.8−95%

Two things are worth noticing. First, the before values cluster in a narrow band even though the photos look quite different, because the synthetic noise was applied at a similar strength. Second, the after values collapse toward zero, which is the signature of a denoiser that has removed nearly all high-frequency variation — including, on the scan, texture that was part of the print. That is the trade described above, measured rather than asserted.

The same crop after denoising, with most of the speckle removed
Why are my photos grainy: a 100% crop of photon noise on a face photographed at night
BeforeAfter
A 100% crop of a night portrait. Count the speckles on the cheek, then look at the lit side of the face: same sensor, same second, very different noise. That is the photon count talking, not the camera. Photo: Trishawho, CC0 1.0. Synthetic high-ISO noise added; the after frame is a denoiser output, not a retouch.

Why are my photos grainy in the shadows but clean in the highlights?

In a single scene, the bright areas might collect tens of thousands of photons per pixel and the shadows a few dozen. The bright areas have a tiny relative wobble; the shadows have a huge one. When you look at the photo, the shadows are where the speckle is visible.

This is also why lifting shadows in editing is so destructive. The data is already noisy; brightening multiplies the noise along with the signal, and it does so unevenly because the amplification is largest in the darkest pixels. A photo that looked acceptable at import turns visibly grainy after a two-stop shadow lift.

Low-light portrait, after: the same shadowed face, with smoother skin and the dark side still unlit
Low-light portrait, before: a face half in shadow, with heavier grain on the dark side and a hand at the lower edge
BeforeAfter
A 100% crop of the low-light portrait: the shadow side is where the noise lives, and it is also where a careless edit does the most damage. Brightening this area two stops multiplies the speckle along with the signal. Photo: Henk Wanink, CC BY 4.0. Synthetic high-ISO noise added; the after frame is a denoiser output, not a retouch.
Night portrait, after: the same woman and yellow backdrop, with less speckle in the hair and jacket
Night portrait, before: a smiling woman in a dark jacket against a yellow backdrop, with speckles in her hair
BeforeAfter
The night portrait makes the pattern obvious: speckle is heavy in the hair and the dark jacket, and almost absent on the lit side of the face. That distribution is the signature of photon-limited shadow areas, not of a bad sensor. Photo: Trishawho, CC0 1.0. Synthetic high-ISO noise added; the after frame is a denoiser output, not a retouch.

It is worth seeing the arithmetic once. Every extra stop is a doubling of light, and the square root of two is about 1.41 — so each stop buys roughly forty percent less relative noise. That is the whole reason photographers keep saying “just add light”.

Light collectedRelative noiseWhat it feels like
1× (one frame, dim room)100%Visible speckle on any face
2× (one stop brighter)71%Noticeably cleaner, still needs a pass
4× (two stops)50%Usable for a phone share without editing
16× (four stops)25%Clean at fit-to-screen, fine detail survives
16 frames averaged25%What Night mode is doing, frame by frame

What ISO actually does

ISO is not sensitivity. The sensor’s ability to convert light into charge is fixed by its design. What ISO sets is how much the camera amplifies the reading before writing the file, and how the meter is calibrated for the exposure.

On many modern sensors, raising ISO and brightening in post produce very similar results, because the amplification is largely digital either way. This is the “ISO invariance” that people argue about online. It holds best for the dual-gain sensors in recent cameras, and it does not hold at all for extreme ISOs or for small phone sensors.

The practical consequence: choosing a lower ISO by shortening the exposure does not reduce noise, it just makes the frame darker. The exposure — how much light reached the sensor — is what matters. ISO only decides how bright the resulting file looks.

The exposure triangle, restated for noise

Every setting that changes exposure changes noise, because it changes the photon count. The usual triangle becomes a list of noise sources.

SettingMore light meansNoise effectCatch
Shutter speedLonger exposureLower noise, until motion blur or heatMoving subjects; hand-holding limit
ApertureWider openingLower noise, until softness wide openDepth of field narrows; diffraction when stopped down
ISONo change to lightHigher ISO is brighter and noisierRaising ISO cannot add photons
Scene lightAdd a lamp, open a curtain, moveDirectly lower noiseOften the only variable you control

The mistake people make is treating ISO as the noise dial. It is a brightness dial with a noise side effect. The noise dial is the amount of light, and it is usually controlled by where you stand.

Sensor size, pixel size, and why bigger is calmer

A larger sensor collects more total light for the same scene and framing, which is why full-frame cameras look cleaner in dim rooms than phones. Pixel size matters too, but less than people think: what matters is how many photons each pixel collects, and that depends on the pixel’s area multiplied by the exposure.

This is why a 48-megapixel phone can look worse than a 12-megapixel one in low light. Same sensor area, four times as many pixels, each collecting a quarter of the light. Phone makers solve this by combining four pixels into one output pixel (binning), which is exactly the trade you would make manually if you could.

The corollary is that megapixels are not a quality score. They are a crop-and-print budget. In good light, more pixels are useful. In bad light, they are a liability the camera has to work around.

Read noise, heat, and long exposures

Photon noise is not the only source. Reading the sensor adds a small amount of electronic noise, and long exposures warm the sensor, which increases it further. This is why a 30-second night exposure can look grainier than a two-second one even though it collected more light, and why some cameras offer long-exposure noise reduction, which shoots a second dark frame and subtracts it.

Heat is also why phone cameras get worse during a long video recording or after ten minutes of shooting: the sensor is warm, the noise floor rises, and the camera compensates with more aggressive processing that smears detail.

Compression and in-camera noise reduction

Two processing steps happen after the photons are counted and before you see the file, and both can look like grain.

  • Noise reduction. The camera smooths, then sharpens to hide the smoothing. The result at 100% is a pattern of smeared patches and sharpened edges that people describe as “crunchy”. It is worse than the original noise, because the original noise at least had consistent texture.
  • Compression. JPEG discards high-frequency detail, which is where the fine texture lives. A lightly compressed noisy photo looks grainy; a heavily compressed one looks blocky and muddy. Neither can be undone.

Shooting raw skips most of the first and all of the second, which is the real reason raw files clean up better: not magic, just fewer destructive steps between the sensor and your editor.

Why phones look cleaner than their sensor size suggests

A phone sensor is small — often a quarter of the area of a crop-sensor camera and a fraction of full-frame. By the physics above, it should be much worse in low light, and in a single frame it is. What closes the gap is stacking: Night mode takes several frames over a second or two, aligns them, and averages them. Random noise cancels; the scene does not.

Averaging four frames halves the noise. Averaging sixteen cuts it to a quarter. That is how a tiny sensor produces a usable night photo. It also explains the failure modes: anything that moves breaks the alignment, and anything that makes the frames differ — flickering light, a hand-held shake — leaves artifacts where the merge gave up.

Indoor portrait, after: the same woman in a striped shirt, with a smoother cheek and hair
Indoor portrait, before: a woman in a striped shirt looking down, with colored speckles on her cheek and hair
BeforeAfter
Indoor light on skin. The coloured speckle is chroma noise, which appears in the same under-exposed conditions as luminance noise but needs its own correction — a luminance-only denoise leaves the pink and green blotches behind. Photo: Pingz Man, CC BY 2.0. Synthetic high-ISO noise added; the after frame is a denoiser output, not a retouch.

Exposing to avoid noise, in practice

You cannot add photons after the fact, so the only useful intervention is at capture time. Three habits cover most situations.

  1. Expose to the right. Push the histogram as far toward the highlights as you can without clipping anything you care about. The shadows then start with more photons, and lifting them later is less destructive.
  2. Choose the exposure over the ISO number. If you can shoot at 1/60 s and ISO 1600 or 1/30 s and ISO 800 on a stationary subject, the second collects twice the light and will be cleaner, provided you can hold still.
  3. Add light when you can. A window, a lamp, a reflector, or simply turning the subject toward the light source changes the photon count far more than any setting.

What post-processing can and cannot do

Denoising reduces the visible variation between pixels. It is genuinely effective: a well-exposed frame at a moderate ISO can be cleaned up with almost no visible loss. But it works by averaging, and averaging cannot distinguish between noise and fine detail that happens to be small.

That is why over-denoised photos look plastic, and why faces are the first casualty: skin texture, eyelashes and hair strands are exactly the scale the algorithm is smoothing. The honest workflow is to denoise to the output size, keep a little grain, and stop before the texture disappears.

The one-sentence summary

Grain is the square-root penalty for not collecting enough light; every setting and every tool either adds photons, merges frames, or hides the resulting variation. Once you know which of those three you are doing, the rest is detail.

A worked example, with numbers

Suppose a shadow area records an average of 25 photons per pixel. Photon noise is the square root of the count, so the typical variation is 5 photons. The signal-to-noise ratio is 25 to 5, or 5:1 — visible speckle.

Now expose one stop brighter. That area records 50 photons, the variation is about 7, and the ratio is roughly 7:1. Two stops brighter gives 100 photons, a variation of 10, and a ratio of 10:1. Each stop of extra light improves the ratio by about 1.4×, because the square root of 2 is 1.4.

This is why “just one more stop of light” is such effective advice: it is a 40% improvement in the noise floor, and it is free. It is also why lifting an underexposed frame never matches exposing it correctly — brightening multiplies both signal and noise, so the ratio stays exactly where it was.

Bit depth, dynamic range, and why dark skies band

Noise and bit depth interact in a way that surprises people. An 8-bit file has 256 levels per channel. A smooth night sky that spans, say, 20 levels will show visible stepping (banding) even before you denoise. A 14-bit raw file has far more levels, so the same sky is smooth.

When you denoise aggressively, you reduce the random dither that was hiding the banding, and the steps become obvious. This is a common complaint after cleanup: the grain is gone and the sky now looks like a paint-by-numbers exercise. The fix is to work in 16-bit and to keep a touch of noise, or add a very small amount of dither back at the end.

Dynamic range is a related but different number: how many stops between the darkest usable shadow and the brightest unclipped highlight. More range means you can expose for the highlights and still have clean shadows. It is also why modern sensors hold up better to a two-stop shadow lift than older ones.

Why stacking works, mathematically

Averaging is not magic; it is the same square-root rule applied in a different direction. If one frame has a signal-to-noise ratio of 10:1, and you average four frames of the same scene, the noise averages toward zero while the signal adds, so the ratio doubles to 20:1. Sixteen frames take it to 40:1.

The catches are all about alignment. Frames must show the same scene, which means the camera has to stay still (or be aligned in software) and the subject must not move. Where those conditions fail, the algorithm has to choose: blur the moving part, ghost two positions, or drop back to a single frame. That choice is exactly what you see when a Night mode photo has a sharp background and a smeared person.

This is also why a phone with a small sensor can beat a large camera in a still life: the camera takes one frame at high ISO, and the phone takes twelve at a lower one and averages. The per-pixel physics has not changed; the number of samples has.

Video noise is a different problem

Video cannot use long exposures, because the shutter is limited by the frame rate. At 30 frames per second, the longest sensible exposure is about 1/30 s, and at 60 fps it is 1/60 s. That caps the light per frame, so dim video is noisier than a photo of the same scene.

Video noise also moves, which makes it far more objectionable than a noisy still. A denoiser designed for photos will smear motion if applied frame by frame without temporal consistency. If you are cleaning up video, use a tool built for it and expect to trade some motion detail.

Reading your own histogram

The histogram is the cheapest noise diagnostic you have. It shows where your tones landed, and therefore how much light each area recorded.

  • Bunched against the left edge means underexposure. Any shadow lift will reveal noise.
  • Bunched against the right edge means clipped highlights, which are unrecoverable. Expose slightly darker instead.
  • A narrow spike in the middle means low contrast and usually a dull scene; you can often expose brighter without clipping.
  • Gaps or comb teeth in the histogram mean the tones were pushed apart — classic 8-bit posterisation.

Myths that refuse to die

“Higher ISO causes noise.” Higher ISO amplifies noise that is already there. The cause is the smaller exposure that made the camera choose it.

“Lower ISO always means a cleaner photo.” Only at the same exposure. Lower ISO with a faster shutter collects less light and is noisier after brightening.

“More megapixels means more noise.” At the same sensor size and the same output size, the difference is small. Where it hurts is at 100% on screen, because you are looking at smaller pixels.

“Raw files are noise-free.” Raw files are unprocessed, which means the noise is still there — you just get to decide how to handle it instead of the camera deciding for you.

What happens inside the camera, in order

Between the photon and the file, six things happen. Knowing the order explains most of the surprises.

  1. Light hits the sensor and is converted to charge. The photon count per pixel is the only thing that determines the underlying noise.
  2. The charge is read out, which adds a small amount of electronic noise. On modern sensors this is small; on older ones, and at high ISO, it is not.
  3. The signal is amplified according to ISO, and digitised. This is where the ISO number becomes meaningful, and where the noise floor is multiplied.
  4. The camera demosaics, interpolating colour from neighbouring pixels. This step averages, so it slightly reduces noise and slightly reduces detail.
  5. Noise reduction and sharpening are applied in JPEG pipelines. This is often the step that decides whether the photo looks grainy or waxy.
  6. The file is compressed, which discards high-frequency detail you will never get back.

Raw files skip steps five and six. That is the entire mystery of why raw “cleans up better” — you are not handed a file that already spent its detail budget.

Three exposures, worked through

The same dim room, three ways. Assume the meter wants ISO 1600 at 1/60 s and f/2 unless you intervene.

Option A: trust the meter. ISO 1600, 1/60, f/2. Sharp, and noisy once you lift the shadows. This is the frame people complain about.

Option B: open up and slow down. ISO 400, 1/30, f/2. Collected twice the light, so the noise floor drops by about 40%. Risk: the subject moves during the longer exposure. For a still subject on a table, this is strictly better.

Option C: add light. Keep ISO 400, 1/60, f/2 and turn on a second lamp. This is better than both, because it changes the photon count instead of trading one compromise for another — and it costs nothing.

The lesson is not which option is right. It is that ISO was never the variable; light and time were.

How much noise is acceptable?

There is no universal threshold, but there is a practical way to decide: compare the file at output size, not at 100%, and ask whether the noise competes with the subject.

  • Social feed on a phone: almost anything acceptable. Downsampling hides most of it.
  • Full-screen on a laptop: mild speckle invisible, colour blotches noticeable, waxy skin obvious.
  • Print up to A4: similar to the laptop case; matte paper forgives noise.
  • Large print or gallery: noise is visible, and so is over-smoothing. Texture matters more than cleanliness here.

That is why the same file can be “fine” for one use and “ruined” for another. The threshold is the medium, not the sensor.

Why your phone’s HDR looks better than your single-frame edit

A phone in bright, contrasty light takes several exposures at different brightness and combines them. The shadows come from a frame that was exposed for the shadows, so they carry real photons rather than lifted ones. Your single-frame edit takes one exposure and brightens the dark part, which multiplies the noise along with the signal.

This is the difference between capturing information and inventing brightness. It is also why the same scene can look clean from a phone and noisy from a larger camera shot in a single frame: the phone took four pictures and averaged them, and the camera took one.

The lesson transfers: if you can bracket and merge, you get the phone’s advantage with the camera’s optics. If you cannot, expose for the part that matters and accept the rest.

Aperture and noise: the connection people miss

A wider aperture collects more light, so at the same shutter speed it produces a cleaner file. This is why an f/1.8 lens can look dramatically better indoors than an f/5.6 zoom, even on the same body: it is not sharper, it is collecting roughly ten times the light.

The catch is depth of field. Wide open, the plane of focus narrows, and a portrait where the eyes are sharp and the ears are not may be a deliberate choice or an accident. The practical compromise is to open up until the depth of field is just enough, and no further — that is the maximum light the shot allows.

The number worth knowing: pixel area

When people compare sensors, they compare megapixels or sensor size. The number that actually predicts low-light noise per pixel is pixel area — the sensor area divided by the pixel count.

A 24-megapixel APS-C sensor has roughly 15 square micrometres per pixel. A 12-megapixel phone sensor in the same area would have twice that. This is why phone makers offer 12-megapixel output modes from 48-megapixel sensors: combining four pixels restores the area, and the area is what collects the photons.

Pixel area is not destiny, because stacking and processing change the outcome, but it sets the single-frame ceiling. Two cameras with the same pixel area will produce similar single-frame noise in the same light, regardless of what the marketing says.

Where to go from here

If your photo is from a phone and you want the device-specific fixes, the iPhone guide covers the settings, the zoom trap and the in-app camera problem. If your file came from a camera and you want the editing workflow, the Photoshop guide covers the three denoise methods and the order of operations.

And if you are not yet sure whether you are looking at noise or at blur, start with the comparison guide — diagnosing the wrong defect is the most expensive mistake in this whole subject.

Frequently asked questions

Is grain caused by a bad camera?

Almost never. Grain is the visible result of a sensor measuring very few photons. Any camera, including a professional full-frame body, produces noise when it is short of light. A defect shows up as a fixed pattern in the same place on every photo, not as evenly distributed speckle.

Why is noise worse in shadows than in highlights?

Because shadows receive far fewer photons. Noise is proportional to the square root of the photon count, so the signal-to-noise ratio is worst where the count is lowest. The highlight side of the same face can look clean while the shadow side looks dirty.

Does lower ISO always mean less noise?

For a given exposure, yes — the amplification is lower. But if you lower ISO by making the shutter faster or the aperture smaller, you collect less light and the photo gets noisier after you brighten it. Light collected matters more than the ISO number.

Why do phones produce cleaner night photos than my old DSLR?

Computational stacking. The phone merges several frames and averages the noise away while keeping the scene aligned. A single-shot camera has one frame to work with. Per-pixel quality is not the only variable; the number of frames is one too.

Can grain be removed completely?

Visible speckle can be reduced a great deal, but the detail underneath it cannot be invented. Aggressive denoising trades texture for smoothness. The realistic goal is a photo that looks plausible at its output size, not one with zero measurable noise.

Is film grain the same thing?

No. Film grain is the physical clumping of silver halide crystals, which is why some photographers add it deliberately. Digital noise is measurement error. They can look similar in a scan, but only one of them is a defect in the recording.

Sources

  1. Shot noise — WikipediaBackground on the photon-counting statistics behind every number in this article.
  2. Denoise Demystified — Adobe Blog, April 2023What a modern denoiser is actually doing with those statistics, in Adobe's own words.

Every before/after pair on this page is a real file from this site’s sample set, and the noise figures quoted are measured from those files rather than copied from a vendor’s marketing.