500 Rule vs NPF Rule Calculator for Sharp Stars

The longest shutter speed before stars trail: 500 rule and the more accurate NPF rule.

Learn it on video

The physics behind it, simulated and explained on The Optical Bench on YouTube.

Subscribe to The Optical Bench

Why stars trail

The Earth turns 15° per hour, so stars drift across the frame. If the shutter stays open too long, sharp points become short lines. The longer the lens, the faster they cross the sensor.

The 500 rule

t = 500 / (focal length × crop factor)

It was made for film and small prints. On today's high-resolution sensors, stars already look slightly stretched at 100%. Many people use 300 or 400 instead.

The NPF rule (more accurate)

Frédéric Michaud's NPF rule (Société d'Astronomie Populaire) also looks at the aperture N, the pixel pitch p in µm and the declination of the stars, because stars near the celestial pole move more slowly:

t = (35·N + 30·p) / f × 1 / cos(δ)     (simplified form, δ = declination)

The calculator works out the pixel pitch from your sensor width and megapixels. It shows the result for stars at the celestial equator (the worst case) and for the declination you choose.

Night-sky tips

Gear that helps

Some links on this page are affiliate links: if you buy through them we may earn a small commission, at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Products are picked from public specifications; we don't claim to have tested them.

More free tools

◐Exposure triangle simulatorDrag aperture, shutter speed and ISO and watch blur, motion and noise change.☰Camera settings for any scenePortrait, landscape, sport, night, waterfall… pick a scene and get starting settings.☀Golden hour & blue hour timesGolden hour, blue hour, sunrise and sunset for any place and date.