Audio Bitrate Calculator
Calculate audio bitrate, file size, duration, and quality metrics entirely in the browser. Supports PCM/WAV, FLAC, ALAC, MP3, AAC, OGG/Vorbis, and Opus. Compute bitrate from sample rate × bit depth × channels (PCM), estimate FLAC/ALAC compression (50–60% of PCM), map lossy quality presets (low/medium/high/voice/music) to typical bitrates, compute file size from bitrate × duration, calculate streaming bandwidth requirement, reverse-calculate required bitrate from target file size, and score quality 0–100. Includes 7 sample rates, 5 bit depths, 4 channel layouts, 7 formats, 5 quality presets, side-by-side format comparison, text/CSV exports, history (localStorage), shareable URL, summary stats. 100% client-side.
About Audio Bitrate Calculator
Calculate audio bitrate, file size, duration, and quality metrics entirely in the browser. Supports PCM/WAV, FLAC, ALAC, MP3, AAC, OGG/Vorbis, and Opus. Compute bitrate from sample rate × bit depth × channels (PCM), estimate FLAC/ALAC compression (50–60% of PCM), map lossy quality presets (low/medium/high/voice/music) to typical bitrates, compute file size from bitrate × duration, calculate streaming bandwidth requirement, reverse-calculate required bitrate from target file size, and score quality 0–100. Includes 7 sample rates, 5 bit depths, 4 channel layouts, 7 formats, 5 quality presets, side-by-side format comparison, text/CSV exports, history (localStorage), shareable URL, summary stats. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
How does the audio bitrate calculator work?
Pick your audio format (PCM/WAV, FLAC, ALAC, MP3, AAC, OGG/Vorbis, or Opus), enter the duration, and (for uncompressed PCM) pick the sample rate, bit depth, and channel count. We compute the bitrate, file size, streaming bandwidth requirement, and a quality score. For lossy formats (MP3/AAC/OGG/Opus) you select a quality preset instead — bitrate is independent of sample rate for those.
How is PCM bitrate computed?
For uncompressed PCM (WAV/AIFF): bitrate (bits per second) = sampleRate × bitDepth × channels. For CD quality (44100 Hz, 16-bit, stereo) that's 44100 × 16 × 2 = 1,411,200 bps = 1411.2 kbps. File size = bitrate × duration / 8.
How are FLAC and ALAC sizes estimated?
FLAC and ALAC are lossless codecs that typically compress to 50–60% of the equivalent PCM size. We use a 55% average ratio by default — you can adjust the compression ratio slider to match your source material (voice compresses better than complex music).
What extra features does this tool have compared to others?
(1) 7 sample rate presets (8 kHz – 192 kHz). (2) 5 bit depth presets (8, 16, 24, 32, 32-float). (3) 4 channel presets (mono, stereo, 5.1, 7.1). (4) 7 format presets (PCM, FLAC, ALAC, MP3, AAC, OGG, Opus). (5) 5 quality presets for lossy (low/medium/high/voice/music). (6) PCM bitrate formula. (7) FLAC/ALAC compression estimator. (8) Lossy quality → bitrate mapping table. (9) File size calculator (bitrate × duration / 8). (10) Streaming bandwidth calculator. (11) Reverse calculator (target size → required bitrate). (12) Quality score 0–100. (13) Render as text report. (14) Render as CSV. (15) History (localStorage, last 20). (16) Shareable URL. (17) Summary stats. (18) Side-by-side format comparison.
Is my data sent anywhere?
No. All calculations happen locally in your browser. History is stored in localStorage on this device only.
Related tools
Audio Converter
Convert audio files between formats entirely in the browser. Decode with Web Audio API, re-encode to WAV (PCM 16-bit), WebM/OGG (via MediaRecorder), or MP3 (via MediaRecorder with WAV fallback). Multi-format output, 4 bitrate presets, 6 sample-rate presets, mono/stereo channel selection, pure-JS 44-byte RIFF WAV header builder, Float32 to 16-bit PCM converter, file-size estimator, quality score calculator (0-100), lossless-vs-lossy compatibility checker, smart filename generator, conversion history (localStorage), shareable URL, drag-and-drop, and summary stats. 100% client-side.
Audio Equalizer
Apply a 10-band graphic EQ to audio entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, adjust the gain (-12 dB to +12 dB) on each ISO-standard band (31, 62, 125, 250, 500, 1k, 2k, 4k, 8k, 16k Hz), apply via a chain of peaking BiquadFilterNodes in an OfflineAudioContext for batch processing, and re-encode as a 16-bit PCM WAV (pure-JS encoder). 10+ preset library (flat, bass-boost, treble-boost, vocal-boost, loudness, rock, pop, jazz, classical, podcast), 3-band & 5-band simplified modes, 7 gain presets per band, default Q factor 1.41, gain validator, filter-chain config builder, file-size estimator, text + CSV report, history (localStorage), shareable URL, summary stats. 100% client-side.
Audio Fade Generator
Apply professional fade in / fade out to audio files entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, choose a fade curve (linear, logarithmic, exponential, or S-curve), set fade in / fade out durations (6 presets from 100 ms to 5 s), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Fade gain array generator, per-sample fade applier, fade duration validator, sample-range calculator, ASCII curve visualizer, audio preview before/after, history (localStorage), shareable URL, and summary stats. 100% client-side.