How does a phone camera work?
One exposure can’t hold both: expose for the room and the window blows out to white; expose for the window and the room goes dark. Try the slider, then HDR.
Overview
Short answer
A tiny sensor counts photons in millions of pixels; HDR and night mode merge several frames to beat noise and blown-out highlights.
A phone camera has a lens a few millimetres across and a sensor smaller than a fingernail, yet it takes photos that rival big cameras. The secret is half physics and half software: modern phones take many pictures every time you press the button and merge them.
Play with the figure, then press Next (or the → key) to go step by step.
The lens and the sensor
Several tiny plastic or glass lenses focus light onto an image sensor, a grid of millions of light-sensitive pixels. Each pixel is a photodiode that turns arriving photons into electric charge: more light, more charge. Over each pixel sits a red, green or blue filter in a Bayer pattern, so the camera measures one colour per pixel and estimates the other two from its neighbours, the reverse of how a screen mixes colour.
Exposure: the light budget
A photo needs the right amount of light. The phone controls it with shutter speed (how long the pixels collect light) and ISO (how much the signal is amplified). The lens opening is usually fixed. In dim light a long exposure blurs anything that moves, and high ISO amplifies random noise along with the picture. Small pixels catch few photons, so phones suffer more noise than big cameras.
Computational photography
Phones fight their tiny sensors with software. They keep recording frames even before you tap the shutter. HDR merges darker and brighter frames so both a bright sky and a dark room keep detail. Night mode lines up and averages a burst of frames, so random noise cancels out. Portrait mode estimates depth from two cameras or AI and blurs the background, and image processors sharpen, denoise and adjust colours, all in a fraction of a second.
Stabilisation and zoom
Optical image stabilisation moves the lens or sensor with tiny motors to cancel hand shake, allowing longer exposures. Because a thick zoom lens won't fit, phones carry several cameras with different fixed focal lengths, including periscope telephotos that fold the light path sideways with a prism, and combine them with digital cropping.
Common myths
- "More megapixels means better photos." Bigger pixels and sensors gather more light; many phones combine four small pixels into one (pixel binning) for cleaner low-light shots.
- "Digital zoom is as good as optical." Digital zoom crops and enlarges, losing detail; optical zoom uses a longer lens.
- "Phone photos are what the sensor saw." They are heavily processed composites of several frames.
Questions people ask
Why are my night photos blurry?
Night mode needs the phone held still for a second or more while it captures frames. Brace your arms or rest the phone on something, and keep subjects still.
What is pixel binning?
Combining the signal from groups of neighbouring pixels (often 4 or 9) into one larger virtual pixel. It reduces resolution but cuts noise in low light.
Should I shoot in RAW?
RAW keeps more of the sensor data for editing, but often skips the phone’s multi-frame processing. Use it if you plan to edit; otherwise the normal mode usually looks better straight away.
Why do photos of screens show stripes?
The screen’s pixel grid and the sensor’s pixel grid interfere, creating moiré patterns. Moving slightly or changing the zoom usually helps.
Does cleaning the lens really help?
Yes. A fingerprint smear on the tiny lens is one of the most common causes of hazy, glowing photos.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01What does each sensor pixel measure?
02How does night mode reduce noise?
03What does HDR do?
04Why do phones have several rear cameras?
Sources & more
Sources
- Camera phone (Wikipedia)(opens in a new tab)
- Bayer filter (Wikipedia)(opens in a new tab)
- Computational photography (Wikipedia)(opens in a new tab)
- Image stabilization (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Phones & GadgetsExplore it
How does noise cancelling work?
- Phones & GadgetsExplore it
How does wireless charging work?
- Phones & GadgetsExplore it
How does a phone battery charge?
- Phones & GadgetsExplore it
How does a touchscreen work?
- Phones & GadgetsExplore it
How does a computer chip work?
- Phones & GadgetsExplore it
OLED vs LCD: how do screens make light?