Home ↓
CalculatorsVerified

Tech & Digital

Star Photography Exposure Calculator (500 Rule and NPF Rule)

Because the Earth rotates, stars drift across a fixed camera's frame, and with a long enough exposure they turn from points into short streaks. Photographers of the Milky Way and night landscapes therefore need the longest shutter speed that still keeps stars looking like points, so they can gather as much light as possible. The classic guideline is the 500 rule: divide 500 by the focal length multiplied by the crop factor to get the maximum exposure in seconds. It was devised for film and lower-resolution sensors and usually allows slight trailing on modern high-megapixel cameras. The NPF rule, developed by the French astronomy society, takes into account the aperture and the size of each pixel. In its widely used simplified form, the maximum exposure in seconds equals thirty-five times the f-number plus thirty times the pixel pitch in micrometres, divided by the real focal length. Smaller pixels and longer lenses shorten the exposure, while slower apertures lengthen it slightly because the star images are larger. This calculator takes your focal length, crop factor, aperture and pixel pitch, and returns both limits together with the full-frame equivalent focal length. The full NPF rule also depends on the declination of the stars you are photographing; stars near the celestial poles move more slowly and tolerate longer exposures than those near the celestial equator.

How to use this calculator

  1. Enter the real focal length of your lens.
  2. Enter your camera's crop factor: 1 for full frame, about 1.5 or 1.6 for APS-C.
  3. Enter the aperture you will shoot at.
  4. Enter the sensor's pixel pitch in micrometres.
  5. Use the NPF result as your maximum exposure; the 500 rule is shown for comparison.

Choosing between the rules

Use the 500 rule for small prints and web images, where slight trailing is invisible. Use the NPF result when you want stars to look like points at 100 percent zoom or on large prints.

Some photographers use a 300 or 400 rule as a compromise on high-resolution cameras. The NPF rule makes that adjustment automatically through the pixel pitch.

Getting more light without trailing

When the maximum exposure is short, raise the ISO, open the aperture, or take several frames and stack them in software to reduce noise. Stacking ten 10-second frames gives cleaner images than one longer, trailed exposure.

For much longer exposures, a star tracker mount rotates the camera to follow the sky. It removes trailing in the stars, but the foreground then blurs, so many photographers blend separate sky and ground frames.

Formula & method

500 rule: t = 500 ÷ (focal length × crop factor)Simplified NPF rule: t = (35 × N + 30 × p) ÷ focal lengthp = pixel pitch in µm; N = f-number; focal length is the real (not equivalent) valueExposure in seconds; halve it for very sharp stars on high-resolution sensors

500 rule: t = 500 / (f × crop). Simplified NPF rule: t = (35 × N + 30 × p) / f, where N is the f-number, p the pixel pitch in µm and f the real focal length in mm.

Worked example

A 24 mm f/2.8 lens on a full-frame camera with 4.3 µm pixels

  1. 500 rule: 500 ÷ 24 = 20.8 s
  2. NPF: (35 × 2.8 + 30 × 4.3) ÷ 24 = (98 + 129) ÷ 24 = 9.46 s
  3. Recommended maximum: about 9 seconds

Answer: Shoot at around 8–10 seconds to keep stars sharp when viewed at full resolution.

Frequently asked questions

How do I find my pixel pitch?

Divide the sensor width in millimetres by the number of pixels across and multiply by 1,000. A 36 mm sensor with 6,000 pixels across has a pixel pitch of 6 µm.

Should I use the real or equivalent focal length?

For the 500 rule, multiply the real focal length by the crop factor. For the NPF rule, use the real focal length, because the pixel pitch already accounts for the sensor size.

Does the direction I point the camera matter?

Yes. Stars near the celestial poles, around Polaris in the north or the south celestial pole, move slowly and allow longer exposures. Stars near the celestial equator move fastest.

What ISO should I use for the Milky Way?

Many photographers use ISO 1600 to 6400 with a wide-aperture lens and an exposure near the NPF limit. The best value depends on your camera's noise performance and the darkness of the sky.

Why do my stars still look elongated?

Lens aberrations such as coma and astigmatism can stretch stars near the edges of the frame even with short exposures. Stopping the aperture down slightly often improves this.

Is the simplified NPF rule exact?

It is an approximation of a fuller formula that includes declination and the circle of confusion. It gives safe, practical exposure times for most night-sky photography.