mid side calculator
Mid Side Stereo Calculator guide
Use two simultaneous normalized samples to understand a mid-side width setting. The result includes both intermediate channels and reconstructed stereo.
Play the instrument ↑- Default result
- From left 0.8 and right 0.2, the mid is 0.5 and side is 0.3.
Formula and units
Mid equals half the sum of left and right. Side equals half their difference. Scale side by the chosen percentage, then add and subtract it from mid to recover the two output values.
Worked examples
From left 0.8 and right 0.2, the mid is 0.5 and side is 0.3. At 150 percent width the scaled side is 0.45, making left 0.95 and right 0.05.
At zero width, both output samples become 0.5 for the same pair. At 100 percent, left and right return to 0.8 and 0.2. At 200 percent, the left output reaches 1.1 and exceeds normalized full scale.
Compare three sample relationships
Equal samples make zero side. For example, two inputs of 0.7 give 0.7 on both outputs at every available width. To check a centered component in a mix, compare whether the same sample value appears in both channels, remembering that individual samples can differ across time even for a perceived centered source.
Equal and opposite inputs make zero mid. Left 0.5 and right −0.5 become left 0.75 and right −0.75 at 150 percent side gain. Averaging the pair for mono gives zero. In a real mix, studying the balance of sum and difference across a usable interval gives more information than one sample pair.
Check reconstruction, headroom, and convention
A decoder using the opposite definition of side flips which reconstructed channel receives the plus sign. Some implementations also use an orthonormal scale factor to preserve power across the transform. The balanced encode and decode pair used here preserves the original left and right at 100 percent.
Increasing the width can raise the absolute peak of an individual channel even though the average is unchanged. Measure program peaks after widening a recording and leave enough headroom for the next stage. A normalized sample exceeding one is meaningful in a floating-point model, but a fixed-point stage may clip it.
Test centered, side-heavy and clipping examples
Begin with left and right both at 0.4. Mid is 0.4 and side is zero, so the result remains 0.4 in both channels even at large width settings. Next try left 0.4 and right −0.4. Mid falls to zero, side is 0.4 and the same gain now acts on the complete pair. These extremes help check the encoding and identify what the width control changes.
At 150 percent with input 0.8 and 0.2, the output 0.95 and 0.05 keeps the mean at 0.5. Increase width to 200 percent and compare the result of 1.1 and −0.1. Clipping the first value to one would change the mean to 0.45, which explains why mono preservation depends on staying linear through the next stage.
When using a real mid-side processor, examine signal polarity and peak reports before and after it. Some plug-ins attenuate both channels to leave room for the widened signal, so their mono sum can differ even without clipping. Use a fixed law and process coherent pairs separately from a complex song when checking a setting for the first time.
Assumptions and limits
The tool computes a scalar gain on one sample pair. It does not analyze a recording, estimate perceived width, or apply selective changes by frequency.
Answers before you play
Common questions
Should I enter left and right meter values in dB?
Enter signed linear samples in the range −1 to +1. Decibel level readings usually describe magnitude or an aggregate and do not include waveform sign. Mid-side encoding needs the signs because summing can reinforce or cancel.
Does this change the mono sum?
Averaging the reconstructed pair cancels the scaled side and leaves mid unchanged within the mathematical model. Additional clipping, nonlinear processing or mismatched gains later in the chain can change that outcome.
How is digital mid-side encoding related to a microphone technique?
Both use a sum and difference to reconstruct stereo. A mid-side microphone setup captures a forward-facing mid pattern and a side-oriented bidirectional pattern. The samples in this tool begin as an already paired left and right signal.
Why does the tool show a clipping indication at some widths?
Scaling side can make one reconstructed magnitude exceed one. The displayed warning refers to normalized full scale. Decide how to handle it in the context of your processor, output format and downstream headroom.