video.cihat.dev

NPF rule calculator

How many seconds can you expose the night sky before stars turn into short lines? Enter the lens and the camera; the NPF rule uses your sensor’s pixel size, so it fits today’s high-resolution cameras better than the 500 rule.

The long side of a full-size photo

How to use it

  1. Enter the focal length you shoot at, in millimeters.
  2. Enter the aperture, the f-number such as 2.8.
  3. Pick your sensor size and enter the image width in pixels, from the camera’s specifications or a photo’s details.
  4. Set the shutter to the result or a little shorter. For a star timelapse, make the interval the exposure plus a second or two.

The formula

The simple NPF rule, published by Frédéric Michaud of the Société Astronomique de France, is: exposure in seconds = (35 × f-number + 30 × pixel pitch in micrometers) ÷ focal length in millimeters. Pixel pitch is the sensor width divided by the image width in pixels.

A full-frame camera 6,000 pixels wide has a 6 µm pitch. With a 24 mm lens at f/2.8 that gives (35 × 2.8 + 30 × 6) ÷ 24 = 11.6 seconds. The 500 rule, 500 ÷ (focal length × crop factor), gives 20.8 seconds for the same lens, long enough that stars show as short lines when you zoom in.

Seconds before trailing
Lens, full frame, 6 µmNPF at f/2.8500 rule
14 mm19.9 s35.7 s
20 mm13.9 s25 s
24 mm11.6 s20.8 s
35 mm7.9 s14.3 s

Why the 500 rule trails on modern cameras

The 500 rule comes from film, when a few lines of trailing could not be seen on a print. A sensor with small pixels records the same movement across more pixels, so the trail shows. The NPF rule brings the pixel size and the aperture into the formula for that reason.

The simple formula is for stars near the celestial equator, which move fastest across the frame. Near the celestial pole stars move less, so you can expose somewhat longer there.

Questions people ask

What is the NPF rule?

A formula for the longest exposure before stars trail: (35 × f-number + 30 × pixel pitch in µm) ÷ focal length in mm. It accounts for the sensor’s pixel size, which the 500 rule ignores.

How long can I expose at 14 mm?

On a full-frame camera with 6 µm pixels at f/2.8, about 20 seconds by the NPF rule. The 500 rule says about 36 seconds, which trails on most current cameras.

How do I find my pixel pitch?

Divide the sensor width in millimeters by the image width in pixels and multiply by 1,000. A 23.5 mm APS-C sensor 6,000 pixels wide has a pitch of about 3.9 µm.

Should I use the 500, 400 or 300 rule?

All three ignore pixel size. On high-resolution cameras photographers often drop to 300 or 400 to reduce trailing; the NPF rule gives a figure for your actual camera instead.