In deep-sky astrophotography, the final image quality is driven by total integration time, but the relationship between the number of sub-frames you stack and the resulting smoothness is not linear. This calculator uses the quadrature stacking rule to tell you how many subs and how much total time you need to reach a target signal-to-noise ratio.
How it works
Stacking N sub-frames averages out random noise, which falls as the square root of N while the signal is unchanged. The stacked SNR is therefore:
SNR_stacked = SNR_single × √N
Solving for the number of subs needed to reach a target SNR gives:
N = (SNR_target / SNR_single)²
total_t = N × sub_length
Because of the square, reaching a higher target costs disproportionately more frames — doubling SNR needs four times the subs and four times the total time.
Example and tips
If a single 3-minute sub yields an SNR of 8 and you want a final SNR of 40, you
need (40 / 8)² = 25 subs, or 75 minutes of integration. To push that to SNR 80
you would need 100 subs and five hours. This is why faint targets demand whole
nights of data. Keep individual subs long enough to swamp read noise, but short
enough that you can discard the occasional ruined frame without losing much.