Use the free NPF Rule Calculator below. It runs entirely in your browser, with no sign-up and no download.
Stars move, even when you cannot see it
The Earth turns, and the stars appear to move with it. On a short exposure you never notice. On a long night exposure, every star draws a short line instead of a point, and the photo that looked like a sky full of stars becomes a sky full of dashes. Astrophotographers have always needed a rule for how long an exposure can run before that trailing becomes visible, and the oldest such rule is the 500 rule: divide 500 by your focal length and you have the exposure in seconds.
The 500 rule is simple, but it is crude. It ignores your aperture and your sensor, and on modern high resolution sensors it is visibly too generous. The NPF rule is the modern replacement. It uses your aperture, your focal length and your pixel pitch, the size of one pixel on your sensor, to give a stricter exposure limit that holds up at large print sizes. This calculator applies it for you.
The NPF formula in plain terms
The NPF rule says the longest sharp-star exposure in seconds equals 35 times the aperture, plus 30 times the pixel pitch in micrometres, all divided by the focal length in millimetres. Aperture matters because a wider aperture makes a star’s image larger and more sensitive to movement, so it shortens the allowed time. Pixel pitch matters because smaller pixels resolve trailing sooner, so a high resolution sensor needs shorter exposures than a low resolution one at the same focal length.
Take a 24 millimetre lens at f/2.8 on a sensor with 4 micrometre pixels. The formula gives 35 times 2.8, which is 98, plus 30 times 4, which is 120, for a total of 218, divided by 24, which is about 9.1 seconds. The old 500 rule would have allowed 20.8 seconds, more than twice as long, and at 100 percent magnification the stars in that longer exposure would plainly trail. The NPF figure is the one to trust for large prints.
A worked example across lenses
Now try a 35 millimetre lens at f/1.8 on a full-frame 24 megapixel sensor with about 5.9 micrometre pixels. The formula gives 35 times 1.8, which is 63, plus 30 times 5.9, which is 177, for a total of 240, divided by 35, which is about 6.9 seconds. A longer lens shortens the time even though the aperture is wider, because the same angular movement covers more pixels at longer focal lengths.
That trade is why wide, fast lenses dominate astrophotography. A 14 millimetre lens at f/2.8 on the same sensor allows about 19.7 seconds, which gathers far more light than 6.9 seconds, and stacking several such exposures in software gathers more still. The calculator lets you compare lenses before you buy, by showing how focal length and aperture pull the exposure limit in opposite directions.
Declination and the limits of the rule
The NPF rule assumes stars near the celestial equator, where apparent motion is fastest. Stars near the celestial pole move much more slowly across the frame, so exposures aimed at the pole can run considerably longer than the rule allows. If your target is circumpolar, treat the NPF figure as a safe minimum and test longer exposures, checking star shapes at full magnification.
The rule also assumes a static tripod and a single exposure. Tracking mounts, which rotate the camera with the sky, remove the limit entirely for the stars, at the cost of trailing the landscape instead. And stacking software can align and average many short exposures, which is how most deep sky images beat the single exposure limit without a tracker. Use the calculator to set each individual exposure, then let stacking do the rest.
Frequently asked questions
Why does aperture appear in the formula at all? Because the rule is calibrated to a star image size that depends on aperture. Wider apertures spread a star over more pixels and make small movements visible sooner, so the allowed time drops.
What pixel pitch does my camera have? Divide the sensor width in millimetres by the horizontal pixel count, then multiply by 1000. A 36 millimetre wide sensor with 6000 pixels across has a pitch of 6 micrometres. The calculator’s presets cover the common cases.
Should I round down the result? Yes, slightly. The formula gives a limit, not a target. Shooting a little under it leaves margin for focus error, vibration and the fact that real skies are rarely perfectly still.
Spanish version
Calculadora de la Regla NPF – Exposición Máxima sin Estrellas Movidas para tu Sensor

Pingback: Calculadora de la Regla NPF - Exposición Máxima sin Estrellas Movidas para tu Sensor