Photometry and Signal-to-Noise
Photometry is the operational bridge between the abstract quantities of luminosity and radiant flux and the discrete electron counts a real detector delivers. Every measured brightness — a stellar magnitude, a galaxy flux, a supernova light curve — begins as photons striking a charge-coupled device (CCD), being converted to photoelectrons, digitized, and stored as an image of pixel values. The task of photometry is to run this chain backwards: to recover, with a stated uncertainty, the flux of an astronomical source from a noisy, background-contaminated frame. This article is where the magnitude system, filters, and flux meet the hardware — it takes Pogson's relation from the preceding articles and asks what it takes to actually measure on a real night, and how well. Two ideas organize everything that follows. The first is technique: aperture photometry sums the counts inside a synthetic circle and subtracts a local sky level, while point-spread-function fitting models the instrumental profile of a point source and fits scaled copies of it — robust simplicity versus optimal, deblending precision. The second, and the heart of the article, is noise. Photons arrive as a Poisson process, so a source of electrons carries shot noise ; sky, dark current, and read noise add further variance. Combining them in quadrature gives the CCD equation, which turns into a single number, the signal-to-noise ratio, and hence the magnitude error via . Understanding how SNR grows — as when background-limited but linearly when read-limited — is what lets an observer plan an exposure, and what ultimately underwrites every rung of the cosmic distance ladder.
- Photometry converts detector counts into calibrated source flux; aperture photometry sums counts in a circle and subtracts a sky annulus, while PSF fitting models the point-source profile for crowded fields and faint detections.
- The precision is set by a noise budget: Poisson shot noise from source and sky photons, plus dark current and read noise, combined in quadrature as the CCD equation.
- Signal-to-noise scales as in the source- or sky-limited regime and when read-noise-limited, which is why long single exposures beat many short ones for faint work.
- A magnitude error follows from SNR by , so gives about mag and going one magnitude deeper at fixed SNR costs times the exposure.
- Instrumental magnitudes are meaningless until tied to a standard system through a zero point, an airmass-dependent extinction term, and a color term.
- Key idea: a measured flux is only as good as its noise budget — counts must be converted to electrons, corrected for background, and assigned a Poisson-plus-detector variance through the CCD equation, so that SNR directly fixes the magnitude error via .
A measured flux is only as good as its noise budget: recorded counts must be converted to electrons, corrected for background, and assigned a Poisson-plus-detector uncertainty through the CCD equation, so that the signal-to-noise ratio directly determines the magnitude error via .
Where this lives today
The CCD equation is the arithmetic behind every modern survey's exposure-time calculator. The Vera C. Rubin Observatory's Legacy Survey of Space and Time plans a decade of -second pairs across the southern sky, and it is precisely the read-noise-versus-sky crossover that dictates that cadence — short enough to freeze the sky, long enough that the co-added stacks reach beyond magnitude by accumulating depth over a thousand visits. Gaia has delivered calibrated photometry for nearly two billion stars, its milli-magnitude precision resting on the same conversion applied to exquisitely characterized detectors. The James Webb Space Telescope pushes faint-source photometry toward AB magnitude by beating down the background from space and integrating for hours in the source- and read-limited regime where the ground cannot follow. And time-domain astronomy — difference-imaging pipelines that discover supernovae and calibrate Type Ia standard candles, crowded-field PSF fitting that yields cluster color-magnitude diagrams — lives or dies by an honest noise budget. Get the variance wrong and the error bars lie; get it right and your measured flux becomes a rung on the distance ladder.
The physical picture
Think of a photometric measurement as counting raindrops in a bucket during a storm. The source is the rain you care about; the sky background is a steady drizzle falling into every bucket; the read noise is the imprecision of reading the water level off the bucket's scale. To find the source rate you must subtract the drizzle and account for both the randomness of how many drops actually fell — Poisson noise — and the finite resolution of your ruler. A CCD frame is a grid of such buckets, and photometry is the arithmetic that turns the filled grid back into a flux with an error bar. The first figure fixes the geometry and the arithmetic together. A point source lands on the detector as a compact profile — the point-spread function — and aperture photometry draws a circle around it, sums the pixels inside, and estimates the sky from a surrounding annulus of blank pixels. The number that matters is not the sum but its uncertainty, which the noise budget lays bare: for a realistic faint star the background fluctuations swamp the source's own shot noise, so the measurement is "sky-limited" and every trick — a darker site, a larger aperture only up to a point, a tighter PSF — is really a fight against the sky.
The second idea is how that budget evolves as you integrate. Source, sky, and dark counts all grow linearly with exposure time, but read noise is levied once per readout and never grows. So a very short exposure is read-noise-limited and its SNR climbs linearly with time; keep integrating and the accumulating photon shot noise takes over, at which point SNR climbs only as the square root of time. The crossover between these two slopes is the single most important thing an observer plans around: it says how long an exposure must be before the detector stops throwing away signal, and why a survey stacks long sub-exposures rather than many snapshots.
The choice between aperture and PSF photometry is a trade between simplicity and information. An aperture throws away the known shape of a point source and weights every pixel equally; PSF fitting exploits the profile, weighting each pixel by how much signal it should contain, which is statistically optimal in the low-SNR and crowded regimes but demands an accurate PSF model. Calibration, finally, is a change of coordinates: instrumental magnitudes live in the detector's own idiosyncratic frame, and zero points, extinction, and color terms rotate and shift them onto the universal standard system so that a magnitude from one telescope on one night can be compared with any other.
The core equations
Photometry starts from the definition of magnitude in terms of flux. Pogson's relation encodes the historical convention that five magnitudes are exactly a factor of one hundred in flux, and its inverse recovers flux from a calibrated magnitude.
where: — apparent magnitudes; — corresponding fluxes; — reference flux setting the zero point of the system. Reading: a difference of magnitudes is a logarithmic ratio of fluxes, so the whole enterprise reduces to measuring flux ratios accurately. Measuring that flux begins with a background-subtracted sum of pixel counts inside the chosen aperture. The sky level is estimated from a surrounding annulus and removed pixel by pixel.
where: — background-subtracted source counts in ADU; — raw counts in pixel ; — mean sky counts per pixel from the annulus; — the set of pixels inside the aperture. Reading: the aperture defines what you call "source" and the annulus what you call "sky"; both choices feed directly into the noise. The central result of the article is the CCD equation, which assembles the signal-to-noise ratio from independent variances. It is the equation an exposure-time calculator solves.
where: — total source electrons; — gain in electrons per ADU; — sky electrons per pixel; — dark-current electrons per pixel; — read noise in electrons rms per pixel; — number of pixels in the aperture. Reading: the numerator is signal, the denominator is the square root of the total variance — source shot noise plus per-pixel background and read variance summed over the aperture. A signal-to-noise ratio converts directly into a magnitude uncertainty by propagating a fractional flux error through Pogson's logarithm.
where: — magnitude uncertainty in mag; — signal-to-noise of the flux. Reading: a per-cent flux error is about mag, so yields roughly one hundredth of a magnitude — a convenient mental conversion. Raw counts become a magnitude on the standard system only after calibration against standard stars, which fixes the zero point, removes atmospheric extinction, and corrects the bandpass mismatch.
where: — calibrated magnitude; — instrumental magnitude from the count rate; — nightly zero point; — first-order extinction coefficient in mag per airmass; — airmass; — color-term coefficient; — exposure time. Reading: the instrument measures a count rate, and three additive corrections carry it onto a system shared across the sky. The airmass itself is fixed by geometry, well approximated by the secant of the zenith angle with a small refractive correction near the horizon.
where: — airmass, dimensionless and equal to at the zenith; — zenith angle. Reading: observing near the horizon piles up atmosphere ( grows fast), which is why standard stars are measured across a range of airmass to solve for .
The goal is to build the signal-to-noise expression of equation (3) from first principles — as a sum of statistically independent variances — and then to read off the three regimes that decide observing strategy: source-limited, sky-limited, and read-noise-limited. We consider a source depositing electrons into an aperture of pixels, sitting on a background of sky and dark electrons per pixel, read out with electrons rms of read noise per pixel, and we track how each contribution grows with exposure time so that the slopes emerge naturally.
Step 1. After background subtraction the signal is simply the source electron count, , because the mean sky has already been removed pixel by pixel. Why: the gain converts arbitrary digital counts into physical electrons, and only electrons obey photon statistics — this conversion must happen before any noise is computed.
Step 2. The source photoelectrons are a Poisson process, so their variance equals their mean, . Why: independent photon arrivals in a fixed interval are Poisson-distributed, and the defining property of that distribution is variance equal to mean, which is the origin of "" shot noise.
Step 3. Each pixel also carries Poisson fluctuations from sky and dark current, and these persist even after the mean sky is subtracted, contributing summed over the aperture. Why: subtracting the mean removes the level but not the randomness — the shot noise of the background photons remains and grows with the number of pixels you sum over, which is why a bloated aperture hurts.
Step 4. Reading the chip out injects a per-pixel Gaussian noise of variance , once per readout, giving . Why: read noise is set by the output amplifier and digitization, is independent of how many photons landed, and is charged exactly once each time the aperture's pixels are read.
Step 5. Because the noise sources are independent their variances add, and the SNR is signal over total noise, — equation (3). Why: quadrature addition is the statement that uncorrelated errors do not conspire, and it is the single assumption that makes the whole budget tractable.
Step 6. Now let time run: , , and all scale as while is constant. When the source dominates, ; when the sky dominates, ; when read noise dominates, . Why: these three slopes are the practical payoff — they tell you that faint work is a slow √t grind against the sky, and that only very short exposures suffer the linear read-noise penalty that longer integrations escape.
Go deeper · Derivation B · 1 minFrom signal-to-noise to the magnitude error
The goal is to justify the compact and universally used relation , showing exactly where the constant comes from and why a fractional flux error maps onto an absolute magnitude error. This matters because observers quote depths in magnitudes but detectors measure flux, so the conversion between "SNR of a measurement" and "error bar on a catalog magnitude" must be exact and dimensionally clean, and it turns out to depend on nothing but the base of Pogson's logarithm.
Step 1. Start from the magnitude as a logarithm of flux, , the differential form of Pogson's relation. Why: uncertainty propagation is a statement about small changes, so we need as a smooth function of before differentiating.
Step 2. Differentiate, using , to get . Why: the chain rule converts a change in flux into a change in magnitude, and the awkward factor is simply the price of measuring brightness in a base-10 logarithmic scale.
Step 3. Replace the differentials by uncertainties and identify the signal-to-noise ratio as the inverse fractional flux error, , so , since . Why: this is the whole point — the SNR of a flux measurement is exactly the reciprocal fractional error, and multiplying by the fixed constant turns it straight into a magnitude error with no further inputs. For SNR ≳ 5 the linearization is excellent; only near the detection threshold does the error distribution become noticeably asymmetric.
Go deeper · Derivation C · 1 minThe optimal aperture radius and the aperture correction
The goal is to show that for a point source with a known profile there is a finite aperture radius that maximizes SNR — larger is not better — and to derive the aperture correction that recovers the light such an aperture necessarily throws away. This is one of the most consequential practical results in photometry: it explains why measuring apertures are kept surprisingly small, roughly one full-width-at-half-maximum, and why every catalog quietly applies a fixed offset measured on bright stars to its faint-star magnitudes.
Step 1. Let the fraction of source light enclosed within radius be , so the captured signal is , while the number of pixels grows as for pixel scale . Why: growing the aperture buys more of the source's flux but pays for it with more background-carrying pixels, and the two effects are captured entirely by rising toward one and rising as .
Step 2. In the sky-limited regime the noise is , so , and maximizing it requires . Why: at small the enclosed fraction climbs faster than the noise, at large the noise wins because the profile's wings add pixels but almost no signal — the optimum sits where the two balance, typically near – FWHM for a Gaussian core.
Step 3. Because that optimal aperture deliberately misses the profile's wings, the measured magnitude is too faint by , the aperture correction. Why: one measures on bright, isolated stars where SNR is ample, then applies the same constant offset to faint stars measured in the small aperture — recovering the total flux without ever paying the sky-noise cost of a large aperture.
Limiting cases
The CCD equation collapses into three regimes, each dictating a different observing strategy:
| Case | Result | Meaning |
|---|---|---|
| Source-limited (bright star) | Source photons dominate; the error is pure shot noise and . Bright-star photometry is limited by how many source photons you collect. | |
| Sky-limited (faint star, long exposure) | Background shot noise summed over the aperture sets the floor; still . Favors dark sites, tight PSFs, and small apertures. | |
| Read-noise-limited (very short exposure) | Fixed per-readout noise dominates, so . Favors fewer, longer exposures to avoid paying repeatedly. |
Worked examples
1 · Bright star, source-limited (confidence builder)
A well-exposed star yields source electrons in an aperture where sky, dark, and read noise are all negligible. Find its SNR and magnitude error.
Step 1. With every background term negligible the CCD equation collapses to the source-limited form . The measurement is pure photon shot noise.
Step 2. Convert to a magnitude error with equation (4): . So a hundred-to-one measurement is good to about one hundredth of a magnitude — a benchmark worth memorizing. SNR = 100, σ_m ≈ 0.011 mag.
2 · A faint star with a full noise budget
A star delivers a source rate of into an aperture of pixels. The sky contributes per pixel, dark current is negligible, and the read noise is per pixel. What SNR and magnitude error result from a exposure, and which term limits it?
Step 1. Accumulate the electrons. Source: . Sky per pixel: .
Step 2. Build the three variances. Source ; sky ; read . The total is , so the noise is .
Step 3. Form the ratio: . Because the sky variance () dwarfs the source () and read () terms, this is a sky-limited measurement — the same conclusion the noise-budget figure draws graphically.
Step 4. Magnitude error: . A three-hundred-second exposure on this star delivers roughly fourteen-millimagnitude photometry, background-limited. SNR = 77, sky-limited, σ_m ≈ 0.014 mag.
3 · Exposure planning and the cost of one magnitude
A faint star gives against a sky of per pixel over pixels, deep in the sky-limited regime. How long must you integrate for , and how much longer would a star one magnitude fainter need?
Step 1. In the sky-limited limit , with source rate and sky rate . Solve for time: .
Step 2. Insert the numbers: , about hours. A full-budget check confirms at — the source and read terms are genuinely negligible here.
Step 3. A star one magnitude fainter has times less flux, so drops by and, at fixed SNR, grows by . The required time balloons to , roughly seven hours. Reaching one magnitude deeper at fixed SNR costs about 6.3× the exposure — the single hardest fact of survey economics.
Physics of the portrait
Photometry's history is the story of replacing the human eye, first with a fixed logarithmic scale, then with photocells, and finally with silicon arrays whose noise is understood well enough to write down in one equation.
Origins · 1 minthe CCD equation and how this was discovered
The signal-to-noise equation of modern photometry is the confluence of two very different lineages. One is the scale: Norman Robert Pogson, cataloguing stars at Oxford and later as Government Astronomer at Madras, proposed in 1856 that a difference of five magnitudes be fixed as exactly a factor of one hundred in flux, turning the ancient six-grade eyeball ranking of Hipparchus into a precise logarithmic law, . The other lineage is the statistics of counting: Siméon Denis Poisson's 1837 distribution describes independent rare events, and when photodetection was understood as photon counting it supplied the irreducible "" shot noise at the heart of every brightness measurement. For half a century the detector between scale and statistics was the photographic plate — nonlinear, hard to calibrate — until Joel Stebbins pioneered photoelectric photometry around 1910, replacing the eye with a measurable current and finally making error bars meaningful. The decisive hardware arrived in 1969, when Willard Boyle and George Smith invented the charge-coupled device at Bell Labs; its linearity, high quantum efficiency, and characterizable read noise let astronomers write the noise budget down term by term. Peter Stetson's 1987 DAOPHOT package then turned PSF fitting into a reproducible standard for crowded fields. The CCD equation is what remains when all of this is distilled: a scale, a statistic, and a detector, fused into one line.
Going further
Texts. Carroll & Ostlie, An Introduction to Modern Astrophysics, 2nd ed., Ch. 3 (magnitudes, flux, detectors) · Howell, Handbook of CCD Astronomy, 2nd ed., Ch. 4–5 (the CCD equation and aperture/PSF photometry) · Chromey, To Measure the Sky, 2nd ed. (calibration, extinction, color terms) · Binney & Merrifield, Galactic Astronomy (photometric systems) · Ryden & Peterson, Foundations of Astrophysics (introductory synthesis).
Provenance. Pogson's relation and the flux–magnitude law are standard (Carroll & Ostlie Ch. 3). The CCD equation matches Howell, Handbook of CCD Astronomy 2nd ed. Eq. 4.8; the magnitude-error relation uses the exact constant . The three worked examples are directly recomputable: source-limited mag; the full-budget faint star gives and mag; the sky-limited planning example gives s for SNR and a time penalty per magnitude. The airmass approximation and the optimal-aperture results follow standard practice (Howell Ch. 5). No non-standard numbers are asserted.
Prerequisites. Luminosity and Radiant Flux · The Magnitude System · Photometric Systems and Filters. Leads to. Color Indices and Bolometric Corrections · Standard Candles · The Cosmic Distance Ladder.
Ask the tutor: ask me to size an exposure for any star and sky brightness, or to walk through the CCD equation term by term on your own data.
What is the difference between aperture and PSF photometry, and when do I use each?
Aperture photometry sums all the counts inside a fixed circle and subtracts a sky level measured in a surrounding annulus. It is simple, assumption-free about the source shape, and ideal for bright, isolated stars and galaxies. PSF-fitting photometry instead builds a model of the point-spread function from bright stars and fits scaled, shifted copies of it to the data. Because it weights each pixel by the signal it should contain, it is statistically optimal at low SNR, and because it can fit several overlapping profiles at once it is the only workable method in crowded fields like globular clusters. The rule of thumb: aperture for isolated and bright, PSF for faint and crowded — and PSF whenever you need to deblend.
Why is my measurement sky-limited even after I subtracted the sky?
Because subtracting the sky removes its average level, not its randomness. The background is made of photons that arrive as a Poisson process, so each pixel carries a fluctuation of order electrons even after the mean is removed. When you sum over the pixels of your aperture, those independent fluctuations add in quadrature to , and for a faint source this term is far larger than the source's own shot noise. "Sky-limited" names exactly this situation. The defenses are physical, not arithmetic: observe from a darker site, use a narrower filter, keep the PSF tight, and choose the smallest aperture that still captures most of the light.
Why not always use a huge aperture to capture all the light?
Because a larger aperture adds background-carrying pixels faster than it adds source flux. The source's light falls off in the wings of the PSF, so beyond about one FWHM each extra ring of pixels contributes almost no new signal but its full share of sky and read noise. In the sky-limited regime the noise grows as the aperture radius while the enclosed signal flattens, so the SNR actually peaks at a modest radius and then declines. The standard solution is to measure in a small, high-SNR aperture and then apply an aperture correction — a fixed offset, measured on bright stars, that accounts for the fraction of light the small aperture deliberately left out.
How does the magnitude error really relate to SNR?
Through one clean line of calculus. Magnitude is , so a small fractional change in flux produces a change in magnitude of . Since the signal-to-noise ratio is by definition the reciprocal of the fractional flux error, , the magnitude error is . The constant is exact: . So SNR gives mag, SNR gives mag, and SNR gives about a milli-magnitude. The relation is reliable for SNR above about five; nearer the detection limit the flux errors become asymmetric and this linear formula slightly understates the true uncertainty.
What exactly do the zero point, extinction, and color terms do?
They carry a raw instrumental magnitude onto a universal standard system in three steps. The zero point is a single additive constant per night and filter that absorbs the telescope's throughput and the detector's gain, anchoring your count rate to the standard scale. The extinction term removes the dimming imposed by the atmosphere, which grows with airmass ; you solve for by observing standard stars over a range of altitude. The color term corrects for the fact that your filter's real bandpass never exactly matches the standard one, so redder and bluer stars are converted slightly differently. Together they let magnitudes from different nights, instruments, and sites be compared to milli-magnitude precision.
Why do surveys prefer fewer long exposures over many short ones?
Because read noise is charged once per readout regardless of how long you integrate. If you split a fixed total time into many short frames, you pay electrons of noise per pixel on every single one, and in the read-limited regime the SNR of each frame grows only linearly, so the penalty is real. One long exposure pays the read-noise toll just once, letting the photon shot noise — which you cannot avoid — dominate the budget. The competing pressures are saturation of bright stars, cosmic-ray hits, and tracking errors, all of which favor shorter frames, so real surveys pick a sub-exposure long enough to become sky-limited but short enough to stay safe, then co-add many of them for depth.