Astrophotography Calculator
Star trail vs point: max exposure from focal length and declination.
About this calculator
This calculator finds the longest single exposure you can take of the night sky before stars smear into trails, using two competing rules and taking whichever is more conservative. The classic 500 Rule divides 500 by your full-frame-equivalent focal length (focal length × crop factor) — a quick mental-math shortcut from the film era. The NPF Rule is more rigorous for today's high-resolution sensors: it factors in your aperture and pixel pitch (derived here from sensor width and megapixels, assuming a square-pixel layout), since smaller pixels reveal trailing sooner than the 500 Rule assumes.
The calculator reports both and recommends the shorter of the two so you don't get caught out by a sensor whose pixel density the 500 Rule doesn't account for. From there it derives your total integration time (recommended exposure times how many sub-exposures you plan to stack), the scene's exposure value normalized to ISO 100, an estimate of the faintest star magnitude your setup can capture in a single frame, and the signal-to-noise improvement you get from stacking subs — which scales with the square root of the number of frames, not linearly, so doubling your subs only buys about 41% more SNR. Common mixups: crop factor should reflect your actual sensor (1.0 full-frame, 1.5 APS-C, 2.0 Micro Four Thirds), and the limiting-magnitude estimate is a rough approximation, not a substitute for actual sky-quality measurements at your location.
Inputs
Results
Recommended exposure (sec)
10.1
How to Use This Calculator
- Enter your focal length in mm, sensor crop factor, and aperture (f-number).
- Enter your ISO, sensor width in mm, and megapixels — these determine the sensor's pixel pitch.
- Set the number of sub-exposures (subs) you plan to stack.
- Review the 500 Rule Max and NPF Rule Max exposure times, then use the shorter Recommended Exposure to avoid star trailing.
- Check the Total Integration Time, Scene EV, Approx. Limiting Magnitude, and SNR Improvement from stacking.
How the result changes with Focal length (mm)
| Focal length (mm) | Recommended exposure (sec) |
|---|---|
| 12 | 20.2 |
| 18 | 13.4 |
| 36 | 6.7 |
| 60 | 4 |
What each input means
- Focal length (mm)
- Lens focal length in millimeters.
- Crop factor
- Sensor crop factor (1.0 for full-frame, 1.5 for APS-C, 2.0 for MFT).
- Aperture (f/)
- Lens aperture f-number (e.g. 2.8).
- ISO
- Camera ISO sensitivity setting.
- Sensor width (mm)
- Physical sensor width in mm (23.5 for APS-C, 36 for FF).
- Megapixels
- Sensor resolution in megapixels.
- Number of sub-exposures
- Number of frames to stack for noise reduction.
What each result means
- 500 Rule max (sec)
- Maximum exposure time per the classic 500 Rule.
- NPF Rule max (sec)
- Maximum exposure per the NPF Rule (better for high-res sensors).
- Recommended exposure (sec)
- Conservative recommended single exposure time.
- Total integration (min)
- Total stacked exposure time in minutes.
- Scene EV (ISO 100)
- Equivalent exposure value at ISO 100.
- Pixel pitch (µm)
- Calculated pixel pitch of your sensor.
- Approx. limiting magnitude
- Estimated faintest star magnitude captured per frame.
- SNR improvement (×)
- Signal-to-noise ratio improvement from stacking (√N).
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersFocal length (mm) = 24, Crop factor = 1.5, Aperture (f/) = 2.8, ISO = 3200 = 7 input(s) provided
- Calculate Recommended exposureRecommended exposure = min(maxExposure500, maxExposureNpf)10.1 = 10.1
- Calculate 500 Rule max500 Rule max = 500 / (focalLength * cropFactor)13.9 = 13.9
- Calculate NPF Rule maxNPF Rule max = (35 * aperture + 30 * pixelPitch) / focalLength10.1 = 10.1
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 the calculator show two different maximum exposure times (500 Rule and NPF Rule) instead of just one?
The 500 Rule (500 / (focal length × crop factor)) is a fast mental-math approximation from the film era that ignores sensor resolution entirely. The NPF Rule factors in aperture and pixel pitch, which matters because a densely packed modern sensor reveals star trailing at a shorter exposure than the 500 Rule predicts. The calculator computes both and recommends whichever is shorter, so a high-megapixel body doesn't get an overly generous exposure time.
Why does a higher megapixel count shorten my maximum exposure time?
Pixel pitch is derived from sensor width divided by the square root of megapixels — packing more pixels into the same sensor width makes each pixel physically smaller. Since the NPF Rule's formula adds 30× pixel pitch to the numerator, a smaller pixel pitch produces a smaller allowed exposure time before trailing becomes visible at the pixel level, even though the field of view and focal length haven't changed.
Why does stacking 4× as many sub-exposures only double my signal-to-noise ratio, not quadruple it?
The calculator's SNR improvement scales with the square root of the number of subs (√N), a consequence of how random noise averages down when you stack independent frames. Going from 30 to 120 subs (4×) only multiplies your SNR improvement by √4 = 2, which is why chasing dramatically longer integration time has diminishing returns compared to improving your per-frame exposure or gear.
How reliable is the 'limiting magnitude' estimate?
It's a rough approximation built from your entrance pupil diameter (focal length ÷ aperture) and the recommended exposure time, following a standard telescope-limiting-magnitude formula. It doesn't account for real-world factors like light pollution, sky transparency, seeing conditions, or your specific optics' actual light transmission, so treat it as a ballpark for comparing setups rather than a guarantee of what you'll capture at a given site.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Astrophotography Exposure
Calculate the maximum untracked exposure time to avoid star trails using the NPF rule, 500 rule, and declination correction.
Clinical NutritionDiabetes Carb Counter Calculator
Count carbohydrates and calculate insulin bolus doses using the 500 rule (ICR) and 1800 rule (ISF). Includes correction dose for high blood glucose.
Specialized PhotographyMacro Photography Calculator
Magnification ratio, DOF, and working distance.
Specialized PhotographyArchitectural Photography Calculator
Tilt-shift settings from building height and camera position.
Specialized PhotographyDrone Photography Settings Calculator
Camera settings from altitude, time of day, and subject.
More in Creative, Media & Design.