Observation
Aperture Photometry
Adding up a star’s light in a circle
Aperture photometry is a method of measuring a star’s brightness by summing all the detector counts inside a circle centered on it, then subtracting the sky background sampled in a surrounding ring (the annulus). The net flux that remains is the star’s light, which becomes a magnitude through m = −2.5·log₁₀(flux) + zero point. It is the workhorse of CCD and CMOS photometry in uncrowded fields, and the radius of that circle is chosen to balance the light it captures against the sky noise it lets in.
- Core formulaflux = Σ(aperture) − N·sky; m = −2.5·log₁₀(flux) + ZP
- Optimal radius (faint source)≈ 1–1.5 × FWHM of the PSF
- Magnitude scale5 mag = factor 100 in flux (2.512 per mag)
- Sky annulus estimatormedian per pixel — rejects cosmic rays, neighbors
- Best precision (ground)~1–2 millimag for bright stars; ~0.1 mmag space (Kepler)
- Fails incrowded fields → use PSF-fitting (DAOPHOT)
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
Counting a star’s photons
A star, no matter how nearby or distant, is a point source: its light falls onto a detector spread out only by the blurring of Earth’s atmosphere and the telescope optics. That blurred blob — the point spread function (PSF) — typically spans a few arcseconds from the ground, sampled across maybe a dozen pixels on a CCD. To measure how bright the star is, you simply need to add up all the light in that blob. Aperture photometry does exactly that: draw a circle (the aperture) around the star and sum every pixel value inside it.
The catch is that the pixels inside the aperture do not record only starlight. The night sky itself glows — from atmospheric airglow, scattered moonlight, zodiacal light, and the unresolved haze of faint distant stars and galaxies — and the detector adds its own bias and dark current. Every pixel in your aperture therefore contains a baseline of sky background that must be removed before the number means anything.
The annulus: measuring what to subtract
To estimate that background, aperture photometry samples the sky in a concentric ring called the annulus (or sky annulus), drawn well outside the star’s light profile — far enough that the wings of the PSF no longer contribute. Within the annulus you compute a robust per-pixel sky value, and crucially you take the median rather than the mean. The median rejects outliers: a cosmic ray hit, a faint neighboring star, or a hot pixel will skew an average but barely move a median. That per-pixel sky level is then multiplied by the number of pixels in the aperture and subtracted:
net_flux = Σ(pixels in aperture) − N_aperture × sky_per_pixel
A typical configuration on a well-sampled image might use an aperture radius of 4 pixels, an inner annulus radius of 8 pixels, and an outer radius of 12 pixels. The annulus is deliberately set a few pixels beyond where the star’s light fades into the noise, so it samples genuinely empty sky.
Choosing the radius: a noise trade-off
How big should the aperture be? This is the central judgment call, and it is a genuine trade-off:
- Too small, and you clip the wings of the PSF, throwing away real starlight and producing a systematically faint, scatter-prone measurement.
- Too large, and although you capture essentially all the star’s light, you also enclose far more sky pixels — and each one contributes shot noise. For a faint star, the noise from a huge aperture full of sky can swamp the tiny signal you are trying to measure.
The signal-to-noise ratio peaks at an intermediate radius. For faint, background-limited sources this optimum sits at roughly 1 to 1.5 times the FWHM of the PSF. For bright, photon-limited stars where the star’s own shot noise dominates, a larger aperture of 3–5 FWHM is better because it captures nearly all the flux with little noise penalty. Observers often build a curve of growth — measured flux versus aperture radius — to find where the flux plateaus and choose the radius accordingly.
| Aperture radius | Fraction of light captured | Sky pixels enclosed | Best for |
|---|---|---|---|
| 0.7 × FWHM | ~60–70% | Few | Very faint, crowded |
| 1.0 × FWHM | ~80% | Moderate | Faint sources (max S/N) |
| 1.5 × FWHM | ~90% | More | Typical faint targets |
| 3 × FWHM | ~99% | Many | Bright, photon-limited |
| 5 × FWHM | ~100% | Very many | Aperture-correction reference |
From flux to magnitude
The net flux, divided by the exposure time, gives an instrumental magnitude:
m_inst = −2.5 × log10(net_flux / exposure_time)
The factor of 2.5 and the logarithm come from the Pogson definition of the magnitude scale, fixed in 1856 to match the ancient naked-eye system: a difference of exactly 5 magnitudes corresponds to a factor of 100 in flux, so each single magnitude is a factor of 1001/5 ≈ 2.512. A brighter star has a smaller magnitude — a quirk inherited from Hipparchus ranking the brightest stars as "first magnitude."
To turn the instrumental magnitude into a calibrated magnitude on a standard system, you add a zero point measured from standard stars of known brightness, correct for atmospheric extinction (which grows with airmass as light passes through more atmosphere near the horizon), and apply small color terms that account for filter mismatch:
m_cal = m_inst + ZP − k × airmass + color_term
Finally, because any finite aperture misses a little light in the PSF wings, an aperture correction is applied: the offset between the small working aperture and a very large reference aperture, measured on bright isolated stars. This recovers the total magnitude while keeping the favorable noise of the small radius.
Where it works and where it breaks
Aperture photometry is the default for measuring stars in uncrowded fields: variable stars, exoplanet transits, asteroids, supernova light curves. Space missions exploit it ruthlessly — Kepler measured transiting planets to about 0.1 millimagnitude precision on quiet stars by summing pixels in carefully chosen apertures with no atmosphere to blur the PSF.
It breaks down when sources overlap. In the core of a globular cluster, stars are packed so tightly that any aperture encloses several of them, and even the sky annulus is contaminated by neighbors — there is no empty sky to sample. Extended objects like galaxies present a similar problem: their light spills past any reasonable circle. In these regimes astronomers turn to PSF-fitting photometry (the classic DAOPHOT approach), which models the shape of the point spread function and fits it to every star simultaneously, deblending overlapping sources that a simple circle cannot separate.
| Aspect | Aperture photometry | PSF-fitting photometry |
|---|---|---|
| Best field | Sparse, uncrowded | Crowded, blended sources |
| Sky handling | Annulus median subtraction | Fit as part of the model |
| Assumptions | Isolated point source | Known/modeled PSF shape |
| Speed & simplicity | Fast, transparent | Heavier, model-dependent |
| Typical tool | photutils, SExtractor | DAOPHOT, ALLSTAR |
Frequently asked questions
What is aperture photometry?
Aperture photometry is a method of measuring the brightness of a star or other point source by adding up all the detector counts inside a circular aperture centered on it, then subtracting the sky background. The background level per pixel is estimated from a surrounding ring (the sky annulus) and multiplied by the number of pixels in the aperture. The remaining net flux is the star's light, which is converted to a magnitude with m = −2.5·log10(flux) + zero point.
Why subtract the sky background with an annulus?
Every pixel records light from the night sky — airglow, scattered moonlight, zodiacal light, unresolved faint stars — plus detector counts, not just the target. The annulus is a concentric ring well outside the star's light profile that samples this background where the star contributes nothing. Taking the median (not the mean) per pixel in the annulus rejects cosmic rays and faint neighboring stars, giving a robust per-pixel sky value to subtract from the aperture.
How big should the aperture radius be?
There is a trade-off. A large aperture captures nearly all the star's light but lets in more sky noise; a small one cuts noise but loses flux from the wings of the point spread function. For faint sources the signal-to-noise is maximized at roughly 1 to 1.5 times the FWHM of the PSF. Bright, photon-limited targets favor larger apertures (3–5 FWHM) to capture essentially all the flux. Many surveys use a curve-of-growth to pick the optimum.
When does aperture photometry fail?
It struggles in crowded fields like globular cluster cores, where neighboring stars overlap and contaminate both the aperture and the sky annulus. It also struggles for extended sources whose light spills past any reasonable circle, and when the PSF varies across the frame. In those cases PSF-fitting photometry (e.g. DAOPHOT) or profile-fitting is used instead, modeling each star's shape to deblend overlapping sources.
How is net flux turned into a magnitude?
The instrumental magnitude is m_inst = −2.5·log10(net flux / exposure time). To get a calibrated magnitude you add a zero point determined from standard stars of known brightness, and correct for atmospheric extinction (which depends on airmass) and color terms. The factor 2.5 comes from the historical Pogson definition: a difference of 5 magnitudes corresponds to a factor of 100 in flux, so each magnitude is a factor of about 2.512.
What is aperture correction?
Because a finite aperture always misses some light in the PSF wings, the measured magnitude is slightly too faint. An aperture correction is the offset between a small working aperture and a very large one that captures essentially all the flux. It is measured on bright isolated stars and applied to every source measured with the small aperture, recovering the total magnitude while keeping the noise advantage of the small radius.