In daytime photography, the camera chooses the exposure. At night, you decide, with three settings: aperture, ISO sensitivity and exposure time, the last of which is limited by the Earth's rotation.
Aperture and ISO
- Aperture: start wide open (f/1.8, f/2.8…). If the stars in the corners take on the shape of a comma or a small seagull, the lens suffers from aberrations wide open: stop down one notch, for example from f/1.8 to f/2.5.
- ISO: 1,600 to 3,200 is a good starting point. Going higher brightens the displayed image, but adds almost nothing in quality on recent sensors and reduces dynamic range, which blows out bright stars.
Why stars trail
Seen from the ground, the sky makes a full turn in a little under 24 hours, or about 15 arcseconds per second of time for a star near the celestial equator. On an exposure that is too long, each star leaves a small trail. The longer the focal length, the larger this trail on the sensor: that is why untracked photography is done with wide-angle lenses.
The 500 rule
Maximum exposure time (in seconds) = 500 / (focal length × crop factor).
The factor is 1 for full frame, 1.5 or 1.6 for APS-C depending on the brand, 2 for Micro 4/3. With a 14 mm on full frame: 500 / 14 ≈ 35 s. With an 18 mm on an APS-C sensor with a 1.5 factor: 500 / 27 ≈ 18 s.
This rule dates from the film era. On a 24 to 60 megapixel sensor, the pixels are so small that a trail of a few pixels shows as soon as you magnify the image: at 35 s, the stars in a 14 mm photo are already oval. Many photographers therefore reduce the result by a third, or even by half.
The NPF rule, more accurate
The NPF rule takes into account the aperture (N), the pixel size (P) and the focal length (F). Its simplified version reads:
Maximum time (s) = (35 × N + 30 × p) / f
N is the f-number (2.8 for f/2.8), p the pixel size in micrometers and f the actual focal length in millimeters (not the "equivalent" focal length: the crop factor is already accounted for by the pixel size). To find p, divide the sensor width in millimeters by the number of pixels across, then multiply by 1,000.
Example: a 24-megapixel full-frame camera (6,000 pixels across 36 mm, so p = 6 µm) with a 14 mm at f/2.8 gives (98 + 180) / 14 ≈ 20 s, well below the 35 s of the 500 rule.
Both rules assume a star near the celestial equator, where apparent motion is fastest. Near the celestial pole, stars move more slowly and tolerate longer exposures. The site's astrophoto tool does these calculations for your gear.
Judging exposure with the histogram
In the dark, the screen always looks too bright: rely on the histogram. The peak representing the sky background should be clearly separated from the left edge, around a quarter or a third of the width. If it is stuck to the left, raise the ISO or open the aperture further. Under a light-polluted sky, the background rises quickly: shorten the exposure rather than letting it climb toward the middle.
Starting point under a dark sky, for the Milky Way: 14 to 20 mm, f/2.8, ISO 3,200, 15 to 20 s. In RAW, the white balance is only an indication that you will change during processing; around 3,800 to 4,200 K, the preview looks natural.
Key points
- Start wide open, and stop down one notch if the corner stars are distorted.
- ISO 1,600 to 3,200 is enough: going higher adds almost nothing on recent sensors.
- The 500 rule gives an exposure time that is too long for modern sensors.
- The NPF rule, (35 × N + 30 × p) / f, takes into account aperture and pixel size.
- Judge exposure on the histogram: the sky background peak should be clear of the left edge.
🧮 Exercise
Use the astrophoto tool to calculate the maximum exposure time for your shortest lens, then compare it with the NPF rule worked out by hand after looking up your camera's pixel size.
Let's go