Astrophotography 500 Rule & NPF Rule Star-Trail Shutter Speed Calculator

Prevent star trails on untracked night-sky tripod shots using NPF and 500 rules.

NPF Rule Pinpoint Exposure Time 8.54 s
Classic 500 Rule Exposure Time 20.83 s
35mm Equivalent Focal Length 24 mm
Clear Aperture Diameter (f / N) 12 mm
Inputs
Try:
mm
Lens physical focal length in millimeters.
f/
Lens aperture f-stop number (N).
μm
Camera sensor pixel pitch in micrometers (μm).
×
Sensor crop factor (1.0 Full Frame, 1.5 APS-C, 2.0 MFT).
Results & Graph
NPF Rule Pinpoint Exposure Time
8.54 s
Classic 500 Rule Exposure Time
20.83 s
35mm Equivalent Focal Length
24 mm
Clear Aperture Diameter (f / N)
12 mm

NPF Rule Pinpoint Exposure Time

Graph 1 • How the inputs feed Astro NPF Shutter Rule
Astrophotography 500 Rule & NPF Rule Star-Trail Shutter Speed Calculator • Custom Domain Schematic (Optics, Photonics & Acoustics) focalLen → aperturePhysical Response & Transfer Law (Astro NPF Shutter Rule) Focal Length Mm: 24 mm • Aperture F Stop: 2 f/ NPF RULE PINPOINT EXPOSURE 8.54 s • Classic 500 Rule Expos: 20.83 s • 35mm Equivalent Focal : 24 mm Eq: t_NPF = (35 × N + 30 × p_μm) / f
Graph 2 • NPF Rule Pinpoint Exposure Time as Focal Length Mm changes (40% to 160% of current)
0 s 11.74 s 23.49 s 21.35 9.60mm 14.24 14.40mm 10.68 19.20mm 8.54 24mm 7.12 28.80mm 6.10 33.60mm 5.34 38.40mm
Graph 3 • Focal Length Mm and Aperture F Stop together Compares NPF Rule Pinpoint Exposure Time when Aperture F Stop is shifted +25% (solid) vs. −25% (dashed).
0 s 7.28 s 14.56 s --- Aperture F Stop @ 75% 13.24 -30% 10.91 -15% 9.27 +0% 8.06 +15% 7.13 +30%
Summary: For a 24 mm f/2 lens on a 4.5 μm sensor, the NPF rule recommends 8.5 seconds max shutter time vs. 20.8 seconds under the classic 500 rule.
Summary: For a 24 mm f/2 lens on a 4.5 μm sensor, the NPF rule recommends 8.5 seconds max shutter time vs. 20.8 seconds under the classic 500 rule.
Interactive chart & math engine powered by CalculatorGraph

Formula: Astro NPF Shutter Rule Physics & Engineering Equation

tNPF = (35 × N + 30 × p_μm) / fmm
t500 = 500 / (fmm × CropFactor)
t_NPF = (35 × N + 30 × p_μm) / f_mm; t_500 = 500 / (f_mm × CropFactor)
  • focalLengthMm: Focal Length (mm)
  • apertureFStop: Aperture F Stop (f/)
  • pixelPitchMicrons: Pixel Pitch Microns (μm)
  • sensorCropFactor: Sensor Crop Factor (×)

Rounding: Physical constants follow CODATA/NIST values; output quantities display to 2 decimal places.

Frequently Asked Questions

Does the NPF rule work for a phone camera?

The formula applies, but phones complicate it. Their lenses are very short, their pixels are tiny, and their night modes stack many short frames automatically. If you can set a manual exposure, enter the real focal length and pitch from the spec sheet and the crop factor for the 500 line. Otherwise let the phone's own night mode handle it.

Why does a wider aperture give a shorter NPF time?

The aperture term is 35 times the f-number, so a smaller f-number gives a smaller term. A wide-open lens forms a tighter star image, so less movement is needed before the trail shows. With the default lens, f/1.4 allows 7.67 seconds and f/2.8 allows 9.71, yet the faster setting still gathers far more light overall.

What crop factor should I enter for a full-frame camera?

Enter 1. The crop factor is the ratio of a 35 mm frame's diagonal to your sensor's diagonal. Typical values are about 1.5 or 1.6 for APS-C and 2 for Micro Four Thirds. On this page it only changes the 500 rule result and the equivalent focal length line, because the NPF result already uses pixel pitch directly.

Should I just swap 500 for a smaller number?

Some photographers divide a smaller constant by the focal length to make up for denser sensors. They are rough patches on the same idea. The NPF rule addresses the same problem directly by including pixel pitch and aperture, which is why it is more reliable across different cameras. If you want a quick rule anyway, treat the NPF result as the reference.

Do I need a tracking mount if the allowed time is very short?

Not necessarily. Stacking many short exposures is the usual alternative and works well with wide lenses. A tracking mount becomes attractive with longer focal lengths, where the NPF time shrinks to a few seconds; a 50 mm f/1.8 lens gives only 3.96 seconds on the default sensor. With a tracker the rule no longer limits you.

Does lens focus affect how much trailing I can get away with?

Yes, indirectly. The NPF rule assumes stars are focused as sharply as the lens allows. Slightly soft focus makes every star a larger blob, which hides some drift but also loses faint stars and detail. Focus carefully using live view magnified on a bright star, then use the calculator's time, rather than relying on soft focus to mask trailing.

Is the 20.83 second result ever the right one to use?

It can be, when the image will only be seen small. At phone or web size, a few pixels of trailing is invisible and the extra exposure lowers noise. For large prints, heavy crops, or anyone who will zoom into the file, the NPF figure of 8.54 seconds with the default setup is the safer choice.

Why is there a clear aperture line if it does not change the time?

It is extra context. The clear aperture is focal length divided by f-number, so 12 mm for the default 24 mm f/2 lens. A larger opening collects more light per second, which helps decide whether a short NPF exposure will be bright enough. Two lenses with the same f-number but different focal lengths gather different amounts of starlight.

How do I handle a lens adapter or speed booster?

Enter the effective values the sensor actually sees. A focal reducer shortens the effective focal length and lowers the effective f-number, so both NPF terms change. Multiply the lens focal length by the reducer factor, and the f-number by the same factor, then use those numbers. Keep the sensor's real pixel pitch and crop factor unchanged.

Why does my 14 mm result of 14.64 seconds still show slight trails?

A few likely causes. The tripod may have moved in wind. The star you checked may sit near the frame edge, where lens aberrations stretch stars regardless of time. Or you may have rounded up to the next shutter speed. Try 13 seconds, check a star at the centre at full magnification, and use a remote or timer release.

Does sensor size change how much the sky moves?

The sky moves at the same angular speed whatever the camera. What changes is how many pixels that movement crosses, which depends on focal length and pixel pitch. That is why the NPF formula includes those two inputs and does not need the crop factor, while the 500 rule relies on crop factor as a stand-in.

One lens, two answers: 8.54 seconds against 20.83

The default describes a common Milky Way setup: a 24 mm lens at f/2 on a full-frame body (crop factor 1) with 4.5 micron pixels. The calculator returns 8.54 seconds under the NPF rule and 20.83 seconds under the classic 500 rule. Those two numbers differ by more than a factor of two, and which one you use decides whether stars come out as dots or as short dashes.

The 500 rule is a single division: 500 divided by the full-frame equivalent focal length. Here that is 500 over 24, which gives 20.83.

The NPF rule has two parts added together and then divided by the focal length. The aperture part is 35 times the f-number, so 35 × 2, which is 70. Divided by 24, that contributes about 2.92 seconds. The pixel part is 30 times the pixel pitch in microns, so 30 × 4.5, and divided by 24 it contributes about 5.63 seconds. Add them and you get 8.54.

Splitting it that way shows what drives the answer for this camera. Roughly two thirds of the allowed time comes from the pixel term. Change the sensor and the answer moves a lot; change the aperture by a stop and it moves much less.

The fourth line, clear aperture, is focal length divided by f-number: 24 over 2, so 12 mm. It plays no part in either shutter time, but it tells you how wide the light-gathering opening is, which matters for how faint a star you will record in those seconds.

Why the 500 rule overshoots on a 4.5 micron sensor

The 500 rule comes from the film era, when the question was whether trailing showed up on a modest print. It has no idea how small your pixels are. A dense modern sensor resolves much finer detail than that, so a trail that was invisible on film shows up clearly as soon as you view the file at full size.

That is why the two lines diverge so sharply. At 20.83 seconds with this lens, a star near the celestial equator drifts across several pixels. The NPF figure of 8.54 seconds is chosen so the drift stays close to the size of the star's own blurred image, which is why it is the one to trust if you plan to print large or crop.

The 500 rule is not useless. If you only post images at phone size, the extra exposure it allows can give a cleaner, less noisy frame and the slight trailing will not be visible. Treat it as an upper bound for small output, and the NPF number as the target for sharp files.

Focal length: 14 mm, 24 mm and 36 mm compared

Both rules divide by focal length, so doubling the focal length halves the time. The page's scenarios show the pattern with everything else held at f/2 and 4.5 microns.

At 14 mm the NPF rule allows 14.64 seconds and the 500 rule 35.71. At 24 mm it is 8.54 and 20.83. At 36 mm it drops to 5.69 and 13.89. I also ran a 50 mm f/1.8, a popular cheap prime: NPF gives 3.96 seconds and the 500 rule exactly 10.

The practical lesson is that ultra-wide lenses are the forgiving ones for untracked sky shots. A 14 mm lens buys you almost twice the exposure of a 24 mm one, which is close to a full stop of light. If your lens choice is open, going wider is usually a better trade than raising ISO.

Zoom lenses deserve a check. A 16 to 35 mm zoom set to 16 mm gives a very different answer from the same lens at 35 mm, so enter the focal length you actually framed at, not the name of the lens.

The aperture term runs the opposite way to what most people expect

Here is the part of the NPF rule that surprises people. Stopping down lengthens the allowed exposure. With the default 24 mm lens and 4.5 micron pixels, f/1.4 gives 7.67 seconds, f/2 gives 8.54 and f/2.8 gives 9.71.

The reason is that a wider aperture produces a sharper, smaller star image at focus, so it takes less movement before the trail becomes visible. A slower aperture blurs each star a little more through diffraction, which hides a little more movement.

Do not read that as a reason to shoot at f/2.8. Going from f/2 to f/2.8 halves the light reaching the sensor, while the allowed time only rises from 8.54 to 9.71 seconds. The total light you collect still drops sharply. For faint Milky Way detail the widest sharp aperture almost always wins, even though the NPF line looks better at f/2.8.

Many fast lenses show coma, smeared stars at the corners, when used wide open. Stopping down slightly to tame that is a sensible choice, but it is a lens-quality decision, not a trailing one.

Finding your pixel pitch and seeing what it changes

The pixel pitch box is the input most people have to look up. It is the centre-to-centre spacing of the photosites in microns. Some camera reviews list it directly. If not, divide the sensor width in millimetres by the number of pixels across the long side and convert to microns. A 36 mm wide sensor with six thousand pixels across has a pitch of 6 microns.

The effect is strong because the pixel term usually dominates. With the default lens at f/2, a 3.8 micron sensor gives 7.67 seconds, the default 4.5 microns gives 8.54, and 5.9 microns gives 10.29. Bigger pixels tolerate more drift before a star spills into the next one.

Two cameras with the same crop factor can therefore need different shutter times with the same lens. A high-resolution body has a shorter limit than a low-resolution one, even though nothing else has changed. If you upgrade to a denser sensor, rerun the numbers before your next night out.

A wrong unit is the commonest mistake here. Pitch is in microns, so 4.5, not 0.0045. Entering it in millimetres makes the pixel term almost vanish and gives a time that is far too short.

Crop factor moves the 500 line and leaves the NPF line alone

Set the crop factor to 1.5 with the default 24 mm f/2 lens and the 500 rule drops from 20.83 to 13.89 seconds, because it now uses the 36 mm equivalent focal length shown on the second supporting line. The NPF result stays at 8.54.

That is not an oversight. The simplified NPF formula uses the real focal length and the real pixel pitch. A smaller sensor's effect on trailing is already captured by its pixel size, so multiplying by the crop factor as well would count it twice. The 500 rule has no pixel input, so it needs the crop factor to approximate the same thing.

One worked case for APS-C shooters: a 16 mm f/2.8 lens on a 1.5 crop body with 4.5 micron pixels. The equivalent focal length is 24 mm, so the 500 rule gives 20.83 seconds, while NPF gives 14.56 seconds using the true 16 mm.

For a crop of 2, typical of Micro Four Thirds, the 500 line falls to 10.42 seconds with the default lens, and the NPF line again stays put, so the two rules end up much closer together.

From a decimal to a real shutter speed

Cameras do not offer 8.54 seconds. Round down to the next speed your body has. With third-stop steps the choices near the default are 8, 10 and 13 seconds, so 8 seconds is the one that respects the limit. Rounding up to 10 seconds gives a little visible stretch when you view the file at full size.

Shorter is always safe for sharpness; you only lose light. If the frame is too dark at 8 seconds, raise ISO, open the aperture if the lens allows, or take several frames and stack them later. Stacking ten 8-second frames gives noise similar to one much longer exposure without the trails.

The formula assumes a star on the celestial equator, which moves fastest across the frame. Stars near the pole move less, so a composition aimed at the pole star region can tolerate longer exposures than the page suggests. Aiming at the core of the Milky Way, which sits well away from the pole, the NPF figure is a fair target.

Checking the result on the back of the camera

The rule is a starting point, so test it. Take one frame at the NPF time and one at the 500 rule time, then zoom to full size on a bright star near the centre. With the default lens you are comparing 8 seconds against roughly 20. If the 8-second star is a clean dot and the 20-second star is an oval, you have confirmed the calculation for your camera.

Look at the centre, not the corners. Star shapes at the edges of the frame are often distorted by the lens itself, and that distortion looks similar to trailing but does not improve with a shorter exposure.

Your tolerance also depends on output. A frame destined for a large print or a tight crop needs the NPF limit or less. A frame for a small online post can stretch towards the 500 figure. Deciding where the image will end up, before you set the shutter, saves a wasted night.