Skip to content
Reference

FLAC technical specifications: sample rate, bit depth and channels

FLAC format limits, integer PCM, sample rates, bit depths, channel counts, frame structure and implementation compatibility.

FLAC is lossless integer PCM compression. RFC 9639 defines format limits that are broader than the capabilities of many individual encoders and players.

Format limits

PropertyRFC 9639 format range
Sample rate1–1,048,575 Hz
Bits per sample4–32
Channels1–8
Block size16–65,535 samples, except final block
Audio representationInteger PCM

These are format limits, not guarantees of acceptance by all tools. The streamable subset imposes additional restrictions; a very high sample rate can require the STREAMINFO rate rather than a separately representable frame-header rate. Check the decoder and encoder version as well as the audio interface.

Frames and metadata

FLAC stores blocks in frames and can encode channel decorrelation, prediction and residuals without losing integer sample information. STREAMINFO carries stream properties; frame checksums detect certain errors and an optional nonzero MD5 value can verify decoded audio samples. Tags and pictures are metadata, not part of the reconstructed PCM.

Bitrate and compression ratio

Encoded bitrate varies with signal complexity and coding settings. The uncompressed PCM rate is sample rate × stored bits × channels; a 96 kHz 24-bit stereo signal has 4.608 Mb/s before compression. Compression level changes coding effort and potentially size, not the decoded samples of a valid lossless encode.

Calculate uncompressed PCM storage

Practical limits

A player may decode a file whose sample rate exceeds the connected DAC’s native rate, then resample for output. Distinguish decoding support from bit-perfect output. Floating-point samples are not the native FLAC sample representation; converting them to integer PCM may change values.

Specifications and sources

Windows playback

Media Player Codec Pack

MPC-FFmpeg (Plus x64)

MPC-FFmpeg provides an alternative playback route for the following formats: