GALAXY OF TOOLS

DESIGN SECTOR

Star Trail Calculator – Exposure, Frames and Trail Length

Trail arc, length in pixels, frames to stack, and 500 rule and NPF exposure limits for star photos.

Sensor width × height (mm)
px
mm
f/
°
0° = celestial equator (longest trails); 90° = pole star (shortest).
s
s
min
Trail arc15.5°star trail arc across 120 frames — 1 h 2 min of sky, 15.5° of rotation about the pole
1,284 pxTrail length in the stack (image 6,000 px wide, 72.6° across)
10.4 pxTrail in one 30 s frame — stars look streaked
0.3 pxGap between streaks at a 1 s gap
117 framesNeeded for 1 h of trail (1 h shooting)
20.4 s500 rule longest sharp exposure (crop 1.53×)
13.5 sNPF rule (pixel pitch 3.92 µm)

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

Plan star trails: exposure, frames and how long the streaks will be

This star trail calculator answers the three planning questions behind a star trail photo: how long can one frame be before stars smear, how many frames do you need to stack for a trail of a given length, and how long will the streaks be in pixels. Enter your sensor, lens, aperture and the settings you plan to use.

It also gives the two classic rules of thumb for a sharp night sky, the 500 rule and the NPF rule, so you can pick a frame length for stacking that keeps each individual frame crisp. Everything runs in your browser.

How to use the star trail calculator

  1. Choose your sensor size, then type the image width in pixels from your camera’s specifications.
  2. Enter the focal length and aperture. Add the declination of the stars you are pointing at if you know it; leave 0° for the longest trails.
  3. Set the exposure per frame, the gap your camera needs between frames and the number of frames, or the trail time you want.
  4. Read the trail arc, trail length in pixels, frames needed and the 500 rule and NPF exposure limits. Use the button to copy the safer of the two into the exposure box.

Star Trail Calculator features

Trail arc and pixels

Degrees of sky rotation for your total shooting time and the matching streak length in pixels.

Frames to stack

How many frames of your chosen length add up to the trail time you want.

Two sharpness rules

The 500 rule and the NPF rule side by side, with pixel pitch worked out for you.

How fast the sky turns

The Earth makes one turn against the stars in a sidereal day of 23 h 56 min 4 s, so the sky rotates 360° ÷ 23.9345 h = 15.04° an hour, usually rounded to 15°. A star at declination δ draws an arc whose angular length is 15.04° per hour × cos δ: longest at the celestial equator (δ = 0°) and shrinking towards zero at the celestial pole, where stars barely move. Pointing at the pole star therefore gives concentric circles.

To turn that angle into pixels the calculator divides the image width by the lens’s horizontal angle of view. This is accurate for the centre of a normal lens and approximate for wide angles, where projection and distortion stretch the edges. Frames stack by blending the brightest pixels, so a gap of a second or two between frames shows as a thin break in each streak; the gap-in-pixels figure tells you whether it will be visible.

The 500 rule and the NPF rule

The 500 rule says the longest exposure in seconds before stars show as trails is 500 ÷ (focal length × crop factor). It dates from the film era and gives soft stars on modern high-resolution sensors. The NPF rule, devised by Frédéric Michaud, is stricter and also depends on aperture and pixel pitch: (35 × N + 30 × p) ÷ f, with p the pixel pitch in micrometres. Both are rules of thumb for sharp stars, not laws; the declination note above does not change either published rule, but stars near the pole allow longer exposures.

For star trails you do not need pinpoint stars, so frames of 30 s or more are common. The rules matter when you want both sharp stars and trail-free single frames, for example for a Milky Way shot in the same session.

Star Trail Calculator FAQ

How many frames do I need for star trails?

Divide the trail time you want by the exposure plus the gap. For 60 minutes of trail with 30 s frames and a 1 s gap you need about 117.

How long should a star trail exposure be?

Use the longest the sky and your camera allow, usually 30 s for stacks. For a single long exposure, 30 minutes or more gives long arcs but more noise.

What is the 500 rule?

A rule of thumb: longest sharp exposure in seconds = 500 ÷ (focal length × crop factor). The NPF rule is more accurate for modern sensors.

What shutter speed should I use for astrophotography?

For pinpoint stars use the shorter of the 500 rule and NPF rule results above, for example about 13 s for a 16 mm f/2.8 lens on APS-C with 6000 px. Then set the aperture and ISO with the exposure value calculator.

How many degrees do stars move in an hour?

About 15° per hour at the celestial equator, less elsewhere by the factor cos(declination).

Why is my trail shorter than expected?

Stars away from the equator move less, and a wide lens covers many degrees across the same pixels. Check the declination and your lens’s angle of view.

Which software stacks the frames?

Any program with a “lighten” or “maximum” blend mode, such as a free stacker or an image editor, will combine the frames.

You might also need