NPF & 500 Rule Calculator

Longest exposure for pinpoint stars without trails – NPF rule from focal length, aperture and pixel pitch, compared with the 500 and 300 rules.

Runs locally in your browser

0 = celestial equator (strictest), Milky Way core ≈ −29

NPF rule · longest exposure for pinpoint stars
6.6 s
NPF, simplified14 s
500 rule25 s
300 rule15 s
Pixel pitch6 µm
Crop factor1

Exposure by focal length

mmNPF500300
1013 s50 s30 s
149.3 s36 s21 s
168.2 s31 s19 s
206.6 s25 s15 s
245.5 s21 s13 s
284.7 s18 s11 s
353.8 s14 s8.6 s
502.7 s10 s6 s
851.6 s5.9 s3.5 s

Full NPF formula t = (16.856·N + 0.0997·f + 13.713·p) / (f · cos δ) with pixel pitch p in µm. Gives sharp stars at 100 % view; the 500 rule only works for small prints and low-resolution sensors.

About this tool

Because the earth rotates, stars move across the sensor during an exposure. If the time is too long, points turn into short streaks. The NPF rule by French astronomer Frédéric Michaud calculates the longest time at which stars stay pinpoint even at 100 % view – from focal length, aperture and the pixel pitch of your sensor.

For comparison the calculator shows the well-known 500 rule and the stricter 300 rule. They date back to film and consider neither aperture nor pixel size, so they often give times that are too long for today’s high-resolution cameras. Optionally you can enter the declination of the sky region: near the celestial pole stars move more slowly.

How it works

  1. Pick your sensor format and enter its resolution in megapixels.
  2. Enter the focal length and aperture of your lens.
  3. Read the NPF time and set the next shorter shutter speed on the camera; the table shows the values for other focal lengths.

Frequently asked questions

Why is the NPF time shorter than the 500 rule?

The 500 rule was made for 35 mm film and small prints. A 24 or 45 megapixel sensor resolves much finer detail, so even small trails become visible. The NPF rule includes the pixel size and is meant for viewing at full resolution.

What does the declination mean?

Declination is the angle of a sky object above the celestial equator. At the equator (0°) stars move fastest; near the pole star (≈ 90°) hardly at all. By default the tool uses 0° – the safe value for any direction.

Which aperture should I use for stars?

Usually the widest aperture that is still sharp enough, often f/1.8 to f/2.8. A larger f-number lengthens the NPF time a little but costs more light than it gains in time. Whether the night is dark enough is shown by Moon Phase & Milky Way Planner.

Which focal length do I enter for APS-C or MFT?

Always the real focal length of the lens. The calculator accounts for the crop factor through the sensor format. The equivalent full-frame focal length is shown by the Crop Factor Calculator.