For PCM audio, block alignment describes the complete group of channel samples that must be processed together at one sampling instant. It is measured in bytes. The sample rate counts those instants per second. Multiplying rate by block alignment gives the PCM byte rate, provided the stated format and storage width actually apply.
Calculate a stereo example
Take illustrative stereo PCM with sixteen-bit sample containers at 48,000 Hz. Two channels multiplied by two bytes per sample gives a block alignment of four bytes. Multiplying 48,000 by four gives 192,000 bytes per second. The calculation excludes container headers and other file metadata, so it is not automatically the complete file’s storage size.
Preserve atomic boundaries
Microsoft’s WAVEFORMATEX documentation requires processing a multiple of nBlockAlign and beginning at a block boundary. In the example, an eight-byte slice contains two complete sample frames; a six-byte slice ends partway through the next interchannel group. Splitting data at arbitrary byte positions can therefore misalign channels or sample values before any output-device processing occurs. Four complete sample frames need sixteen bytes under this example, regardless of the listening volume.
Keep compressed formats separate
The documentation gives format-specific rules for non-PCM representations. A compressed block can represent many decoded samples and has its own framing requirements. Dividing every WAVE data size by channels times bits per sample would silently assume PCM geometry. Identify the actual format tag and any extensible subformat before selecting the arithmetic.
Use the numbers in a focused report
A maintainer can record nChannels, wBitsPerSample, nSamplesPerSec, nBlockAlign and nAvgBytesPerSec together, then show the expected product for the declared PCM representation. A viewer can report an incorrect duration or garbled audio while support examines those values. Preserve the original before conversion. The useful result is a checkable byte-to-sample mapping, distinguishing an inconsistent header, a misaligned read and a legitimate compressed format without claiming that a correct equation establishes complete audio playback or physical speaker compatibility.

