Who’s exploring?

DISCOVER · ARTICLE

How a phone camera turns light into a photograph

A phone camera focuses light onto a chip of millions of light sensors, counts what each one catches, and computes a photo.

A green computer motherboard close-up

A chip that counts light

Behind the tiny lens sits an image sensor — a chip covered in millions of microscopic light detectors called pixels. When you take a photo, the lens focuses the scene onto this grid, and each pixel measures how much light landed on it during the exposure.

Pixels alone would see only brightness, so each one sits under a coloured filter — red, green or blue, in a checkerboard pattern with twice as many green as red or blue, matching our eyes' sensitivity. The camera's processor blends the grid into a full-colour image.

Decisions in a fraction of a second

Before you press the button, the camera is already working: it adjusts focus by shifting the lens until edges look sharpest, and meters the light to choose an exposure time and sensitivity. In dim scenes it may raise the sensitivity, trading a grainier image for a brighter one.

Phone sensors are tiny — far smaller than a fingernail — which limits how much light they can gather. Phones compensate with computation: many take several frames in a burst and merge them, averaging out noise and rescuing detail from shadows and highlights.

Millions of measurements, one picture

A 12-megapixel photo is twelve million separate light measurements, each converted to numbers and compressed into a file a few megabytes in size. Modern phones go further, recognising faces, skies and food to tune colours and sharpness region by region.

The photograph you see is therefore part measurement, part interpretation — the sensor's honest count of the light, finished by software that guesses how the scene should look. The optics have barely changed in a century; the computing is what is new.

Keep reading? Spark picked your next article.

The 128 symbols behind every text fileMore about Computing

More in Computing

— forget which articles you’ve read on this device.

Sources, credits & transparency

Development reference photograph · Unsplash. Reference use; provenance and final image approval pending; see public/images/manifest.json.

Created with AI assistance as part of a science pack approved by the SparkKindly site owner on 15 November 2026. No independent specialist review is claimed.

Report a mistake on this page