This calculator helps you estimate the maximum exposure time you can use for night sky and Milky Way photos before stars start to show noticeable trails. It is based on the popular 500 Rule, which relates exposure time to your lens focal length and your camera sensor’s crop factor.
By entering just two values – focal length in millimetres and sensor crop factor – you get a suggested maximum shutter speed (in seconds). The calculation is done entirely in your browser; nothing is uploaded or stored.
The 500 Rule is an empirical guideline, not a strict physical law. It assumes that a small amount of star movement on the sensor is acceptable at typical viewing sizes and resolutions. The central idea is that the longer the focal length and the smaller the sensor, the shorter your exposure must be to keep stars looking like points instead of streaks.
The plain-text formula used by this tool is:
T (seconds) = 500 ÷ (focal length × crop factor)
where:
In MathML form, the same relationship can be written as:
Here f is the focal length in millimetres and C is the sensor crop factor. If you use a constant other than 500 (for example, 400 or 300 for more demanding image quality), just replace 500 with that constant in the formula.
Different camera systems use different sensor sizes. The crop factor compares the diagonal of your sensor to the diagonal of a 35 mm full-frame sensor. A crop factor larger than 1 means a smaller sensor with a narrower field of view for the same focal length.
Common crop factors include:
| Sensor type | Typical crop factor |
|---|---|
| Full-frame (35 mm) | 1.0 |
| APS-C (Canon) | 1.6 |
| APS-C (Nikon / Sony / Fuji) | 1.5 |
| Micro Four Thirds | 2.0 |
| 1-inch compact | 2.7 |
A higher crop factor effectively magnifies star movement in your image. That is why the same 24 mm lens allows a longer exposure on full-frame than on an APS-C or Micro Four Thirds body.
For privacy, all calculations run locally in your browser; no data is sent to any server.
Suppose you are photographing the Milky Way with a 24 mm lens on an APS-C camera with a crop factor of 1.5. You want to know the longest shutter speed you can use before star trailing becomes obvious.
Step 1: compute the product of focal length and crop factor:
24 mm × 1.5 = 36
Step 2: divide 500 by that product:
500 ÷ 36 ≈ 13.9 seconds
According to the 500 Rule, your maximum exposure is around 14 s. To be safe, you might choose a shutter speed of 13 s. In the calculator, you would enter 24 for focal length, 1.5 for crop factor, and then use the result it returns in seconds.
For comparison, here is how the recommended exposure changes for a few common setups, all using the 500 constant:
| Focal length | Crop factor | Effective focal length | Suggested max exposure T (500 Rule) |
|---|---|---|---|
| 14 mm | 1.0 (full-frame) | 14 mm | ≈ 35.7 s |
| 24 mm | 1.0 (full-frame) | 24 mm | ≈ 20.8 s |
| 24 mm | 1.5 (APS-C) | 36 mm | ≈ 13.9 s |
| 35 mm | 1.5 (APS-C) | 52.5 mm | ≈ 9.5 s |
| 50 mm | 2.0 (Micro Four Thirds) | 100 mm | 5 s |
The number returned by the calculator is a guideline, not a rigid limit. Use it as a starting point, then refine your settings in the field.
Remember that exposure time is only one piece of the exposure triangle. Once you know your maximum shutter speed, you still need to set aperture and ISO to achieve a bright enough image.
Many modern guides suggest lowering the 500 constant for sharper, trail-free stars, especially on dense sensors and for large prints. The basic structure of the rule stays the same; only the constant changes.
You can think of it this way:
Numerically, they all follow the same pattern:
T = constant ÷ (focal length × crop factor)
where the constant is 500, 400, 300, 200, or your preferred value.
For more advanced planning, some astrophotographers use the NPF Rule. Unlike the simple 500 Rule, the NPF Rule factors in:
The NPF Rule typically yields shorter exposure times than the 500 Rule, especially on high-resolution cameras. It aims to limit not just visibly obvious trails, but also very small star shape distortions noticeable when zoomed in.
However, the NPF Rule is also more complex to compute and requires details (like pixel size) that many photographers do not remember in the field. That is why the 500 Rule remains popular as a quick, practical reference when setting up shots under the night sky.
Once you know your maximum exposure time from the 500 Rule, you still need to balance ISO and aperture to get a usable image. A typical workflow might look like this:
In light-polluted areas, you may need to lower your ISO or shorten your exposure further to avoid washing out the sky. In very dark locations, you can often use the full exposure time from the 500 Rule and a high ISO to record faint structures in the Milky Way.
The 500 Rule is intentionally simple, but that simplicity comes with important limitations and assumptions you should keep in mind.
Because of these limitations, treat the 500 Rule result as a starting estimate. Review your shots at high magnification in the field and adjust your exposure time, ISO, or focal length based on what you observe.
Yes. You simply need to include the crop factor in the formula. That is exactly what this calculator does for you. Enter your focal length and crop factor, and it returns an exposure time that already accounts for the smaller sensor.
It is accurate enough as a field guideline, but it is often optimistic for 40+ megapixel sensors. If you find visible trailing at the default result, try recalculating with a smaller constant such as 400 or 300 (by mentally scaling the result down), or simply reduce the suggested exposure by 20–40 percent.
There is no single correct answer. For most modern cameras and web-sized output, 500 or 400 works reasonably well. For critical work, big prints, or heavy cropping, many astrophotographers move to 300 or below. The key is to test a few values with your specific camera and viewing needs, then adopt a constant that consistently gives you results you like.