InputTestHub

Star Trail Calculator

Finds the longest exposure before stars trail, comparing the 500 rule with the NPF rule that accounts for your sensor resolution.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Needed for the NPF rule. The 500 rule cannot see resolution, which is exactly its problem.
Optional. Stars near the pole barely move; 0° is the celestial equator, where they move fastest.
Enter your figures and press Calculate.
In short The 500 rule says the longest exposure before stars visibly trail is 500 divided by the full-frame equivalent focal length, so a 24 mm lens gets about 21 seconds. It is easy to remember and it is out of date. It was written for film and for the first six-megapixel DSLRs, and it takes no account of how finely the sensor samples the image — which is the thing that decides whether a trail is visible at all. On a modern high-resolution body it is badly too generous: at 61 megapixels the same 24 mm lens really allows about 8.8 seconds, so the 500 rule permits a trail nearly two and a half times longer than a point. The NPF rule does account for it. It is (35 times the f-number plus 30 times the pixel pitch in micrometres) divided by the focal length, and because pixel pitch comes from the resolution, it knows what the 500 rule cannot. Enter your megapixels above and this tool shows both and tells you the gap. Two refinements. Declination matters: a star near the celestial pole traces a much smaller circle than one on the celestial equator, so you can expose considerably longer on it, and both rules assume the worst case. And all of these are judgements about an acceptable amount of trailing rather than physical limits — it is the same circle-of-confusion question as depth of field, and it changes the moment you decide to print bigger. The real answer for serious work is to stop guessing and stack: many short frames averaged together beat any single-exposure rule, and remove noise at the same time.

How to use the Star Trail Calculator

  1. Pick the sensor and enter the focal length and aperture.
  2. Enter the resolution in megapixels so NPF can be calculated.
  3. Compare the two rules and use the stricter one.

About the Star Trail Calculator

The longest exposure before stars trail, by both the 500 rule and the resolution-aware NPF rule.

What people use it for

  • Setting a shutter speed for the Milky Way.
  • Finding out whether the 500 rule is safe on your camera.
  • Seeing how much longer you can expose near the pole.

Details

The 500 rule500 ÷ equivalent focal length
24 mm full frameabout 21 seconds by the 500 rule
The NPF rule(35N + 30p) ÷ f, where p is pixel pitch in µm
At 61 MPthe same lens allows about 8.8 seconds
So the 500 rule isabout 2.4× too generous on a modern sensor
The real answerstack many short frames
PrivacyEverything runs in your browser. Nothing you enter is sent anywhere
The tool reports both rules and warns when the 500 rule is more than half again too generous for your sensor. That is not a criticism of the rule — it is an old one, written before sensors resolved finely enough for the difference to show.

Where this tool stops

These are rules of thumb about an acceptable amount of trailing, not physical limits. The only way to know for certain is to take one frame and look at it at 100%. For when to shoot rather than how long, the site's twilight and moon phase calculators are the companions to this one.

Frequently asked questions

What is the 500 rule?
Divide 500 by the full-frame equivalent focal length to get the longest exposure in seconds before stars trail. A 24 mm lens gives about 21 seconds. It is a rule of thumb from the film era.
Why is the NPF rule better?
Because it includes pixel pitch, and whether a trail is visible depends on how finely the sensor samples it. The 500 rule cannot see resolution at all, so it gives the same answer for a 6 MP and a 61 MP body.
How much difference does it make?
A lot on modern sensors. At 24 mm f/2.8, the 500 rule allows 21 seconds while NPF allows about 8.8 at 61 megapixels — the 500 rule permits a trail nearly two and a half times longer than a point.
Does it matter where in the sky I point?
Yes. Stars near the celestial pole trace much smaller circles, so you can expose considerably longer on them. Both rules assume the worst case, which is a star on the celestial equator.
What if I use a crop sensor?
The equivalent focal length goes up, so the allowed time goes down. The tool applies your sensor's derived crop factor automatically.
Should I just use a star tracker?
If you can, yes — it removes the limit entirely. Failing that, stacking many short frames beats any single-exposure rule and reduces noise as well.
Is there a limit on how often I can use the Star Trail Calculator?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Does anything I enter leave my computer?
No. The Star Trail Calculator runs entirely in your browser using JavaScript. Because the work happens locally, the tool also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
Who is the Star Trail Calculator for?
The most common reasons people reach for it: setting a shutter speed for the Milky Way. Finding out whether the 500 rule is safe on your camera. Seeing how much longer you can expose near the pole. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Where does the Star Trail Calculator stop being reliable?
These are rules of thumb about an acceptable amount of trailing, not physical limits. The only way to know for certain is to take one frame and look at it at 100%. For when to shoot rather than how long, the site's twilight and moon phase calculators are the companions to this one. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What are the key numbers for the Star Trail Calculator?
The 500 rule is 500 ÷ equivalent focal length. 24 mm full frame is about 21 seconds by the 500 rule. The NPF rule is (35N + 30p) ÷ f, where p is pixel pitch in µm. These are printed on the page itself, so you do not have to take them on trust.
Can I rely on this for exact work?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…