Skip to content
← Glossary

NPF rule

The NPF rule is a more precise formula than the 500 rule for calculating the maximum exposure time that keeps stars as points.

Also known as: NPF formula

The NPF rule is a more precise formula than the 500 rule for calculating the maximum exposure time that keeps stars as points. Its name comes from the three factors it considers: aperture (N), pixel size (P) and focal length (F). In its simplified form it is (35 × N + 30 × p) ÷ f, where N is the f-number, p is the pixel size in microns and f is the real focal length in millimeters; the result is in seconds.

NPF rule formula with each term labeled and a bar comparison between the time given by the 500 rule and the one given by the NPF for a 20 millimeter lens at f 2.8 on a 24-megapixel sensor

The 500 rule only looks at the focal length. The NPF adds the aperture and the pixel size, which is what decides when the trail shows.

How do I get my camera's pixel size?

You do not need to look it up on a spec sheet: it comes from two numbers you already know. Divide the sensor width in millimeters by the photo's width in pixels and multiply by 1,000.

A full-frame sensor is about 35.9 mm wide. If your files come out at 6,000 px wide, the pixel measures 35.9 ÷ 6000 × 1000 = 6.0 microns. An APS-C of 23.5 mm with those same 6,000 px gives 3.9 microns. The smaller p is, the shorter the time the formula allows.

What time does it give me with my gear?

The NPF uses the real focal length, not the equivalent: the pixel size already incorporates the sensor density, so applying the crop factor would count the same effect twice.

  • Sensor and resolution: Full frame, 24 MP; Pixel (µm): 6.0; Focal length and aperture: 20 mm f/2.8; NPF: 14 s; 500 rule: 25 s

  • Sensor and resolution: Full frame, 45 MP; Pixel (µm): 4.4; Focal length and aperture: 20 mm f/2.8; NPF: 11 s; 500 rule: 25 s

  • Sensor and resolution: Full frame, 61 MP; Pixel (µm): 3.8; Focal length and aperture: 20 mm f/2.8; NPF: 10 s; 500 rule: 25 s

  • Sensor and resolution: Full frame, 24 MP; Pixel (µm): 6.0; Focal length and aperture: 14 mm f/1.8; NPF: 17 s; 500 rule: 36 s

  • Sensor and resolution: APS-C, 24 MP; Pixel (µm): 3.9; Focal length and aperture: 16 mm f/2.8; NPF: 13 s; 500 rule: 21 s

  • Sensor and resolution: M4/3, 20 MP; Pixel (µm): 3.3; Focal length and aperture: 12 mm f/2.8; NPF: 16 s; 500 rule: 21 s

The pattern reads at a glance: already on a 24 MP full frame the 500 rule asks for almost twice the time of the NPF, and from 45 MP on the difference goes past two times. With a faster lens the margin improves, because a wider aperture reduces the 35 × N term.

How do I make up for the time I lose?

Cutting from 25 to 14 seconds costs almost a stop of light, and you have to give it back somewhere else.

  • Open the aperture. From f/2.8 to f/2 you recover a full stop and also shorten the formula itself.

  • Raise ISO one notch. From 3200 to 6400 on full frame is a reasonable trade: noise cleans up better than a trail, which cannot be fixed.

  • Stack several shots. Eight aligned and averaged 13 s exposures give less noise than a single 25 s one, and the stars remain points.

When is it not worth applying?

The simplified NPF assumes the worst case: stars on the celestial equator, where apparent motion is greatest, and sharpness judged at 100% on screen. If you publish at 2,000 px wide or point near Polaris, the 500 rule is still enough and saves you noise.

Many apps offer a "×2" or "×3" variant that accepts a small trail in exchange for more light. It is a legitimate decision as long as you know what you are accepting.

Common mistakes

  • Using the equivalent focal length. With a 16 mm APS-C, the formula takes 16, not 24. Plugging in the equivalent shortens the time for no reason.

  • Confusing microns with millimeters. Pixel size is expressed in microns (µm). Entering 0.006 instead of 6 returns an absurd result.

  • Treating the result as final without zooming in. Check one star at 100% on the rear screen before shooting the whole series.

  • Applying it to deliberate long-exposure stars. If you are after star trails, the formula has no place: there the trail is the subject.

It is used in the astrophotography covered in the guide to night photography and astrophotography. To calculate it with your camera and compare it with the 500 rule, use the NPF rule calculator and the article NPF rule vs. 500 rule: which to use.