The NPF rule and the 500 rule, side by side

Why the 500 rule gives trailed stars on modern sensors, how the NPF rule works it out from aperture, pixel pitch and focal length, and a table of both.

Cihat SALİK 3 min read

Point a camera on a fixed tripod at the night sky and leave the shutter open, and the stars slowly turn into lines. The Earth is rotating, so every second of exposure moves each star a little across the sensor. The question is how long you can expose before that movement shows.

Two rules of thumb answer it. The 500 rule is the old one; the NPF rule is the one that holds up on today’s sensors. You can try both with the free NPF rule calculator.

The 500 rule

Divide 500 by the focal length, multiplied by the crop factor:

t = 500 ÷ (focal length × crop factor)

A 20 mm lens on full frame gives 25 seconds. It is quick to do in your head, and on a 12-megapixel camera viewed at screen size it looked fine.

The rule only knows the field of view. It says nothing about how small the pixels are, and pixels have shrunk a lot. On a 24-megapixel full-frame sensor, a star exposed for 25 seconds at 20 mm moves far enough to show as a short dash when you zoom in.

The NPF rule

The NPF rule adds the two things the 500 rule leaves out: how big a pixel is and how wide the lens is open. In its simple form:

t = (35 × N + 30 × p) ÷ f

where N is the f-number, p the pixel pitch in micrometres and f the focal length in millimetres. The pixel pitch comes from the sensor width and the resolution: a 24-megapixel full-frame sensor has pixels about 6 µm across.

For 20 mm at f/2.8 on that sensor: (35 × 2.8 + 30 × 6.0) ÷ 20 = 13.9 seconds, a little more than half the 500 rule’s 25.

Both rules, worked out

Full frame, 24 MP, f/2.8:

Focal length NPF rule 500 rule
14 mm 19.9 s 35.7 s
20 mm 13.9 s 25.0 s
24 mm 11.6 s 20.8 s
35 mm 7.9 s 14.3 s
50 mm 5.6 s 10.0 s

The gap grows with resolution. Raise the same body to 45 MP and the NPF time at 20 mm falls to about 11.5 seconds, while the 500 rule stays at 25.

Using the number in the field

  • Treat it as a ceiling. Expose at or a little under the NPF time, then raise ISO or open the aperture for brightness.
  • Stars near the celestial pole move less. Both rules assume the faster-moving stars away from the pole, so a frame pointed at Polaris tolerates a little more.
  • For longer total exposure, stack. Many frames at the NPF time, combined later, give a cleaner sky than one long trailed frame. For star trails you do the opposite on purpose: many frames back to back, each as long as the interval allows. The timelapse interval guide covers that.

On the phone

Tetherline carries the same star exposure tool on the iPhone, with the same formulas as the web calculator, so the numbers agree. It works offline, and Red Night keeps the screen red while you read it. The app also has an ND filter exposure tool (up to 20 stops) and a depth of field tool with the hyperfocal distance, and it fires a GoPro HERO9 to HERO13 Black on an interval over Bluetooth. Its landing page lists exactly which cameras it controls.

Frequently asked questions

What does NPF stand for?

The three inputs of the formula: the aperture as an f-number (N), the pixel pitch of the sensor (P) and the focal length (F).

Is the NPF time a hard limit?

It is the point where stars start to stretch at 100 % view. A little longer is fine for a small print; for a large print or a crop, stay at or under it.

Why does the 500 rule give longer times?

It was set up for film and early digital cameras with large pixels. It ignores pixel size and aperture, so on a dense modern sensor its time lets stars move across several pixels.

Do I enter the real focal length or the equivalent?

The real one, as printed on the lens. A calculator that knows the sensor size applies the crop factor and pixel pitch itself.

More on the same subject.

Cihat SALİK

iOS & macOS developer, Istanbul

I write and publish every app on this site on my own, and every guide here came out of building them. Questions reach me directly.