microphone array spacing calculator
Microphone Array Spacing Calculator guide
A uniform microphone line samples an arriving wave at equally spaced positions. Choose the highest frequency for which you want a half-wavelength spacing reference, enter the propagation speed and count the capsules. The result gives neighbor pitch and the distance between the first and last acoustic centers for that pitch.
Play the instrument ↑- Default result
- 42.875 mm half-wave spacing
Calculation and units
The acoustic wavelength in metres is sound speed divided by frequency. The reference pitch is half of that wavelength. Multiply by one thousand for millimetres. A line of N equally spaced sensors contains N minus one gaps, so multiply the pitch by the gap count to find its center-to-center aperture. Keep this distinction when specifying overall housing length.
Worked examples
Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.
Eight capsule speech array
Highest frequency (Hz) = 4000 · Sound speed (m/s) = 343 · Number of microphones = 8.
42.875 mm half-wave spacing. Wavelength 85.75 mm. A uniform 8-element line at this pitch spans 300.125 mm between the two end capsules.
Measure center to center between neighboring acoustic centers. The reported aperture ends at the final capsule center and excludes case thickness.
Double the upper band edge
Highest frequency (Hz) = 8000 · Sound speed (m/s) = 343 · Number of microphones = 8.
21.4375 mm half-wave spacing. Wavelength 42.875 mm. A uniform 8-element line at this pitch spans 150.0625 mm between the two end capsules.
Keeping the same layout above its design band increases the possibility of spatial ambiguity. Raising the highest design frequency halves the reference pitch.
Four capsules at the same pitch
Highest frequency (Hz) = 4000 · Sound speed (m/s) = 343 · Number of microphones = 4.
42.875 mm half-wave spacing. Wavelength 85.75 mm. A uniform 4-element line at this pitch spans 128.625 mm between the two end capsules.
Changing channel count does not alter the wavelength limit. A shorter array has fewer independent measurements and a smaller end-to-end aperture.
Two sensor pair
Highest frequency (Hz) = 1000 · Sound speed (m/s) = 340 · Number of microphones = 2.
170 mm half-wave spacing. Wavelength 340 mm. A uniform 2-element line at this pitch spans 170 mm between the two end capsules.
There is only one gap between a pair of microphones. Here the aperture and the recommended half-wavelength reference have equal numerical values.
Cool air reference
Highest frequency (Hz) = 4000 · Sound speed (m/s) = 331 · Number of microphones = 8.
41.375 mm half-wave spacing. Wavelength 82.75 mm. A uniform 8-element line at this pitch spans 289.625 mm between the two end capsules.
Use a propagation speed appropriate to the measured conditions. Holding frequency constant while reducing sound speed shortens the target spacing.
Ultrasonic line
Highest frequency (Hz) = 40000 · Sound speed (m/s) = 343 · Number of microphones = 16.
4.2875 mm half-wave spacing. Wavelength 8.575 mm. A uniform 16-element line at this pitch spans 64.3125 mm between the two end capsules.
Compare the pitch against the capsule package before laying out a board. Spacing can be theoretically suitable but mechanically impossible with a given enclosure.
Interpreting the result
Start from the top of the intended operating band, even when most program energy lies at a much lower frequency. A high frequency with little amplitude can still be spatially ambiguous. Draw the first and last capsule centers and distribute the intervening centers at the calculated pitch. Record the actual measured pitch and use it when calculating propagation delays for a built array.
Measurement and model limits
The half-wavelength value is a spatial-sampling reference for a regular line and a broad angular range, with possible ambiguity at the exact endfire boundary. Real patterns depend on steering, element directivity, array weights, frequency response and source distance. An irregular array, a restricted steering sector or a near-field reconstruction requires a different analysis.
Music theory tools → · Microphone Time Difference of Arrival Calculator →
Answers before you play
Common questions
Why does aperture use one fewer gap?
The first microphone starts the line without creating a gap. Each additional microphone adds exactly one interval to the center-to-center span.
What if my capsules cannot fit this close?
A larger package sets a mechanical lower bound on pitch. Compare the corresponding half-wavelength frequency with the band you intend to analyze.
Does adding microphones increase the top frequency?
At fixed pitch the sampling interval stays unchanged. Additional sensors extend the aperture and can alter the beam pattern but leave the spacing reference unchanged.
Can this predict a beamwidth?
Pitch and aperture are ingredients in a beam calculation. To predict beamwidth you also need a frequency, geometry, steering direction and weighting convention.