Skip to main content
Calcimator

Astrophotography Exposure

Calculate the maximum untracked exposure time to avoid star trails using the NPF rule, 500 rule, and declination correction.

About this calculator

This calculator finds the longest shutter time you can use on an untracked tripod before Earth's rotation smears stars into visible trails, using the NPF rule -- named for the three variables in its formula (N: lens aperture f-number, P: pixel pitch, F: focal length), not for people, and first published by Frédéric Michaud of the Société Astronomique du Havre as a more accurate successor to the old "500 rule". The NPF formula factors in your lens's aperture f-number (assumed at f/5, a typical astrophotography setting) and focal length together with your camera's actual pixel pitch, since a sensor with larger, more widely spaced pixels can tolerate more star movement before a trail becomes visible at normal viewing distances than a high-resolution sensor packing pixels tightly together. Longer focal lengths magnify apparent star movement the same way they magnify the subject, so they sharply shrink the maximum exposure time; larger pixels have the opposite effect, extending it.

The calculator also applies a declination correction: because Earth's rotation sweeps stars across the sky at a rate proportional to the cosine of their declination, objects near the celestial pole (declination near +/-90 degrees) appear to move far more slowly than objects near the celestial equator (declination near 0), so they tolerate proportionally longer exposures before trailing. The classic 500 Rule and more conservative 300 Rule are shown alongside the NPF result for comparison, since many photographers still use them as quick mental-math shortcuts even though they don't account for pixel size.

Inputs

mm
μm
°

Results

NPF Rule Exposure

1.6 sec

Declination-Adjusted

1.6 sec

500 Rule Exposure2.5 sec
300 Rule Exposure1.5 sec
Image Scale4.95 arcsec/px
Trail Length at NPF Time4.83 pixels
Sky Rotation0.0066°
Assumed Aperture (f/5)40 mm
How to Use This Calculator
  1. Enter your lens or telescope Focal Length (mm) — wider focal lengths allow longer untracked exposures.
  2. Look up your camera's Pixel Size (µm) in its specifications; typical DSLRs range from 3.7 to 6.5 µm.
  3. Enter the Target Declination (°) of your subject — stars near the celestial pole trail less, so longer exposures are possible.
  4. Use the NPF Rule Exposure (sec) as your maximum untracked shutter time to avoid visible star trails.
  5. Compare the 500 Rule and 300 Rule exposures — the NPF rule is more accurate for modern high-resolution sensors.

How the result changes with Focal Length

Focal LengthNPF Rule ExposureDeclination-Adjusted
1003.2 sec3.2 sec
1502.1 sec2.1 sec
3001.1 sec1.1 sec
5000.6 sec0.6 sec

What each input means

Focal Length
Lens or telescope focal length in millimeters (wider = longer exposures allowed)
Pixel Size
Camera sensor pixel pitch in micrometers (check camera specs; typical DSLR: 3.7-6.5 μm)
Target Declination
Declination of target in degrees (0 = celestial equator, +90 = north pole; higher = longer exposures)

How this is calculated

Formula

t = (35×N + 30×pixel_size) / focal_length (NPF Rule, N = aperture f-number)

Worked example, using the default values

  1. Identify Input Parameters
    3 parameters
    Focal Length = 200, Pixel Size = 4.8, Target Declination = 0 = 3 input(s) provided
  2. Calculate NPF Rule Exposure
    NPF Rule Exposure
    1.6 = 1.6
  3. Calculate Declination-Adjusted
    Declination-Adjusted
    1.6 = 1.6
  4. Calculate 500 Rule Exposure
    500 Rule Exposure
    2.5 = 2.5
  5. Calculate 300 Rule Exposure
    300 Rule Exposure
    1.5 = 1.5

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does a longer focal length force a shorter maximum exposure?

A longer focal length magnifies everything in the frame, including the apparent speed at which stars drift due to Earth's rotation. The same angular rotation of the sky covers proportionally more pixels on a telephoto lens than a wide-angle lens, so star trails become visible sooner -- the NPF rule's exposure time shrinks roughly in proportion to how much the focal length grows, which is why wide-angle Milky Way shots tolerate exposures of 15-25 seconds while a 500mm lens on the same sky might be limited to just a couple of seconds.

Why does pixel size matter for star trail exposure?

A star's trail has to cross a meaningful fraction of a pixel's width before it becomes visibly elongated rather than a sharp point. A sensor with larger, more widely spaced photosites (a bigger pixel pitch in micrometers) can tolerate more physical star movement across the sensor before that threshold is crossed than a high-resolution sensor with tightly packed small pixels, so cameras with larger pixels generally support proportionally longer untracked exposures at the same focal length.

Why do stars near the celestial pole allow longer exposures?

Earth's rotation sweeps every star around the celestial pole at the same angular rate per unit time, but a star's APPARENT motion across the sky (in right-ascension terms relevant to trailing) scales with the cosine of its declination. A star sitting near the celestial equator (declination near 0) traces the largest apparent arc, while a star near the pole (declination near +/-90) traces a much smaller one in the same time, so it takes proportionally longer for its trail to become visible.

How is the NPF rule different from the older 500 rule?

The 500 rule is a simple mental-math shortcut (500 divided by focal length in millimeters) that ignores sensor pixel size and aperture entirely, so it tends to overestimate the safe exposure time on today's high-resolution sensors, where trails become visible sooner than the 500 rule predicts. The NPF rule instead factors in aperture, focal length, and actual pixel pitch, making it noticeably more conservative and more accurate on modern cameras -- which is why this calculator shows both, with the NPF figure as the primary, more trustworthy result.

Does a longer NPF exposure time guarantee pin-sharp stars?

No -- the NPF rule targets the threshold where trailing becomes noticeable at typical viewing sizes, not a guarantee of zero star movement. Atmospheric seeing, focus accuracy, tripod stability, and how much you crop or enlarge the final image all affect whether trailing is visible in practice, and any exposure right at the calculated limit will show some trailing under close inspection or heavy cropping -- shooting somewhat under the calculated maximum leaves margin for these factors.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Science & Physics.