Use the free tool below: your data never leaves your browser — all work happens on your device, and nothing is uploaded to any server.
Why stacking works
Every astrophoto is a fight against noise. A single frame of a faint nebula contains the signal you want, buried under random noise from the sensor, the sky glow, and heat. Stacking does not invent signal. It takes many frames of the same target and averages them, and because the signal is the same in every frame while the noise is random, the signal adds up faster than the noise does. The result is a cleaner image where faint detail emerges from the murk, and that is why almost every serious deep-sky image you have seen is a stack of dozens or hundreds of frames.
This calculator shows exactly how much stacking helps, and where it stops helping. Enter the number of frames, the signal-to-noise ratio of one frame, and the exposure per frame. The tool returns the improvement factor, the stacked signal-to-noise ratio, and the total integration time, plus a warning about diminishing returns. The maths is one clean rule: improvement equals the square root of the number of frames. Ten frames give about 3.2 times better signal-to-noise, one hundred give 10 times, and one thousand give about 32 times.
The square root rule, explained
Imagine each frame as a measurement. Averaging measurements reduces random error by the square root of the count, which is a basic result from statistics, not a photography trick. If one frame has a signal-to-noise ratio of 5, then 4 frames give 10, 25 frames give 25, and 100 frames give 50. The first few frames help enormously: going from 1 to 4 frames doubles quality. Going from 100 to 400 frames also doubles it, but costs ten times the frames of the first doubling. That is the whole story of stacking in one sentence, and it decides how long you should stay out.
Total integration time matters as much as frame count. One hundred frames of 30 seconds equal 50 minutes of total exposure, which is a serious night’s work for one target. It also shows why short exposures are not a cheat. You cannot replace one 5 minute tracked exposure with three hundred 1 second exposures and expect the same result, because read noise is added once per frame, and hundreds of frames add hundreds of doses of it.
A worked example
Suppose one 30 second frame of a galaxy gives a signal-to-noise ratio of 5, which looks grainy and thin. Stack 25 frames and the ratio reaches 25, a fivefold improvement, for 12.5 minutes of total exposure. Stack 100 frames and it reaches 50 for 50 minutes. The jump from 25 to 100 frames quadruples your time for a doubling of quality, which is worth it for a showcase image and wasteful for a quick test. To double again, to 100, you would need 400 frames and 200 minutes, which is more than three hours on one target. Most imagers stop near the point where the next doubling costs more night than the improvement is worth.
Planning a stacking session
- Decide the total integration time first, from the faintness of the target, then split it into frames your mount can track cleanly.
- Use exposures long enough that sky glow swamps read noise, but short enough that stars stay round and the core of bright stars does not blow out.
- Throw away bad frames before stacking. A frame blurred by wind or a passing cloud hurts the stack more than it helps.
- Dither between frames, shifting the target by a few pixels each time, so hot pixels and fixed noise do not line up.
- Keep some frames in reserve. If the first stack disappoints, more frames from the same night can be added later.
Common mistakes
The most common mistake is stacking frames of different targets, or frames where the target drifted so far that alignment fails. Registration software can shift frames by small amounts, but it cannot rescue a target that wandered across the frame. Another mistake is stacking images with wildly different exposures or ISO values, which mixes noise levels and confuses the average.
Frequently asked questions
How many frames are enough? For a first image, 20 to 50 frames usually show a dramatic improvement. For a showcase image, 100 or more is common. Beyond a few hundred, most imagers gain more from darker skies than from more frames.
Does stacking work for the Moon and planets? Yes, but differently. Planetary imagers stack thousands of very short video frames and keep only the sharpest, a technique called lucky imaging, because the atmosphere, not sensor noise, is the limit there.
Can I stack frames from different nights? Yes, as long as the target, framing, and exposure match closely. Many deep-sky images combine several nights, and the calculator’s total integration time simply adds up across nights.
Use the calculator above to plan your next session: enter your frame count and single-frame quality, read the improvement and the total time honestly, and stop adding frames when the next doubling costs more night than it is worth.
Related calculators
- Spanish version
- Astrophotography Exposure Calculator – Sharp Stars Without a Tracker
- Moonrise Moonset Calculator – Moon Times for Any Date and Place
