The end correction assumes flanged ends (L_eff = L + 1.7 r). The model is valid in the long-wavelength limit f < c / (2 pi d_n).
Bottom: cavity of volume V / Top: neck of cross-section A and geometric length L / Arrow: oscillating air slug in the neck / Yellow labels: current resonant frequency and parameters
X = V [L] (log) / Y = f [Hz] (log) / f proportional to 1 / sqrt(V), slope -1/2 line (yellow dot = current value)
A Helmholtz resonator is a lumped acoustic system of a closed cavity (volume V) connected to a short neck (cross-section A, geometric length L). The air slug in the neck acts as the mass, the cavity air as the spring, producing a sharp resonance.
Resonant frequency (with end correction):
$$f_H = \frac{c}{2\pi}\sqrt{\frac{A}{V\,L_{\mathrm{eff}}}},\qquad A = \pi r_n^{2}$$Effective neck length for flanged ends:
$$L_{\mathrm{eff}} = L + 1.7\,r_n$$Wavelength and period at resonance:
$$\lambda_H = \frac{c}{f_H},\qquad T_H = \frac{1}{f_H}$$Here $V$ is the cavity volume [m^3], $L$ the geometric neck length [m], $r_n$ the neck radius [m], $A$ the neck cross-section [m^2], and $c$ the speed of sound in air [m/s]. For air at 20 C, $c \approx 343$ m/s and $\rho \approx 1.2$ kg/m^3.