GestureSynth.me

Music calculator

ADC LSB Size Calculator

Find the ideal ADC voltage per LSB from full-scale input span and bit depth. Compare code-bin widths in microvolts and millivolts for audio converters.

adc lsb size calculator

ADC LSB Size Calculator guide

A converter’s bit count tells you how many codes can represent its input. To find the voltage associated with one ideal code bin, you also need the complete input span. Enter the difference between the maximum and minimum analog input levels in volts, then select the number of effective code bits specified for the conversion format.

Play the instrument ↑
Default result
1000 µV per LSB

Calculation and units

For an ideal uniform N-bit ADC there are 2 to the power N code bins. Divide full-scale input span by that count for the bin width in volts. Multiplying by one thousand expresses the width in millivolts, while multiplying by one million expresses it in microvolts. Each additional bit halves the bin width at fixed span.

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.

Twelve-bit reference span

Full-scale input span (V) = 4.096 · ADC resolution (bits) = 12.

1000 µV per LSB. 4096 code bins across 4.096 V · ideal bin width 1 mV. Use the whole input span for bipolar ranges.

The chosen span makes the ideal code width exactly one millivolt. It is convenient for checking unit conversion because the same result reads one thousand microvolts.

Sixteen-bit conversion

Full-scale input span (V) = 4.096 · ADC resolution (bits) = 16.

62.5 µV per LSB. 65536 code bins across 4.096 V · ideal bin width 0.0625 mV. Use the whole input span for bipolar ranges.

Four extra bits create sixteen times as many bins. At the same analog span the ideal voltage represented by one bin shrinks by a factor of sixteen.

Bipolar four-volt span

Full-scale input span (V) = 4 · ADC resolution (bits) = 12.

976.5625 µV per LSB. 4096 code bins across 4 V · ideal bin width 0.9765625 mV. Use the whole input span for bipolar ranges.

An input ranging from minus two through plus two volts covers four volts. Entering only the positive endpoint would make the computed width half the intended value.

Small reference change

Full-scale input span (V) = 2.5 · ADC resolution (bits) = 12.

610.3515625 µV per LSB. 4096 code bins across 2.5 V · ideal bin width 0.610351563 mV. Use the whole input span for bipolar ranges.

At a resolution of twelve bits a 2.5 V span gives roughly 610 microvolts per bin. Reference scaling changes the volts per code without changing the number of possible code labels.

Twenty-four-bit audio word

Full-scale input span (V) = 4 · ADC resolution (bits) = 24.

0.238418579 µV per LSB. 16777216 code bins across 4 V · ideal bin width 0.000238419 mV. Use the whole input span for bipolar ranges.

The arithmetic produces a sub-microvolt ideal step. Check the analog noise floor and converter performance before using this result to estimate a microphone preamp’s measurable dynamic range.

One-bit boundary

Full-scale input span (V) = 2 · ADC resolution (bits) = 1.

1000000 µV per LSB. 2 code bins across 2 V · ideal bin width 1000 mV. Use the whole input span for bipolar ranges.

With just two bins the width is one volt for this span. The deliberately coarse example helps separate the count of possible codes from the distance between their integer labels.

Interpreting the result

On a converter accepting a bipolar signal from minus two to plus two volts, the full input span is four volts. Entering two would halve the calculated step. For differential inputs read how the data sheet defines differential full scale. A per-pin amplitude or a reference voltage may need conversion to the complete differential span.

Measurement and model limits

Count the actual conversion bits, independent of any padding in an audio file or digital bus slot. A converter may send a 24-bit sample in a 32-bit container. Unused padding bits in a transport format do not create finer analog levels. Check the signal format alongside the analog front-end gain if the voltage is referred to a different node.

Answers before you play

Common questions

Why divide by 4096 rather than 4095 for 12 bits?

An ideal 12-bit quantizer partitions its specified span into 4096 bins. The difference between the smallest and largest integer labels is 4095 steps. Interpolating between specified endpoint labels is a different calibration convention.

Can I treat one LSB as the smallest measurable signal?

It describes ideal code spacing. Input noise, reference stability, nonlinearity and averaging all affect measurements. A change smaller than a code step can influence statistics across samples, and a single observed code does not uniquely identify an analog voltage.

How do I use a ±1.024 V input range?

Enter 2.048 volts as the span. At twelve bits the ideal code-bin width is half a millivolt, because the converter partitions those 2.048 volts into 4096 bins.

Does a gain stage ahead of the ADC change the answer?

The converter input step is set by its span and bit depth. To refer that voltage step back to a source before an ideal linear gain stage, divide by the stage's voltage gain.