500 Rule & NPF Rule Calculator

The stars move at about 15 arcseconds a second, so every untracked night shot is a race between collecting light and smearing points into streaks. The 500 rule answers it with one division — 500 divided by the effective focal length — and it was calibrated for film and small prints. The NPF rule answers the same question using your actual pixel pitch and aperture, and on a modern high-resolution sensor at a wide aperture it is considerably stricter. This calculator gives both, converts each into an actual star trail length in pixels, and tells you how many frames you need to stack for a target integration time.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Lens focal lengthThe real focal length marked on the lens, not the full-frame equivalent. The crop factor is applied separately below.24 mm
Crop factor1.0 for full frame, 1.5 for Nikon/Sony APS-C, 1.6 for Canon APS-C, 2.0 for Micro Four Thirds, 0.79 for 44×33 medium format.1 ×
Aperture (f-number)The f-number you will actually shoot at. It appears in the NPF rule because diffraction and aberrations widen a star's disc at small apertures.2.8 f/
Sensor widthPhysical width of the sensor: 35.9 for full frame, 23.5 for Sony/Nikon APS-C, 22.3 for Canon APS-C, 17.3 for Micro Four Thirds.35.9 mm
Image width in pixelsThe long-edge pixel count of a full-resolution file — 6000 for a 24 MP camera, 8256 for a 61 MP one.6000 px
Rule constantThe numerator of the simple rule. Lower numbers give shorter exposures and rounder stars.500 rule — the common default
Target declinationHow far the subject sits from the celestial equator. 0° is the worst case and is where the Milky Way core sits; stars near the pole barely move.0 °
Target total integrationTotal exposure time you want to accumulate by stacking. Used only for the frame-count figure.30 min

It returns

  • Maximum shutter, simple rule — Rule constant divided by focal length times crop factor.
  • Maximum shutter, NPF rule — (35N + 30p) ÷ f, using your aperture and pixel pitch.
  • Pixel pitch
  • Image scale — Sky angle covered by one pixel. Smaller means trailing shows up sooner.
  • Star trail at the simple-rule limit
  • Star trail at the NPF limit
  • Frames to reach the target integration — At the NPF shutter time, rounded up.

The formula

t=500fk
t=35N+30pf
L=15.041cosδts

In plain text: t = 500 / (f × crop) and t = (35N + 30p) / f

  • tLongest shutter that keeps stars acceptably point-like (s)
  • fActual focal length of the lens (mm)
  • kCrop factor of the sensor format (×)
  • NAperture f-number (—)
  • pPixel pitch — sensor width ÷ pixel count (µm)

The simple rule uses effective focal length and nothing else. The NPF rule uses the true focal length together with the aperture and the pixel pitch, so it adapts to sensor resolution instead of assuming a film-era standard.

Updated Category Photography, Optics & Printing Verified against published test cases Reading time 13 min

Why there is a shutter limit at all

The Earth turns once on its axis every sidereal day, 86,164 seconds. Divide 360 degrees by that and the sky drifts past at 15.041 arcseconds per second — a little over four thousandths of a degree. On a camera on a fixed tripod, every star draws a short arc across the frame for as long as the shutter is open, and the only question is whether that arc is short enough to look like a point.

Two things decide the answer. The first is the image scale: how much sky one pixel covers. A pixel of pitch p micrometres behind a lens of focal length f millimetres subtends 206,265 × p/1000 ÷ f arcseconds. On a 24 MP full-frame body — 5.98 µm pixels — behind a 24 mm lens, that is 51.4 arcseconds per pixel, so 15 arcseconds of motion is less than a third of a pixel per second.

The second is declination. A star on the celestial equator travels the full 15.041 arcseconds a second; one at declination δ travels 15.041 × cos δ. Polaris, at nearly 90°, barely moves at all. The Milky Way core sits near declination −29°, so it moves at about 87% of the equatorial rate — close enough to the worst case that both rules simply assume it.

Both rules exist because doing the calculation properly at 2 a.m. in the dark is not practical. They are compression: a whole optics and perception problem squeezed into a number you can do in your head.

The 500 rule and the NPF rule compared

The 500 rule says the longest usable shutter in seconds is 500 divided by the effective focal length, which means the real focal length multiplied by the crop factor. A 24 mm lens on full frame gives 20.8 s; the same lens on a 1.5× APS-C body gives 13.9 s, because the smaller sensor magnifies the same angular motion across a smaller frame.

Where the 500 comes from is the interesting part. Its ancestor is the 600 rule from film days, calibrated against what looked sharp in an 8×10 print viewed at arm's length. It contains an implicit assumption about how big a smear can be before you notice, and that assumption was made with film grain roughly 10 to 20 µm across. Modern pixels are two to four times smaller, which is why the rule looks generous today and why photographers have progressively tightened it to 500, then 400, then 300.

The NPF rule, from Frédéric Michaud of the Société Astronomique du Havre, rebuilds the estimate from what actually blurs a star: t = (35N + 30p)/f, with N the f-number, p the pixel pitch in micrometres and f the true focal length. The two terms are the two competing sources of a star's finite size. The 35N term grows with f-number because diffraction spreads a point source in proportion to the aperture ratio; the 30p term grows with pixel size because a larger pixel hides more motion. Note that crop factor does not appear — it does not need to, because the pixel pitch already encodes the sensor's real sampling.

Which one is stricter is not fixed. Setting them equal, NPF is the tighter constraint exactly when k(35N + 30p) < 500. For a 24 MP full-frame body with 5.98 µm pixels, that means 35N < 500 − 179.5, so NPF is stricter at any aperture below f/9.2 and looser beyond it. At the wide apertures night photography actually uses, NPF is always the tighter of the two — at f/2.8 it gives 11.6 s against the 500 rule's 20.8 s, a factor of 1.8.

Worked example: 24 mm f/2.8 on a 24 MP full-frame body

You are shooting the Milky Way with a 24 mm lens at f/2.8 on a 24 MP full-frame camera: 35.9 mm sensor width, 6,000 pixels across.

  1. 500 rule. 500 ÷ (24 × 1.0) = 20.83 s.
  2. Pixel pitch. 35.9 mm ÷ 6,000 px = 0.0059833 mm = 5.983 µm.
  3. NPF numerator. 35 × 2.8 + 30 × 5.983 = 98 + 179.5 = 277.5.
  4. NPF rule. 277.5 ÷ 24 = 11.56 s.
  5. Image scale. 206,265 × 0.0059833 mm ÷ 24 mm = 51.42 arcseconds per pixel.
  6. Trail at the 500-rule shutter. 15.041 × 20.83 s = 313.4 arcseconds of sky motion; divide by 51.42 arcsec/px = 6.09 pixels.
  7. Trail at the NPF shutter. 15.041 × 11.56 = 173.9 arcseconds, or 3.38 pixels.
  8. Frames for 30 minutes. ⌈1,800 s ÷ 11.56 s⌉ = 156 frames.

That trail figure is what makes the disagreement concrete. A six-pixel streak is obvious when you inspect the file at 100%, and invisible in a 1,000-pixel-wide web image. A three-pixel streak looks like a slightly soft star even at full magnification. Which rule is right depends entirely on how the image will be viewed — which is exactly the judgement the original 600 rule made for you, using 1970s viewing conditions.

Maximum shutter by focal length and format

The 500 rule across common formats, and the NPF rule for a 24 MP full-frame body at f/2.8 (pixel pitch 5.983 µm, so the numerator is 277.5). All times in seconds.
Focal length (mm)500 rule, full frame500 rule, APS-C 1.5×500 rule, MFT 2.0×NPF, 24 MP FF at f/2.8
1435.7123.8117.8619.82
1631.2520.8315.6317.34
2025.0016.6712.5013.88
2420.8313.8910.4211.56
3514.299.527.147.93
5010.006.675.005.55
855.883.922.943.26
1353.702.471.852.06
2002.501.671.251.39

Every NPF figure in the last column is 277.5/500 = 0.555 times the full-frame 500-rule figure in the same row, because both are constants divided by the same focal length. That fixed ratio is why NPF and the 500 rule never cross for a given camera and aperture — only changing N, p or the crop factor moves the crossover.

Choosing between the two, and what to do next

Start from how the image will be seen. For a web-sized nightscape where the sky is one element among foreground and composition, the 500 rule is genuinely adequate, and the extra 80% of light it buys is worth more than the trailing costs you. For a print, a large-screen display, or anything where a viewer will look closely at the stars, use NPF or a 300 rule.

The frame-count output points at the better answer for most people: stack. Twelve exposures at the NPF limit, aligned on the stars and averaged, give roughly the signal-to-noise of one exposure 12 times as long while keeping every star as tight as a single frame. Free software will do the alignment. It converts the shutter limit from a hard ceiling on image quality into a mild inconvenience.

Beyond about 200 mm of effective focal length the untracked exposures become so short that a star tracker changes the game entirely. A tracker that follows the sky removes the limit completely for the sky and introduces a new one for the landscape, which is why tracked nightscapes are usually shot as two blended exposures.

Three practical checks before you trust either number. Shoot one frame and inspect a star at 100% near the centre of the frame — not at a corner, where coma and astigmatism from a fast wide lens will smear stars far more than the sky's motion does. Confirm the tripod is genuinely still, because a light breeze on a large lens hood produces exactly the same signature as trailing. And be aware that stopping down to reduce lens aberrations lengthens the NPF limit, since the 35N term grows with f-number — going from f/2.8 to f/4 changes the numerator from 98 + 179.5 = 277.5 to 140 + 179.5 = 319.5, raising the NPF time on the worked example from 11.56 s to 13.31 s, though it costs a full stop of light.

The crop factor appears in one rule and not the other

The 500 rule needs the crop factor because it works from effective focal length, which is a proxy for how much the frame magnifies angular motion. The NPF rule does not, because it works from the pixel pitch, which already tells you how finely that motion is sampled. Feeding an equivalent focal length into the NPF rule double-counts the crop and gives an answer that is too short by exactly the crop factor. Enter the number printed on the lens barrel.

What neither rule accounts for

  • Lens aberrations. Coma, astigmatism and lateral chromatic aberration in the corners of a fast wide-angle lens routinely smear stars further than the sky's motion at the calculated shutter.
  • Atmospheric seeing. Turbulence blurs a point source by 1 to 4 arcseconds even in good conditions. At wide focal lengths that is far less than one pixel and irrelevant; past about 300 mm it starts to matter.
  • Declination. Both rules assume the worst case at the celestial equator. Shooting toward the pole, you can exceed both by roughly 1/cos δ — which is why circumpolar star-trail shots are a different discipline entirely.
  • Field rotation. Even the sky's motion is not a pure translation across a wide frame; stars at different declinations move at different rates, so a very wide field has a small amount of shear that no single shutter time removes.
  • Vibration. Wind on a lens hood, a loose ballhead or shutter shock on a mirrored camera produce blur that looks identical to trailing but is not fixed by a shorter exposure alone.
  • Whether the exposure is correct. These rules cap the shutter. Whether that shutter, your aperture and your ISO collect enough light is a separate question, and the usual answer at the shutter limit is to open the aperture as far as the lens allows and raise ISO.

Key terms

Sidereal rate
The apparent rotation rate of the sky: 360° per sidereal day of 86,164 s, which is 15.041 arcseconds per second at the celestial equator.
Pixel pitch
The physical centre-to-centre spacing of pixels on the sensor, in micrometres. Sensor width divided by pixel count.
Image scale
How much sky one pixel covers, in arcseconds per pixel: 206,265 × pitch (mm) ÷ focal length (mm).
Declination
Angular distance north or south of the celestial equator, the sky's equivalent of latitude. Apparent motion falls as its cosine.
Integration time
Total accumulated exposure across all stacked frames. Twenty 15-second frames give five minutes of integration.

Where this sits in a night-shooting workflow

The shutter limit is one of three constraints that fight each other on a nightscape. The second is depth of field: the foreground has to be acceptably sharp too, and at f/2.8 on a 24 mm lens the near limit of acceptable focus is closer than people expect. Work it out with the depth of field calculator and the hyperfocal distance calculator, remembering that focusing at the hyperfocal distance puts infinity — where the stars are — at the very edge of acceptable, which is why most astro shooters focus on a bright star instead and accept a softer foreground or blend two exposures.

The third is framing. How much sky a lens takes in determines whether the Milky Way core fits above your foreground, and the field of view calculator answers that directly. If you are working across formats, the crop factor calculator converts between them — and note that the same crop factor that shortens your 500-rule shutter also narrows your field, which is the same physical fact seen twice.

Star trails are the other half of this subject, and they invert every assumption here. A trail image wants motion, so it is built from hundreds of consecutive frames at whatever shutter the noise floor allows, stacked with a maximum blend rather than an average. The interval arithmetic for that sequence — frames, total duration, card space — is the same as for any interval sequence, which the timelapse interval calculator handles.

Frequently asked questions

What is the 500 rule in astrophotography?

It says the longest shutter that keeps stars looking like points is 500 divided by the effective focal length in millimetres. A 24 mm lens on full frame gives 500 ÷ 24 = 20.8 s; the same lens on a 1.5× crop body gives 500 ÷ 36 = 13.9 s. It descends from the film-era 600 rule and assumes a viewing standard set by 1970s prints, which is why photographers now often use 400 or 300 instead.

Is the NPF rule always stricter than the 500 rule?

No — it depends on aperture and pixel pitch. NPF is stricter exactly when crop factor × (35N + 30p) is less than 500. For a 24 MP full-frame body with 5.98 µm pixels, the 30p term is 179.5, so NPF is stricter at any aperture below f/9.2 and looser above it. At the fast apertures night photography actually uses, NPF is always the tighter of the two: 11.6 s against 20.8 s at f/2.8 on a 24 mm lens.

Do I use the real focal length or the equivalent focal length?

Use the real focal length for both, and enter the crop factor separately. The 500 rule multiplies them together internally, because effective focal length is what it is calibrated against. The NPF rule uses only the real focal length, because the pixel pitch already encodes how finely the sensor samples the image. Putting an equivalent focal length into the NPF formula double-counts the crop and shortens the answer by exactly the crop factor.

How long a star trail is acceptable?

It depends entirely on output size. At the 500-rule limit on a 24 MP full-frame body with a 24 mm lens, stars draw a 6.1-pixel trail, which is obvious at 100% on screen and invisible in a 1,200-pixel web image. The NPF limit puts the same star at 3.4 pixels, which reads as a slightly soft point even under close inspection. Decide how the picture will be viewed first, then pick the rule that matches.

Why does aperture appear in the NPF rule?

Because a star's image is never a mathematical point — it has a finite width set by diffraction and lens aberrations, and diffraction scales with the f-number. A wider star image hides more motion, so a smaller aperture would in principle tolerate a longer shutter. That is the 35N term. In practice you shoot wide open for light, so this term contributes far less than the 30p pixel term at typical night apertures: at f/2.8 it is 98 against 179.5.

Can I shoot longer if I am pointing at Polaris?

Yes, roughly by a factor of 1 ÷ cos δ. Apparent motion falls as the cosine of declination, so at 60° stars move at half the equatorial rate and at 80° at 17% of it. Both shutter rules ignore declination and therefore stay conservative away from the equator. Set the declination field to see the effect on the trail figures. The Milky Way core near −29° moves at 87% of the maximum rate, close enough to the worst case that the rules assume it.

Is it better to stack short frames or take one long one?

Stack. Averaging N frames improves the signal-to-noise ratio by roughly the square root of N, so sixteen 12-second frames approach the noise performance of one 192-second exposure while keeping every star as tight as a single frame. The costs are storage, battery, and the alignment step in processing. This is why the frame-count output exists: it converts a target integration time into a shot list at your calculated shutter.

Do I need a star tracker?

Not below about 35 mm, where the untracked shutter is still 8 s or more and stacking covers the rest. Above roughly 200 mm effective focal length the limit drops under 2.5 s and a tracker becomes the practical option. The trade is that a tracker blurs the landscape while the sky stays sharp, so tracked nightscapes are normally shot as two exposures — one tracked for the sky, one untracked for the ground — and blended.

Why does my APS-C camera get a shorter time than full frame with the same lens?

Because the smaller sensor crops into the same projected image, so the same angular motion covers a larger fraction of the frame. The 500 rule handles that through the crop factor: a 16 mm lens on a 1.5× body gets 500 ÷ 24 = 20.8 s, the same as a 24 mm lens on full frame, because both frame the same field. Under the NPF rule, the effect appears instead as a smaller pixel pitch when the crop sensor has the same pixel count on a smaller area.

References

  • NPF rule for the maximum exposure time of a fixed camera on the night sky — Frédéric Michaud, Société Astronomique du Havre
  • Explanatory Supplement to the Astronomical Almanac, 3rd ed. — sidereal rotation rate and the length of the sidereal day — University Science Books
  • Astrophotography for the Amateur, 2nd ed. — Michael A. Covington, Cambridge University Press