Astrophotography 500 and NPF Rule Calculator

Choose your sensor size, megapixels, focal length and aperture and where you are pointing; the calculator gives the NPF rule exposure for pin-point stars, the classic 500 rule for comparison, your pixel pitch, a table for ten focal lengths and the frames needed for a stack.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Camera

    Choose sensor and megapixels.

  2. 2
    Lens

    Enter focal length and aperture.

  3. 3
    Sky

    Pick where you are pointing.

  4. 4
    Read

    Compare NPF with the classic rule.

  5. 5
    Stack

    Set total time and count frames.

About this tool

The Astrophotography 500 and NPF Rule Calculator answers the first question of night sky photography on a fixed tripod: how long can the shutter stay open before the stars turn into short lines? The sky turns about 15° an hour, so stars drift across the sensor, and the longer the lens or the smaller the pixels, the sooner that drift shows. The classic 500 rule divides 500 by the focal length times the crop factor. It was devised for film and prints, and on modern high-resolution sensors viewed at full size it allows trails, so many photographers use 400 or 300 instead; the tool lets you pick any of the three. The NPF rule, published by Frédéric Michaud of the Société d'Astronomie Populaire, also takes the aperture and pixel size into account. The simplified form used here is (35 × f-number + 30 × pixel pitch in micrometres) ÷ focal length. You choose a sensor from full frame, APS-C for Nikon, Sony and Fuji, APS-C for Canon, Micro Four Thirds, 1-inch and 44 × 33 medium format, then enter the megapixels. The tool works out the pixel pitch by assuming a 3:2 image, so a 24 MP full-frame camera has pixels about 6 µm wide. Enter the focal length and aperture, and choose where you are pointing: the celestial equator, the Milky Way core, Orion, mid-sky or near the pole. Stars near the celestial pole move less, so the NPF time is divided by the cosine of the declination.

What you see

The headline is the NPF exposure for sharp stars, followed by the classic rule with your chosen constant, your pixel pitch and the number of frames needed for a total exposure you set, 10 minutes by default, for stacking. A line chart compares NPF and the classic rule across focal lengths from 14 to 200 mm, and a table lists NPF and the 500, 400 and 300 rules for each. The Exposure card (CSV) download saves that table for printing or keeping on your phone in the field.

What the examples show

A 24 MP full-frame camera with a 20 mm lens at f/2.8 gets 13.9 seconds by NPF against 25.0 seconds by the 500 rule, with a pixel pitch of 6.00 µm. Ten minutes of total exposure needs 44 frames. A 24 MP APS-C camera at 16 mm and f/2.8 has 3.92 µm pixels and gets 13.5 seconds by NPF and 20.8 by the 500 rule. A 45 MP full-frame body with a 14 mm f/1.8 lens shows the biggest gap: 13.9 seconds by NPF against 35.7 by the 500 rule, because its smaller 4.38 µm pixels record trails sooner. At 50 mm on the 24 MP full-frame camera the NPF limit falls to 5.6 seconds.

Choosing a setting

NPF gives stars that look like points at 100% on screen. If you only share small images, you can go somewhat longer, and the 400 or 300 rule columns give a middle ground. Pointing near the pole, for example at a northern landscape under Polaris, allows almost three times the exposure at 70° declination. For the Milky Way core at −29°, the gain is small.

In the field

Use a sturdy tripod, a two-second timer or remote release, manual focus on a bright star using live view magnification, and turn off lens stabilisation on a tripod. Shoot raw, and if your exposure is limited, raise ISO or stack several frames with stacking software to reduce noise.

Comparing kit

Each camera and lens combination is a setup scenario, so you can compare a wide prime with a zoom, or two bodies, and open Compare all to see the exposure times side by side.

Limits

The NPF form here is the simplified version; the full rule also considers the exact declination and how strict you are about trailing. Pixel pitch assumes a 3:2 sensor, so 4:3 and 16:9 sensors differ slightly. Atmospheric seeing, lens aberrations and wind matter as much as the exposure time. This is a photography planning aid and not professional advice.

Worked example

A 24 MP full-frame camera with a 20 mm f/2.8 lens gets 13.9 seconds by the NPF rule and 25.0 seconds by the 500 rule.

Quick facts

Frequently asked questions

What is the 500 rule?

Divide 500 by the focal length times the crop factor to get the longest exposure in seconds before stars trail. It suits film and small prints.

What is the NPF rule?

A rule by Frédéric Michaud that adds aperture and pixel size: (35 × f-number + 30 × pixel pitch) ÷ focal length, in its simplified form.

Why is the NPF time so much shorter for high-megapixel cameras?

Smaller pixels show star movement sooner. A 45 MP full-frame sensor has pixels about 4.4 µm wide against 6 µm for 24 MP.

Does the direction I point matter?

Yes. Stars near the celestial poles move more slowly, so the tool lengthens the NPF time by 1 ÷ cos(declination).

How many frames do I need for stacking?

Set the total exposure you want; the tool divides it by the NPF time. Ten minutes at 13.9 seconds needs 44 frames.

Can I use the 400 or 300 rule?

Yes. Choose the constant, and the table shows all three classic rules next to NPF.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages