How to use this calculator
The calculation is for a single speaker. If the sensitivity is given for 2.83 V, that is roughly 1 W only into 8 Ω; at 4 Ω, reduce the sensitivity by about 3 dB first.
Formula
P = 10^((Ltarget − L1W/1m + 20 log₁₀(r/1m))/10); Pheadroom = P · 10^(headroom/10)