NPF Rule Calculator: Sharp Star Astrophotography Exposure Times
Calculate pixel-accurate maximum shutter speeds for astrophotography using the NPF rule. Compare against the outdated 500 rule and 300 rule to see why they produce star trails on modern high-resolution sensors. Supports 14 camera presets with declination adjustment.
Rule Comparison: Why the 500 Rule Overexposes
Max Exposure Across Focal Lengths
Full Focal Length Comparison Table
| Focal Length | NPF Rule | 500 Rule | 300 Rule | 500 Rule Error |
|---|
Enter Your Camera and Lens
Select a camera preset and enter your focal length and aperture to calculate sharp star exposure times.
Why the 500 Rule Fails on Modern Cameras and How NPF Fixes It
The “500 rule” has been the default astrophotography exposure guideline since the era of 35mm film cameras in the 1980s and 1990s. It says: divide 500 by your focal length to get the maximum shutter speed in seconds before stars show visible trailing. At 24mm, the 500 rule gives you about 20.8 seconds. Simple. Memorable. And increasingly wrong.
The 500 rule was calibrated for film grain that measured roughly 25 to 30 micrometers in effective resolving size. Modern digital camera sensors have pixels between 3.5 and 6 micrometers, which is 5 to 8 times smaller than film grain. These tiny pixels record star trailing that film would have hidden inside the grain structure. When you zoom to 100% on a 45-megapixel Sony A7R V image taken at 24mm with a 20-second exposure (the 500 rule recommendation), you see obvious star trails. Every star looks like a short line instead of a clean point. The 500 rule simply does not account for pixel size.
The NPF rule, developed by French astrophotographer Frédéric Michaud and refined by the Société Astronomique de France, solves this problem by incorporating the camera’s pixel pitch directly into the formula. NPF stands for the three variables: N (f-number), P (pixel pitch), and F (focal length). The formula is: maximum exposure time equals (35 times the f-number plus 30 times the pixel pitch in micrometers) divided by (the focal length times the cosine of the declination). On the same 24mm lens at f/2.8 with a Sony A7R V (3.79 micrometer pixels), the NPF rule gives approximately 8.8 seconds, which is less than half the 500 rule result. That shorter exposure produces genuinely sharp stars when you zoom to 100%.
The Physics Behind Star Trailing and Pixel Resolution
Stars appear to move across the sky because the Earth rotates on its axis once every 23 hours and 56 minutes (a sidereal day). At the celestial equator, stars move at approximately 15 arcseconds per second of time. During a 10-second exposure, a star on the equator moves 150 arcseconds, or about 2.5 arcminutes. Whether this motion shows as a trail in your photograph depends entirely on whether 2.5 arcminutes of sky motion maps to more than one pixel width on your sensor.
The angular size of one pixel depends on two factors: the physical size of the pixel (pixel pitch) and the focal length of the lens. Longer focal lengths magnify the image, making each pixel cover a smaller patch of sky. Smaller pixels also cover less sky per pixel at any given focal length. Both effects increase the camera’s sensitivity to star motion. The NPF rule captures both factors simultaneously, which is why it produces dramatically different results for a Canon R6 II (6.00 micrometer pixels) versus a Sony A7R V (3.79 micrometer pixels) even at the same focal length and aperture.
How Declination Affects Your Maximum Exposure Time
Stars near the celestial equator (declination zero) move at maximum speed across the sky. Stars closer to the celestial poles (higher declination) move in smaller circles and appear to travel more slowly. Polaris, at approximately 89.3 degrees declination, barely moves at all. This is why our calculator includes a declination input.
The effect is significant. At 60 degrees declination (roughly the altitude of Polaris as seen from the continental US), the cosine factor doubles your allowable exposure time compared to equatorial targets. If the NPF rule gives you 10 seconds at the equator, you can expose for 20 seconds when pointing at Cassiopeia or the region around Polaris without visible trailing. This declination adjustment is one of the NPF rule’s most practical advantages for astrophotographers in the United States, where northern circumpolar targets like the North America Nebula and the Elephant Trunk Nebula are popular imaging subjects that sit at high declinations.
Pixel Pitch: The Variable That Changes Everything
Pixel pitch is the physical distance between the centers of adjacent pixels on your camera sensor, measured in micrometers. You can calculate it by dividing the sensor width in millimeters by the number of horizontal pixels, then multiplying by 1000 to convert to micrometers. A Canon R6 II with a 36mm wide sensor and 6000 horizontal pixels has a pixel pitch of 6.00 micrometers. A Sony A7R V with a 36mm sensor and 9504 pixels has a pitch of only 3.79 micrometers.
The smaller the pixel pitch, the more sensitive the camera is to star trailing, and the shorter your maximum exposure must be. This explains why high-resolution cameras (45MP, 61MP) are significantly more demanding for astrophotography than lower-resolution models (24MP). The 500 rule ignores this completely, treating all cameras identically. The NPF rule adjusts for it precisely, which is why astrophotographers using high-resolution sensors universally prefer the NPF calculation. Our calculator computes pixel pitch automatically from your sensor width and pixel count, or you can select from 14 popular camera presets that pre-fill these values.
Why the Aperture Factor Matters in the NPF Formula
The NPF formula includes the f-number (aperture) because wider apertures produce larger star images due to increased diffraction and optical aberrations. A star imaged at f/1.4 produces a larger Airy disk than the same star at f/4. The larger star image is more forgiving of trailing because the motion must exceed the diameter of the already-enlarged star disk before it becomes visibly elongated. This means faster lenses allow slightly longer exposures before trailing becomes apparent. At f/1.4, you might get 12 seconds. At f/4 with the same lens and sensor, you might get 9 seconds. The difference is small but measurable, and the NPF rule accounts for it while the 500 rule ignores it entirely.
How This NPF Rule Astrophotography Calculator Works
Our calculator takes five inputs: sensor width, horizontal pixel count, focal length, f-number, and target declination. You can enter sensor specs manually or select from 14 popular camera presets that include Canon, Nikon, Sony, Fujifilm, and ZWO astro cameras. The presets auto-fill sensor width and pixel count, while you provide the lens focal length and aperture.
When you calculate, the tool computes six results. The NPF Rule maximum exposure (the primary result, highlighted in the dark accent card) uses the full formula: t = (35N + 30p) / (f * cos(dec)). The 500 Rule and 300 Rule results are computed for comparison, showing how much longer (and less accurate) those legacy formulas allow. Pixel pitch is calculated automatically. The crop factor tells you how your sensor size compares to full-frame 35mm. The equivalent focal length in 35mm terms helps you compare field of view across sensor sizes.
The visual bar comparison immediately shows the difference between all three rules. The NPF bar (indigo) is always the shortest, producing the safest exposure for sharp stars. The 500 Rule bar (amber) is always the longest, showing why it produces star trails on modern sensors. The 300 Rule bar (green) falls in between as a conservative approximation.
The Chart.js line graph plots all three rules across 11 standard focal lengths from 14mm to 300mm. This visualization reveals how dramatically the rules diverge at wider focal lengths (where the 500 rule is most dangerously wrong) and converge at longer focal lengths (where all three rules produce very short exposures). The comparison table below the chart adds the exact error percentage, showing precisely how much the 500 rule overestimates for each focal length.
Three Real NPF Rule Examples from American Astrophotographers
Example 1: Milky Way Core from Big Bend National Park, Texas
An astrophotographer uses a Nikon Z6 III (35.9mm sensor, 6048 pixels) with a 14mm f/2.8 lens, pointed at the galactic center near Sagittarius (declination approximately minus 29 degrees). From Big Bend’s Bortle 1 skies, she wants the absolute longest clean exposure.
Example 2: North America Nebula from Cherry Springs State Park, Pennsylvania
A photographer at Cherry Springs uses a Sony A7R V (36mm sensor, 9504 pixels, 61 megapixels) with a 135mm f/2.0 telephoto lens tracking the North America Nebula at 44 degrees declination on an untracked tripod.
Example 3: Perseid Meteor Shower from Great Basin National Park, Nevada
A family from Las Vegas drives to Great Basin National Park (one of the darkest locations in the lower 48 states) for the August Perseids. They use a Canon R6 II (36mm sensor, 6000 pixels) with a 24mm f/1.4 lens pointing toward the radiant near Perseus at about 58 degrees declination.
Expert Tips for Getting the Sharpest Stars in Your Astrophotography
Stack Multiple Short Exposures Instead of One Long Exposure
The NPF rule gives you the maximum single-frame exposure for sharp stars. The modern astrophotography workflow is to take many frames at that maximum exposure and stack them in software (like DeepSkyStacker, Sequator, or Starry Sky Stacker). Stacking 60 frames of 10 seconds gives you 10 minutes of total light collection with the noise profile approaching a single 10-minute exposure, but with zero trailing risk. This approach also reduces the impact of satellite trails, airplane lights, and momentary vibrations. Each bad frame can be rejected without losing the entire session.
Use Your Camera’s Highest Native ISO for Milky Way Work
When shooting untracked at NPF-limited exposures (typically 8 to 20 seconds at wide angles), you need high ISO to capture enough signal in each frame. Most modern cameras have a “sweet spot” ISO where the read noise is minimized relative to the shot noise. For Canon R6 II and Nikon Z6 III, this is typically ISO 3200 to 6400. For Sony A7 IV, ISO 3200 works well. Higher ISO does not add noise in the way many photographers believe. It reduces the dynamic range but amplifies the faint signal from nebulae and the Milky Way, making stacking more effective. Our PDF report includes your NPF time so you can plan your ISO and stacking strategy around it.
Account for Coma and Field Curvature at Fast Apertures
While the NPF rule accounts for the aperture’s effect on star disk size, it does not model optical aberrations like coma (stars stretched into comet shapes near the frame edges) and field curvature (stars defocused at the edges while sharp in the center). These aberrations are worst at fast apertures (f/1.4, f/1.8) on standard camera lenses not designed for astrophotography. Some photographers choose to stop down from f/1.4 to f/2.0, trading 1 stop of light for significantly cleaner star shapes across the entire frame. Our calculator adjusts the NPF time for your chosen aperture, so you can compare the exposure penalty of stopping down and decide whether the improved star shape is worth it.
Quick Reference: NPF Exposure Times for Popular Camera and Lens Combos
This table shows NPF-calculated maximum exposure times in seconds for common US camera sensors paired with popular astrophotography focal lengths. All values assume f/2.8, equatorial declination (0 degrees), and the worst-case trailing scenario. Values above 15 seconds are highlighted as particularly useful for single-frame Milky Way captures.
| Camera | Pitch | 14mm | 24mm | 35mm | 50mm | 85mm | 135mm |
|---|---|---|---|---|---|---|---|
| Canon EOS Ra (30MP) | 5.36um | 18.5s | 10.8s | 7.4s | 5.2s | 3.0s | 1.9s |
| Nikon Z6 III (24MP) | 5.94um | 19.8s | 11.5s | 7.9s | 5.5s | 3.2s | 2.0s |
| Canon R6 II (24MP) | 6.00um | 19.9s | 11.6s | 7.9s | 5.6s | 3.3s | 2.1s |
| Sony A7 IV (33MP) | 5.12um | 17.9s | 10.4s | 7.2s | 5.0s | 3.0s | 1.9s |
| Nikon D850 (46MP) | 4.35um | 16.3s | 9.5s | 6.5s | 4.6s | 2.7s | 1.7s |
| Sony A7R V (61MP) | 3.79um | 15.1s | 8.8s | 6.0s | 4.2s | 2.5s | 1.6s |
| Canon 90D APS-C (33MP) | 3.20um | 13.8s | 8.1s | 5.5s | 3.9s | 2.3s | 1.4s |
| Sony A6700 APS-C (26MP) | 3.80um | 15.1s | 8.8s | 6.0s | 4.2s | 2.5s | 1.6s |
| Reference (5.00um) | 5.00um | 17.9s | 10.4s | 7.1s | 5.0s | 2.9s | 1.8s |
NPF Rule: t = (35N + 30p) / f at declination 0 degrees. N=2.8, p=pixel pitch in micrometers, f=focal length. Source: Société Astronomique de France, NASA Skywatching.
Frequently Asked Questions About the NPF Rule and Astrophotography Exposures
Related Astronomy and Astrophotography Calculators
Explore the complete Astronomy Hub and related tools across the USCalculators network.
Legal Disclaimer and Editorial Transparency
This calculator uses the NPF rule formula: t = (35N + 30p) / (f * cos(dec)), developed by Frédéric Michaud and refined by the Société Astronomique de France. Results represent theoretical maximum exposure times for untracked, tripod-mounted astrophotography. Actual results may vary based on atmospheric conditions, tripod stability, lens optical quality, and sensor-specific characteristics. Camera brand names and specifications are used for reference only. The 500 rule comparison is included for educational purposes to illustrate why legacy formulas produce star trails on modern sensors. Reference sources: NASA Skywatching, International Dark-Sky Association. Content written by experienced astrophotographers. Last updated August 2026.