Home › Audio & Video › ABX Audio Test

ABX Audio Test

Can you really hear the difference between a FLAC and a 320 kbps MP3, or between two masters? Load both versions and take a proper blind ABX test: the loudness is matched, both files stay in sync when you switch, and the result comes with a statistical p-value so you know whether you heard it or guessed.

Last updated:

A

No file yet

B

No file yet

0:00.00:00

Load two files (or the demo pair) to start.

Ready for a blind test

Listen to A and B as long as you like. When you start, X is secretly A or B in each trial; switch between A, B and X at the same position and decide which one X is.

    Advertisement
    Advertisement

    How to use the ABX Audio Test

    1. Load the two versions as A and B, for example the FLAC and the MP3 made from it. A demo pair is loaded so you can try it right away.
    2. Check the setup: loudness matching and alignment are automatic. Optionally set a loop around a passage with cymbals, applause or reverb tails.
    3. Listen to A and B openly until you think you know the difference.
    4. Press Start ABX test, then in every trial switch between A, B and X and answer X is A or X is B.
    5. Read the result: your score, the p-value and what it means. Below p = 0.05 you very likely hear a real difference.

    Scores needed for a significant result

    With a fair coin, each answer has a 50% chance of being right. These are the minimum numbers of correct answers whose probability under pure guessing is below the usual thresholds (exact one-sided binomial test):

    TrialsCorrect for p < 0.05Correct for p < 0.01Example p-value
    87 (p = 0.035)8 (p = 0.004)6 of 8: p = 0.145
    109 (p = 0.011)10 (p = 0.001)8 of 10: p = 0.055
    1210 (p = 0.019)11 (p = 0.003)9 of 12: p = 0.073
    1612 (p = 0.038)14 (p = 0.002)11 of 16: p = 0.105
    2015 (p = 0.021)16 (p = 0.006)14 of 20: p = 0.058
    2518 (p = 0.022)19 (p = 0.007)17 of 25: p = 0.054

    How to run a fair comparison

    • Use the same source. Compare a lossless file with an MP3 or AAC encoded from that exact file, not two different downloads or masters (unless the masters are what you are testing).
    • Pick revealing material. Lossy artefacts show up most in cymbals, harpsichord, applause, castanets, sharp transients and quiet reverb tails. Loop a few seconds of such a passage.
    • Switch quickly. Auditory memory for fine detail fades within seconds, so short loops and fast A/X/B switching beat listening to whole songs.
    • Keep the volume comfortable and fixed. Use good headphones in a quiet room, and don't change the volume during the test.
    • Take breaks. Fatigue makes everything sound the same after 15 to 20 minutes.
    • Be honest with the numbers. Decide the number of trials in advance and keep every run, not just the best one.

    What the results usually show

    Well-made modern encodes at high bitrates (for example LAME MP3 at 256 to 320 kbps, or AAC at 256 kbps) are very hard for most people to distinguish from the lossless original in controlled ABX tests, while lower bitrates such as 128 kbps MP3 are often detected on critical material. Your own result depends on your hearing, your equipment and the music, which is exactly why a personal ABX test is worth doing. To check whether a file is truly lossless in the first place, use the Lossless Audio Checker.

    Frequently asked questions

    What is an ABX test?

    ABX is a double-blind listening test. You hear two known samples, A and B, and an unknown sample X that is randomly either A or B. You decide which one X is, many times in a row. If you cannot really hear a difference, you will be right about half the time, just like flipping a coin; a score well above half shows that you can.

    How is the p-value calculated?

    The p-value is the probability of getting at least your number of correct answers by pure guessing, from the binomial distribution with a 50% chance per trial: p = sum of C(n, i) / 2^n for i from your score up to n. For example, 12 of 16 correct gives p = 0.038, and 14 of 16 gives p = 0.002.

    How many trials should I do?

    At least 10, and 16 is a good standard. With 16 trials you need 12 correct for p < 0.05. Fewer trials make it impossible to reach significance even with a good ear (with 4 trials, even 4 of 4 gives only p = 0.0625), and many more trials cause listening fatigue.

    Why does loudness matching matter?

    Even a difference of a few tenths of a decibel makes one version sound fuller or clearer, and listeners then pick the louder one rather than hearing the real difference. The test measures the RMS level of both files and turns the louder one down to match, which is standard practice for fair comparisons.

    Why do the files need to be aligned?

    MP3 and AAC encoders add a short delay of silence at the start (about 1,105 samples, or 25 ms, for many MP3 encoders). If A and B are not aligned, switching makes the music jump, which reveals which is which. The tool finds the offset by cross-correlation and compensates for it; you can fine-tune it in milliseconds.

    Can I stop early when I'm doing well?

    You can restart at any time, but the p-value is only valid for a number of trials fixed in advance. Stopping when you happen to be ahead, or repeating the test until you get a good score, inflates the chance of a false positive. Decide the number of trials first and report every run.

    Are my files uploaded?

    No. Both files are decoded and played by your browser's Web Audio API on your own device. Nothing is sent to a server.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Lossless Audio CheckerCheck if a FLAC or WAV is truly lossless or an upscaled MP3, with a spectrogram and verdict.Hearing TestCheck your hearing by ear and frequency, plot an audiogram and find your upper frequency limit.Audio NormalizerNormalize audio to a peak level or a LUFS loudness target, in batch, and save as WAV or MP3.Audio Spectrogram GeneratorTurn any audio file into a spectrogram image: FFT size, color maps, log or linear scale, PNG export.Screen RecorderRecord your screen with mic and system audio.Audio to TextTranscribe MP3, WAV and M4A recordings to text in your browser with Whisper. Export TXT, SRT, DOCX.Audio ConverterConvert MP3, WAV, M4A, OGG and FLAC to MP3 or WAV in batch, right in your browser.Audio CutterTrim MP3 and audio files, add fades and make ringtones.Audio JoinerMerge MP3 and other audio files into one track with crossfade.WAV to MP3Convert WAV files to MP3 at 128, 192 or 320 kbps, in batches.Voice RecorderRecord and trim audio in your browser.MP3 to WAVConvert MP3 files to WAV in batches.Audio Speed ChangerSpeed up or slow down audio, with or without pitch change.Audio Pitch ChangerShift the pitch of a song or recording up or down without changing tempo.Audio Volume Booster & NormalizerMake audio louder, normalize peaks or loudness, with a limiter against clipping.Clear Audio RecorderRecord clean audio with noise suppression and gain control.Sound Level MeterEstimate noise level in decibels using your microphone.Audio ReverserReverse any audio file and play it backwards, then download the result as WAV.Text to Morse AudioTurn text into Morse code sound at any WPM with Farnsworth timing, then play it or save a WAV.Audio Bitrate CalculatorWork out audio file size from bitrate and length, WAV size, or the bitrate for a target size.Audio Spectrum AnalyzerLive FFT spectrum analyzer for your microphone or an audio file, with dominant frequency and note.Subwoofer Bass TestTest your subwoofer and bass response with 10–200 Hz tones, presets and a low-frequency sweep.M4A to MP3Convert M4A, AAC and iPhone voice memos to MP3 in batch, privately in your browser.Voice ChangerRecord or upload your voice and make it chipmunk, deep, robot, alien, radio or echo. Save as WAV.Ringtone MakerCut the best 15–40 seconds of any song, add fades and save it as an MP3 ringtone.OGG to MP3Convert OGG Vorbis and Opus audio to MP3 in batch, keeping tags. Free, no upload.FLAC to MP3Convert FLAC to MP3 at up to 320 kbps, keeping tags and album art. Batch, no upload.AAC to MP3Convert AAC and M4A audio to MP3 in batch, at 128 to 320 kbps. Free, no upload.OPUS to MP3Convert OPUS audio and voice messages to MP3 in batch, at 64 to 320 kbps. No upload.Audio Noise ReducerRemove background hiss, hum and room noise from a recording using a noise profile, then save WAV.Audio Fade In and OutAdd a smooth fade in and fade out to any song or recording, then save it as MP3 or WAV.Audio Equalizer10-band EQ for audio files: boost bass, clarify vocals or tame treble, then save as MP3 or WAV.Audio MixerMix up to 4 audio tracks with volume, pan, start offsets and fades, then save the mix as MP3 or WAV.Waveform Image GeneratorTurn any song or recording into a waveform image: bars, mirror or line, as PNG or SVG.8D Audio ConverterMake any song 8D: sound circles around your head with reverb. Preview live, save MP3 or WAV.MIDI PlayerPlay MIDI files in your browser with a piano roll, tempo control, track mute and WAV export.Audio LooperLoop any part of a song seamlessly with a crossfade, repeat it N times or to a length, export.Audio Sample Rate ConverterResample audio to any rate from 8 to 96 kHz and change bit depth. WAV or MP3 output.Slowed and Reverb GeneratorMake slowed + reverb versions of any song: speed, reverb, room size and bass, export MP3/WAV.Stereo to Mono ConverterMix stereo audio to mono, extract the left or right channel, or swap channels. WAV or MP3.Tab Audio RecorderRecord audio from a browser tab or your system, mix in the mic, save WebM, WAV or MP3.WMA to MP3Convert WMA files to MP3 at 128-320 kbps or VBR, keeping tags. Batch convert, no upload.Audio to MIDI ConverterTurn a piano, guitar or voice recording into MIDI notes with AI, preview the piano roll and save a .mid file.Auto-Tune VoicePitch-correct singing to a key and scale, from natural to robotic T-Pain style, with a pitch graph.LUFS MeterMeasure integrated LUFS, true peak and loudness range of a song or video against Spotify and YouTube targets.MIDI to MP3Render MIDI files to MP3 with General MIDI SoundFont instruments, tempo, transpose and reverb.Online Audio EditorEdit audio in your browser: cut, copy, paste, fade, normalize, effects, markers, undo. Export MP3/WAV.Online Audio MasteringMaster songs automatically to -14 or -9 LUFS with EQ, multiband compression and a true-peak limiter.Podcast Audio EnhancerOne-click voice cleanup: noise reduction, de-ess, EQ, compression and -16 LUFS loudness.Subwoofer Box CalculatorSealed or ported sub box volume, port length for a tuning frequency and a panel cut list.Baby Monitor (Sound Alert)Turn a spare phone or laptop into a sound-activated baby monitor with alerts and a wake-up log.Dog Training ClickerOnline dog clicker: tap the big button for a crisp click, adjust tone and volume, time treats and sessions.Speaker Impedance CalculatorTotal ohms for 2-8 speakers in series, parallel or series-parallel, with amp check and diagram.8-Bit Sound Effect GeneratorMake retro game sounds: coin, jump, laser, explosion, power-up. Tweak, mutate and export WAV.Add Reverb to AudioAdd room, hall, plate or cathedral reverb to any audio file, preview live, export WAV or MP3.Audio Effects StudioAdd chorus, flanger, phaser, tremolo, distortion and bitcrusher effects to audio. Export WAV/MP3.Audio Translator to EnglishTranslate speech in audio or video files from 90+ languages into English text, with SRT export.Add Background Music to VoiceMix a voice recording with background music: auto-ducking, intro/outro, fades, loudness, MP3.Speaker Crossover CalculatorPassive 2-way and 3-way crossover capacitor and inductor values, 1st to 4th order.Karaoke PlayerSing along to any song: vocal reduction, key change, synced LRC lyrics, mic and recording.Lofi ConverterMake any song lofi: slow it down, add warmth, vinyl crackle, tape wobble, reverb and rain.Loop StationLive looper pedal in your browser: record and overdub 4 synced mic loops to a BPM grid.Online MIDI EditorPiano-roll MIDI editor: open or create .mid files, draw notes, set instruments and tempo, play and save.Morse Code Audio DecoderDecode Morse code from your mic or an audio file with auto tone and WPM detection.Multitrack Audio RecorderRecord overdubs on up to 8 tracks with a metronome, then mix down to WAV or MP3.Online Audio PlayerPlay your MP3, FLAC, WAV, OGG and M4A files with a playlist, EQ, gapless, speed and sleep timer.Online OscilloscopeReal-time audio oscilloscope for mic, line-in or files: time/div, volts/div, trigger, XY mode.Online ThereminPlay a theremin with your mouse, finger or webcam: X sets pitch, Y sets volume, with vibrato and echo.
    See all 99 Audio Converters & Editors →