Which audio question are you asking?
Four tools cover the arithmetic of digital audio. The Audio Bitrate Calculator multiplies sample rate, bits per sample and channels to give the uncompressed PCM bitrate. The Audio File Size Calculator adds a duration and returns the PCM data size in bytes. The Sample Rate Calculator works backward, dividing the samples per channel by the recording duration. The Audio Db Calculator returns 10 times the base-10 logarithm of a measured power over a reference power. A typical sequence runs from the signal to the file: choose a sample rate and bit depth, work out the resulting data rate, multiply by duration to get size, and use decibels to talk about level and headroom. Each page lists its own formula and units, so confirm those before relying on a number.
Sample rate and what it can capture
A sample rate is the number of amplitude measurements taken each second, in hertz. The Nyquist limit says a sampled signal can represent frequencies up to half the sample rate, so 44.1 kHz covers up to 22.05 kHz, a little above the usual limit of human hearing near 20 kHz. Compact disc audio uses 44.1 kHz, video production commonly uses 48 kHz, and high-resolution formats use 96 or 192 kHz. Higher rates raise data volume proportionally and mainly help with processing headroom, since most listeners cannot hear content above 20 kHz. Converting between rates means resampling, which is a filtering operation that should be done once and at the highest quality available.
Bit depth and bitrate for uncompressed audio
Uncompressed PCM bitrate is sample rate times bit depth times the number of channels. CD audio is 44,100 samples per second, 16 bits and 2 channels, giving 1,411,200 bits per second, or about 1,411 kbps. At 24 bits and 48 kHz stereo the rate is 2,304,000 bits per second. Bit depth sets the theoretical dynamic range at roughly 6.02 dB per bit, so 16 bits gives about 96 dB and 24 bits about 144 dB, although real converters fall short of that. Recording at 24 bits gives room for quiet levels during capture, and distribution formats often use 16 bits. The bitrate tool is the place to try these combinations.
File size from bitrate and duration
Size in bytes is bitrate divided by eight, multiplied by seconds. One minute of CD-quality stereo is 1,411,200 divided by 8 times 60, which is 10,584,000 bytes, about 10.1 MiB. A 128 kbps compressed stream uses 960,000 bytes per minute. These examples are illustrative cases, not stored results. The file size tool returns the uncompressed PCM payload and excludes container overhead and codec compression, so it saves you from doing that conversion by hand, but two traps remain. Container headers and metadata add a small amount, and storage tools may use decimal megabytes (one million bytes) or binary mebibytes (1,048,576 bytes), which differ by about five percent. State which one you mean when you compare sizes.
Lossless and lossy formats
WAV and AIFF store PCM samples directly. FLAC and Apple Lossless compress them without discarding information, usually reaching roughly half to two thirds of the original size depending on the material. MP3, AAC and Opus are lossy: they use perceptual models to discard information that is expected to be inaudible, which lets them reach 96 to 320 kbps with good results. The tools here compute uncompressed PCM figures only. Variable-bitrate files and lossless compression change with the content, so treat the output as an upper bound or a nominal figure and check the real file when exact storage matters.
Decibels as a ratio
A decibel expresses a ratio on a logarithmic scale. For power it is 10 times the base-10 logarithm of the ratio, and for amplitude it is 20 times the logarithm, because power goes with the square of amplitude. A change of 6 dB roughly doubles amplitude, 3 dB roughly doubles power, and 10 dB is a factor of ten in power. Digital audio levels are given in dBFS, decibels relative to full scale, where 0 dBFS is the highest representable value and everything else is negative. Sound pressure level and loudness units such as LUFS use other references, so do not mix dB values from different scales without checking what they are relative to.
Common mistakes with audio numbers
A frequent error is confusing bits with bytes, since bitrates use bits and file sizes use bytes. Another is forgetting the channel count, which doubles the data rate for stereo. Some people compare kilobits per second of a compressed stream with the sample rate of the source, which are unrelated quantities. Adding decibel values for combined sources without converting to power or amplitude gives the wrong total. A recording clipped at 0 dBFS cannot be repaired by lowering the level afterwards. Check which unit each field expects, run a known case such as one minute of CD audio, and see whether the output matches the figures above.
Practical use of the numbers
Planning storage for a podcast, field recording or music library is a direct use. Ten hours of 48 kHz, 24-bit mono voice is about 5.2 GB uncompressed, which is why many projects record in WAV or FLAC and deliver in a compressed format. Streaming and broadcast bitrates determine bandwidth, and the data transfer tools in the Computing hub can turn those rates into download times. For music, choose the sample rate that matches your delivery format to avoid unnecessary resampling. These estimates are planning figures, since real encoders, containers and metadata add small variations.
Loudness, headroom and mastering targets
Peak level and perceived loudness are different measurements. A track can peak at -1 dBFS while sounding quiet, because loudness depends on average energy over time. Streaming services normalize playback to integrated loudness targets measured in LUFS, and the targets differ between services, so a master pushed hard for one platform may simply be turned down on another. Leaving a few decibels of headroom below 0 dBFS during recording protects against clipping from unexpected peaks, and lossy encoders can create small overshoots above the original peak. The Audio Db Calculator uses the power form, so for amplitude ratios apply the 20 times logarithm by hand and assume equal impedance. It handles the ratio arithmetic, but it cannot tell you which reference a published number uses, so read the label that goes with each value. Microphone specifications add yet another scale, with sensitivity quoted in dBV or mV/Pa, and noise floors given as weighted decibel values that cannot be compared directly with dBFS figures from a converter. When in doubt, write the reference next to the number.
Frequently asked questions
- Does a higher sample rate always sound better?
- Not necessarily. Rates above about 44.1 or 48 kHz mostly add processing headroom, because most people cannot hear above roughly 20 kHz.
- How do I convert bitrate to file size?
- Divide the bitrate in bits per second by eight to get bytes per second, then multiply by the duration in seconds.
- What does 0 dBFS mean?
- It is the maximum level a digital system can represent. Levels below it are negative decibel values.
- Why is my real file larger than the calculated size?
- Headers, metadata, artwork and the difference between decimal and binary megabytes can all add to the figure.