Skip to content
Space 13 min read

500 Rule vs NPF Rule: Which Is Right for Sharp Stars?

Observation recorded
The Milky Way over a dark ridge with a photographer and tripod, beside two 100% crops of one star: smeared over 7.3 pixels at the 500 rule's 20.8 s and nearly round at the NPF rule's 8.2 s

Put a camera on a tripod, aim it at the Milky Way and open the shutter. Earth turns under the sky at 15 arcseconds per second, so every star slowly slides across the sensor. Leave the shutter open too long and the stars become short dashes. The question every night sky photographer asks is how long is too long, and the two best-known answers, the 500 rule and the NPF rule, can disagree by a factor of two or three.

This post explains where each rule comes from, why the 500 rule gives trailed stars on modern cameras, and when the two agree. You can try every example in the astrophotography exposure calculator, which draws one star pixel by pixel at each rule's shutter speed.

Quick answerUse the NPF rule for modern digital cameras. The 500 rule was set for 35 mm film and ignores pixel size and aperture. On a 45 MP full frame camera with a 24 mm f/1.4 lens it allows 20.8 s, which smears stars over 7.3 pixels; the NPF rule gives 8.2 s for the Milky Way core.

What is the 500 rule?

The 500 rule says the longest exposure in seconds is 500 divided by the focal length, times the crop factor for smaller sensors. AstroBackyard's guide gives the usual examples: a 24 mm lens on full frame allows 500 ÷ 24 = 20.8 seconds, and a 50 mm lens on a Canon APS-C body with a 1.6× crop allows 500 ÷ (1.6 × 50) = 6.25 seconds. The same guide notes that the rule was designed for 35 mm film and that the number 500 has no particular meaning.

Frédéric Michaud's article for the Société Astronomique du Havre shows where the number really comes from. The image of a star on the sensor moves at the focal length times cos δ divided by 13,713 per second, where δ is the star's declination and 13,713 is the number of seconds in a sidereal day divided by 2π. If you accept a blur equal to the film-era circle of confusion, 0.029 mm, the time is:

t=13,713×0.029fcos⁡δ×crop=398fcos⁡δ×cropt = \frac{13{,}713 \times 0.029}{f \cos\delta \times \text{crop}} = \frac{398}{f \cos\delta \times \text{crop}}

That is 398 ÷ f on the celestial equator and 562 ÷ f at 45° declination. Round the range to 500 and you have the rule. The key number is the 0.029 mm, 29 micrometres, of blur it allows. Film grain and small prints hid that. A modern sensor has pixels of 4 to 6 micrometres, so the same blur covers five to seven pixels.

What is the NPF rule?

Michaud's NPF rule, published in 2010 and explained in the 2013 SAH article, asks a sharper question: how big is a star's image on this sensor, and how long before it moves by about its own width? It is named after the three things it uses: N, the aperture as an f-number; P, the pixel pitch; and F, the focal length.

The star's image has three parts. Diffraction in the lens gives a blur of 4.47 × λ × N, with λ = 0.55 µm for green light. Turbulence in the air spreads it by about 3 arcseconds. And the colour filter pattern on the sensor means a star needs about two pixels to be recorded properly. Add those, divide by how fast the image moves, and allow a trail of k star radii:

t=k (16.9 N+13.7 p+0.1 f)fcos⁡δt = \frac{k\,(16.9\,N + 13.7\,p + 0.1\,f)}{f \cos\delta}

Here p is the pixel pitch in micrometres and f the focal length in millimetres. The article gives k = 1 for no visible trail, k = 2 for a slight trail of about one star width, and k = 3 for a visible one. With k = 2 and δ = 0, the celestial equator where stars move fastest, it simplifies to the version most people quote:

t≈35 N+30 pft \approx \frac{35\,N + 30\,p}{f}

The simple version rounds its constants up a little, so it gives about 5% more time than the full version at the equator. It ignores the 0.1 f seeing term, which matters only for long lenses.

Example 1: a 45 MP camera with a 24 mm f/1.4 lens

Example 1: the longest exposure for the Milky Way core

A full frame sensor 36 mm wide with 45 megapixels in a 3:2 shape has 8,216 pixels across. The lens is 24 mm at f/1.4, and the centre of the Milky Way is at declination −29°.

p=36 mm8,216=4.38 μmt500=50024=20.8 stNPF, simple=35×1.4+30×4.3824=49+131.424=7.5 stNPF=2 (16.9×1.4+13.7×4.38+0.1×24)24×cos⁡29∘=2×86.120.99=8.2 s\begin{aligned}p &= \frac{36\ \text{mm}}{8{,}216} = 4.38\ \mu\text{m} \\ t_{500} &= \frac{500}{24} = 20.8\ \text{s} \\ t_{\text{NPF, simple}} &= \frac{35 \times 1.4 + 30 \times 4.38}{24} = \frac{49 + 131.4}{24} = 7.5\ \text{s} \\ t_{\text{NPF}} &= \frac{2\,(16.9 \times 1.4 + 13.7 \times 4.38 + 0.1 \times 24)}{24 \times \cos 29^\circ} = \frac{2 \times 86.1}{20.99} = 8.2\ \text{s}\end{aligned}

The 500 rule allows two and a half times as long as the NPF rule.

Figure 1 shows what that means for one star. The two crops are 100% views, each square a single sensor pixel. At 20.8 seconds the star is a streak; at 8.2 seconds it is almost round.

The Milky Way over a dark ridge with a photographer and tripod, beside two 100% crops of one star from a 45 MP full frame camera with a 24 mm f/1.4 lens: smeared over 7.3 pixels at the 500 rule's 20.8 s, and nearly round at the NPF rule's 8.2 s
Figure 1. A 45 MP full frame camera with a 24 mm f/1.4 lens. At the 500 rule's 20.8 s the star smears over 7.3 pixels; at the NPF rule's 8.2 s it moves about one star width. Open this in the calculator.

Example 2: how far does the star move?

Example 2: trail length in pixels

One pixel of 4.38 µm behind a 24 mm lens covers 206.265 × p ÷ f arcseconds of sky. Stars move at 15.04″ per second times cos δ.

scale=206.265×4.3824=37.6′′ per pixelspeed=15.04×cos⁡29∘37.6=0.35 px per secondtrail at 20.8 s=20.8×0.35=7.3 px\begin{aligned}\text{scale} &= \frac{206.265 \times 4.38}{24} = 37.6''\ \text{per pixel} \\ \text{speed} &= \frac{15.04 \times \cos 29^\circ}{37.6} = 0.35\ \text{px per second} \\ \text{trail at } 20.8\ \text{s} &= 20.8 \times 0.35 = 7.3\ \text{px}\end{aligned}

The star's own image, from the NPF parts (3.4 µm of diffraction, 0.35 µm of seeing and 8.8 µm for the colour filter), is 12.6 µm, or 2.9 pixels. A 7.3 pixel trail on a 2.9 pixel star is clearly stretched.

On the whole frame you would not see it: 7.3 pixels out of 8,216 is less than one screen pixel on a phone. It shows when you zoom to 100%, crop, or print large, which is exactly what high resolution cameras are bought for.

When do the two rules agree?

The gap between the rules depends on the pixels and the lens. Here is a 24 MP full frame camera at f/2.8 across a range of focal lengths, for stars at −29°:

Focal length500 rule300 ruleNPF simpleNPF at −29°
14 mm35.7 s21.4 s19.9 s21.4 s
20 mm25.0 s15.0 s13.9 s15.0 s
24 mm20.8 s12.5 s11.6 s12.6 s
35 mm14.3 s8.6 s7.9 s8.7 s
50 mm10.0 s6.0 s5.6 s6.2 s
135 mm3.7 s2.2 s2.1 s2.4 s

With 6.0 µm pixels at f/2.8, the 500 rule gives about 1.7 times the NPF time at every focal length, and the stricter 300 rule, which some photographers use for crop and high resolution sensors, lands almost exactly on the NPF figure. That is a coincidence of this pixel size and aperture, not a law, but it explains why the 300 rule has a following.

A 24 MP full frame camera with a 14 mm f/2.8 lens aimed at the Milky Way core: the 500 rule's 35.7 s smears a star over 5.3 pixels, while the NPF rule's 21.4 s keeps the trail to about one star width of 3.2 pixels
Figure 2. The classic Milky Way setup, 24 MP full frame at 14 mm f/2.8: 35.7 s by the 500 rule, 21.4 s by NPF. Open this in the calculator.

Crop sensors make the gap wider, not narrower. The crop factor already shortens the 500 rule time, but the pixels are smaller too. A 24 MP APS-C camera has 3.9 µm pixels; with a 16 mm f/1.4 lens the 500 rule gives 20.8 s and NPF 11.3 s (Figure 3).

An APS-C 1.5× camera with 24 MP and a 16 mm f/1.4 lens: the 500 rule gives 20.8 s and smears the star over 5.4 pixels, the NPF rule gives 11.3 s
Figure 3. APS-C 1.5× with 24 MP and a 16 mm f/1.4 lens: 20.8 s by the 500 rule, 11.3 s by NPF. Open this in the calculator.

Phones go the other way. A main camera with a 1/1.31 inch sensor of 1.2 µm pixels, as DXOMARK lists for the Pixel 8 Pro, If, as is usual in low light, it combines its pixels in groups of four, they act as 2.4 µm pixels. Its lens is about 7 mm at f/1.68, which frames like 25 mm on full frame. Both rules give about 20 seconds (Figure 4). In practice phone night modes stack many short frames rather than take one long one, so this limit applies to each frame.

A phone main camera, 7 mm f/1.68 with 2.4 µm binned pixels: the 500 rule and the NPF rule both give about 20.2 s, and the two 100% crops of the star look the same
Figure 4. A phone main camera: with large combined pixels the two rules agree at about 20 s. Open this in the calculator.

Why does declination matter?

Stars near the celestial equator travel the biggest circles across the sky and move fastest. Towards the celestial poles the circles shrink, and a star's speed falls with the cosine of its declination. The Milky Way's centre at −29° moves at cos 29° = 0.87 of the equator's speed, so you get about 14% more time. Near Polaris, at +85°, stars move at less than a tenth of that speed, and NPF allows 126 seconds where it allows 11.0 at the equator (Figure 5).

Pointing near Polaris at +85° declination with a 24 MP full frame camera and 24 mm f/2.8 lens: the stars move so slowly that the NPF rule allows 126 s, while the 500 rule's 20.8 s moves the star only half a pixel
Figure 5. Near Polaris the stars barely move: NPF allows 126 s, and the 500 rule's 20.8 s moves the star by half a pixel. Open this in the calculator.

There is a catch. A wide lens pointed at the pole still has stars nearer the equator at the edges of its frame, and they move faster. The SAH article recommends using 0° for wide fields, the worst case, so that every star in the frame stays sharp. The 500 rule ignores declination altogether.

So which rule is right?

For a digital camera viewed at full resolution, the NPF rule. It is built from the things that really set star sharpness: the size of the star's image, set by the lens and the pixels, and how fast it moves, set by the focal length and the declination. The 500 rule fixes the allowed blur at a film-era 29 µm whatever the sensor, which is several pixels on any modern camera.

A few practical points:

  • Treat both as starting points. Take a test frame, zoom to 100% on a star near the middle and another near the edge, and adjust.
  • Decide what trail you accept. NPF with k = 2 allows about one star width. For 45 MP at 24 mm f/1.4 that is 8.2 s; k = 1 gives 4.1 s and k = 3 gives 12.3 s.
  • Do not stop down to gain time. A smaller aperture makes the star image bigger, so NPF allows slightly longer, but you collect far less light.
  • Short exposures are noisy. If the limit is a few seconds, take many frames and stack them, or use a tracking mount.

The last point leads to the next question: is it better to take one long exposure or many short ones? Read noise decides that, and our guide to splitting exposures to beat read noise works it through. Figure 6 shows the whole calculator for the 45 MP example, with the working.

Astrophotography exposure calculator for a 45 MP full frame camera, 24 mm f/1.4, Milky Way core at −29°: NPF 8.2 s, 500 rule 20.8 s, 300 rule 12.5 s, NPF simple 7.5 s, 4.38 µm pixel pitch, with the working and a warning that the 500 rule smears stars over 7.3 pixels
Figure 6. The full calculator for a 45 MP full frame camera with a 24 mm f/1.4 lens. Open this in the calculator.

To find the numbers for your own camera, open the astrophotography exposure calculator, choose your sensor, and type your lens and megapixels.

Sources

Frequently asked questions

Is the 500 rule still accurate?

Not for modern digital cameras viewed at full size. It was set for 35 mm film and allows a blur of about 29 µm on the sensor, several pixels wide. On a 45 MP full frame camera at 24 mm it allows 20.8 s, which smears stars over about 7 pixels.

What is the NPF rule formula?

In its simple form, exposure in seconds = (35 × f-number + 30 × pixel pitch in µm) ÷ focal length in mm. The full version, by Frédéric Michaud of the Société Astronomique du Havre, is k × (16.9N + 13.7p + 0.1f) ÷ (f × cos δ), which adds the declination and the trail you accept.

Is the NPF rule always shorter than the 500 rule?

Usually, for current cameras. With large pixels and slower lenses the two can agree: a phone camera with 2.4 µm binned pixels at f/1.68 gets about 20 s from both.

What exposure should I use for the Milky Way with a 14 mm lens?

On a 24 MP full frame camera at f/2.8, the NPF rule gives about 21 s for the Milky Way core at −29° declination. The 500 rule’s 36 s smears stars over about 5 pixels.

What is the 300 rule?

The 500 rule with 300 in place of 500, a stricter version some photographers use for crop sensors and high resolution cameras. For a 24 MP full frame camera at f/2.8 it happens to come close to the NPF result.

Related observations
Space One hour of astrophotography: why 240 short exposures can differ from six long ones Space How Bright Will Betelgeuse's Supernova Be? The Math Space How Many Miles Have You Travelled Around the Sun?
Transmit