Home / Photography / Astrophotography NPF Rule Calculator

Astrophotography NPF Rule Calculator

Longest exposure before stars turn into trails.

mm
f/
µm

How it works

The NPF rule is (35 × N + 30 × pixel pitch in µm) ÷ focal length, giving a time in seconds. It accounts for aperture and pixel size, so it is stricter than the older 500 ÷ (focal length × crop factor) rule, which suits low-resolution sensors. Aim north or south of the celestial equator and trails get shorter. Use the actual focal length, not an equivalent. Example: A 20 mm f/2.8 lens on a 5.9 µm sensor allows about 13.8 seconds, while the 500 rule suggests 25 seconds.

FAQ

Is this calculator free?

Yes. No signup is needed and nothing you enter is stored.

Is the result exact?

Results are rounded for display. For financial, medical, or legal decisions, confirm with a professional.

Do my numbers leave my device?

No. The calculation runs in your browser.