Advanced Astrophotography Calculator
Determine the absolute maximum shutter speed to prevent star trails based on your specific camera sensor, lens, and night sky target.
1. Camera & Sensor Setup
2. Lens & Target Setup
Maximum Exposure Times
Tools to Also Try
Master the Night: The Astrophotography Exposure Time Guide
You set up your camera on a clear night, dialed in 30 seconds and came home with what looked like a sky full of tiny glowing worms instead of stars.
Welcome to the most common frustration in night photography and the reason exposure time calculation matters more than most beginners realize.
The Earth never stops spinning. From your camera's perspective, every star is constantly sliding across the frame. Nail your shutter speed and you freeze them into crisp, tiny points.
Go even a second too long and that motion becomes visible not as drama but as blur. Getting the balance right takes both judgment and math, and that's exactly what this calculator handles for you.
Why the Rule of 500 Has Aged Poorly
Ask any photographer who started shooting the night sky a decade ago and they'll tell you: divide 500 by your focal length and you've got your maximum shutter speed. Simple, memorable and on today's cameras are frequently wrong.
The problem isn't the logic, it's the assumption. That formula was built around sensor technology that no longer represents what most people are actually shooting with. A 61-megapixel sensor like the one inside the Sony a7R V packs individual pixels into a much tighter space than sensors from even five years ago.
The physical size of each pixel shrinks and when pixels are smaller, a star's light crosses from one to the next far more quickly. What once registered as a sharp point now shows up as a short streak.
This calculator is built around the NPF Rule instead a formula that accounts for your specific sensor's pixel pitch, your lens aperture and your focal length. The result isn't an approximation; it's a calculation tuned to your exact gear.
The Four Inputs That Actually Determine Your Exposure
Pixel Pitch — Each pixel on your sensor has a physical size, measured in micrometers. Cameras with higher megapixel counts tend to have smaller pixels which means they're more sensitive to even the slightest star movement.
Rather than asking you to look this up yourself the calculator pulls from a built-in camera database. Select your model and the pixel pitch fills in automatically far more reliable than guessing.
Focal Length and Crop Factor — A 14mm wide-angle lens captures an enormous sweep of sky. A 50mm or 85mm lens zooms in on a much smaller patch, which means any movement in that patch looks proportionally larger.
The longer your focal length, the shorter your maximum exposure needs to be. If you're using a crop sensor camera APS-C or Micro Four Thirds enter your actual (physical) focal length not the equivalent number. The crop factor field handles that conversion on its own.
Aperture — This one surprises most people. Your f-stop isn't just about brightness it also plays a role in how the NPF formula calculates acceptable sharpness.
A wider aperture such as f/1.4 gives the formula slightly more room to work with which can add a few precious extra seconds to your allowed exposure time. Entering your actual aperture rather than leaving it generic gets you every millisecond of light-gathering time you're entitled to.
Declination — Stars don't all move at the same apparent speed. The ones sitting near the Celestial Equator at roughly 0° declination cross your sensor the fastest. Stars closer to either pole move in tighter arcs and trail much less.
If you're shooting the Milky Way core, you're dealing with around -30° declination. Orion sits close to 0°.
The calculator accounts for your target's position and gives you both a strict and a relaxed result depending on how demanding your final use case is.
NPF Strict vs NPF Standard vs. Rule of 500 — Picking the Right Mode
NPF Strict is for anyone who intends to print large or inspect their images at 100% zoom on screen. Zero compromise on trailing.
NPF Standard works well for the vast majority of shooting situations — social media, online portfolios and anything where the image isn't going under a microscope. It gives you a bit more exposure time than Strict while still producing results that look completely clean at normal viewing sizes.
The Rule of 500 is worth keeping around if you're using an older, lower resolution camera or if you're deliberately prioritizing a brighter frame and don't mind a whisper of trailing in the final shot.
Getting the Most Out of Every Shot
Your exposure time is one piece of the puzzle. Here's how to make sure the rest of your technique matches it.
ISO and Dual Base ISO — Shorter exposures mean less light per frame, which means you'll need to push ISO higher.
That's not necessarily a problem. Many current mirrorless cameras particularly those with Sony sensors have a second base ISO often around 640 or 3200. Shooting at these specific values can produce visibly cleaner results than shooting at intermediate values like 1600 even though the numbers would suggest otherwise.
Look up whether your camera has this feature before your next shoot.
Tripod Stability — A four-second exposure is more than long enough for wind vibration to soften your image.
If your tripod has a center hook, hang your camera bag from it. That added weight drops the center of gravity and dramatically reduces shake from gusts.
Manual Focus in the Dark — Autofocus systems can't lock onto stars. Switch to manual, use your camera's focus magnifier to zoom into the brightest star you can find and rotate the focus ring until that star collapses into the smallest possible point. If it looks like a ring or a blob you're not there yet.
Frequently Asked Questions
What shutter speed should I use for Milky Way photos?
On a full-frame body with a 14mm lens the NPF rule typically lands somewhere between 10 and 15 seconds for genuinely sharp stars.
The old 500 rule might hand you 35 seconds for the same setup which sounds better for brightness but will almost certainly show trailing on any camera made in the last several years.
Can I use NPF-calculated exposures for star stacking?
Stacking is actually where the NPF rule shines most. Shoot 10 to 20 frames at your calculated strict limit, then combine them in software like Sequator or Starry Landscape Stacker. You end up with the sharpness of a short exposure and the noise levels of a much longer one the best of both worlds.
Why does my 50mm lens allow so little exposure time?
Longer focal lengths magnify a narrower section of sky, which makes the Earth's rotation appear much more dramatic in your frame. At 50mm, what looked like imperceptible movement at 14mm becomes clearly visible trailing. The math reflects that directly.
Is a web-based calculator more accurate than a phone app?
It often is — not because of the platform, but because of how easily a web calculator can be updated. As new cameras release (the Nikon Z9, Canon R3 and whatever comes next) a web based database can be refreshed immediately, whereas apps frequently lag behind on sensor specifications for newer models.