Astrophotography Calculator
NPF Rule Calculator:
No More Star Trails
You set up your tripod, nail the composition, get home, open the RAW file at 100% zoom — and there they are. Elongated stars. Not terrible, but not round. You were close. The 500 rule said 20 seconds, you shot 20 seconds, and it still trailed.
This is the problem the NPF rule solves. Use the calculator on the right to get your number, then keep reading to understand why it works.
The NPF rule formula
The NPF rule was developed by photographer Frédéric Michaud as a more accurate replacement for the 500 rule. It accounts for three variables that the 500 rule ignores: aperture, pixel size, and the declination of your target.
Pixel pitch (p) is the physical size of each pixel on your sensor in micrometres. It's calculated from your sensor's physical dimensions and megapixel count. A Sony A7R V (61MP full-frame) has a pixel pitch of about 3.76µm, while a Sony A7S III (12MP full-frame) has a pixel pitch of about 8.37µm — the higher-resolution sensor needs a shorter shutter speed to keep stars round.
The formula above is simplified for the Milky Way's galactic core, which sits at approximately -29° declination. The full NPF formula includes a cosine correction for declination. At Dec -29°, cos(-29°) ≈ 0.875, which is already factored into the constant 35 in the simplified version. For targets near the celestial equator (Dec 0°), results will be slightly more conservative than necessary — but for Milky Way photography this version is exactly right.
NPF vs. the 500 rule: real numbers
Here's how the two rules compare on common camera and lens combinations. All examples assume the galactic core as the target.
| Camera | Lens | 500 Rule | NPF Rule | Difference |
|---|---|---|---|---|
| Sony A7 III (24MP FF) | 20mm f/1.8 | 25s | 22s | -3s |
| Sony A7R V (61MP FF) | 20mm f/1.8 | 25s | 12s | -13s |
| Nikon Z6 II (24MP FF) | 14mm f/2.8 | 35s | 28s | -7s |
| Nikon Z8 (45MP FF) | 14mm f/2.8 | 35s | 19s | -16s |
| Canon R6 Mark II (24MP FF) | 24mm f/1.4 | 20s | 18s | -2s |
| Canon R5 (45MP FF) | 24mm f/1.4 | 20s | 13s | -7s |
| Sony A6700 (26MP APS-C) | 16mm f/2.8 | 20s | 15s | -5s |
The difference is small on older 24MP bodies at wide angles and grows dramatically on high-resolution sensors or longer focal lengths. If you're shooting on a 45MP or higher camera and using the 500 rule, you're almost certainly getting soft stars at 100% zoom — the NPF rule will fix that.
How to use the result
The NPF calculator gives you the theoretical maximum based on sensor geometry. In practice, treat it as the starting point for a bracket, not a hard ceiling.
- Start at the NPF value and shoot one frame
- Zoom to 100% on your LCD and check a corner star — corners are always the first place trailing appears
- Add 2 seconds per subsequent frame until you see elongation, then back off one step
- Conditions vary: atmospheric turbulence and lens aberrations at wide apertures can make stars appear to trail at shorter times than predicted
- Shoot RAW so you can evaluate trailing accurately at full resolution in post
ISO and aperture strategy
Because the NPF rule often gives you a shorter maximum shutter than the 500 rule, especially on high-res bodies, you'll want to compensate with aperture and ISO.
Use the widest aperture your lens allows
A wider aperture does two things: it gathers more light per second, and it also increases the NPF result (wider aperture = longer allowable shutter). An f/1.8 lens gives you roughly double the light of an f/2.8 lens and also allows a longer exposure. For Milky Way work, f/1.4 to f/2.8 is the practical range. Going wider than f/2.8 starts to introduce significant coma on most lenses — test your specific glass to find its best aperture for sharp stars.
Raise ISO to compensate for shorter shutter
On a high-resolution camera where NPF gives you 12 seconds instead of the 500 rule's 25, you'll need to push ISO higher to maintain exposure. Modern full-frame sensors handle ISO 3200 to 6400 well. Shoot RAW and evaluate noise in your own editing environment rather than on the camera's LCD. Many photographers find that a slightly underexposed shot at ISO 3200 is more recoverable than a properly exposed shot at ISO 6400.
In the Milky Way Tonight app: the exposure calculator is built in and automatically uses your sensor's pixel pitch for the NPF calculation. Open the Photography Guide, tap Exposure Calculator, select your camera and lens, and get your number before you leave home — no mental arithmetic in the field at midnight.