How to Determine the True Bitrate of any Audio File

We recently covered why ripping 320kbps MP3 from Youtube is a bad idea, but today we’re going to talk about how you can check the true bitrate of any audio file you download – legally, we hope. This is actually quite useful, as many legal music downloading sites may claim to offer CD-quality file downloads, until you actually inspect the bitrate.

For this task, we can use Spek Spectrum Analyzer, which will tell you the frequency cutoff of any audio file you feed it. Audio bitrate is inherently tied to frequency, but we’ll explain that more later.

Requirements:

  • Spek
  • Audio files you want to check
  1. First install Spek on your PC and launch it.
  2. Now find an audio file (MP3, WAV, FLAC, AAC, whatever) you want to find the true bitrate for.
  3. Drag and drop it into Spek – which will now display the frequency spectrum of the file.

The general rule of thumb goes like this:

  • Cut-off at 11kHz = Bitrate of 64 kbps.
  • Cut-off at 16 kHz = Bitrate of 128 kbps.
  • Cut-off at 19 kHz = Bitrate of 192 kbps.
  • Cut-off at 20 kHz = Bitrate of 320 kbps.
  • Cut-off at 22 kHz = Bitrate of 500 kbps.
  • No cutoff = Bitrate higher than 1000 kbps, usually you only see this with true lossless formats (WAV, FLAC).

So now let’s do some examples. We will rip audio from a Youtube video that claims to be “lossless” audio, because the video was uploaded in MKV + FLAC – however, Youtube compresses its audio.

So lets see the difference between ripping audio from Youtube in 128, 192, 320 AAC, 320 MP3, and FLAC:

As you can see, the frequency cut-off is the exact same for all of the files, though some additional transcoding noise was added to the “upsampled” rips, which will pretty much be static white noise in your headphones.

But we already knew Youtube compresses its audio no matter what format you upload in, so let’s try a legal audio site. For this, we will use a (legally purchased) track from iTunes, which reports itself as a 256kbps M4A, with AAC encoding, which will actually give us a variable bitrate:

So even though this is reported as a 256kbps M4A, it has shelving peaks into the 20 – 22 kHz range, which indicate a high-quality export, most likely from a studio original. The reason the frequency spectrum is not constant across the board is because of the variable bitrate, so we need to pay attention to where the shelf peaks are. So here, we get what we paid for, iTunes is not tricking us.

In any case, you should always use this method of spectrum analysis when you want to find out if you’re really getting what you pay for from any website that claims to sell “high quality” or “lossless” music.

Happy listening!

ABOUT THE AUTHOR

Bill Wilson


Bill is a certified Microsoft Professional providing assistance to over 500 remotely connected employees and managing Windows 2008 to 2016 servers.

Comments

20
    CJ
    Chacko James Apr 16, 2019

    I don’t know why, but I detect peaks of up to 22000 Hz with YouTube audio files recorded with audacity. The bitrate is 256 and the format is opus on the file recorded.

    LS
    Lyser Salvador Oct 4, 2019

    First of all, YouTube audio files are usually in Opus 48000 Hz @ 160 kbps Variable Bitrate format. Your media info detection tool probably cannot detect accurate bitrates when it comes to Opus files and it’s not unusual or anything ’cause Opus, firsthand, is a very different Codec. And since Opus, is a more recent codec than AAC, Opus is a more efficient audio codec and so, this VBR bitrate level of Opus at 160 kbps has similar peak frequency projection to that of a 256 kbps CBR or ABR (Average Bitrate) MP3, and not AAC. Why? ‘Cause AAC files at 256 kbps VBR are usually max quality lossily compressed audios, especially those from iTunes. iTunes M4A files are actually and accurately at 262 kbps VBR but most media analysis tools detect these files at 256 kbps as their nominal bitrates. You could say that these iTunes M4A files at 256 kbps seriously have near-lossless audio quality.

    PS. This post is somewhat outdated though. If you may notice, the OP didn’t seem to explain why the peak frequency projections of the upper images were too different to that of the last one. The ones with almost like a straight line drawn on top of their ‘peak frequencies’ are in Constant bitrate mode (CBR) and/or Average bitrate mode (ABR); and it doesn’t really matter whether it is in MP3, AAC, or FLAC (only the bitrate mode matters in this case). While the last one is encoded using Variable bitrate mode (VBR) that’s why you could see that their peak frequencies are too ‘variable’.

    Reply
      CJ
      Chacko James Mar 9, 2021

      Thank you so much for the effort on your reply, I am a year too late so I apologise for that.

    CR
    CreativeWorkout May 1, 2020

    How can I check the audio quality of an online file online? (without downloading software and without downloading the audio file) YouTube especially. I know the general info about YouTube audio, but how can I check a specific file, online?

      SW
      Shane Warren Author May 5, 2020

      I’m afraid we don’t have a guide for online checking as of now but if we get into the research and write one, we will let you know.

      TC
      Tony Celentano Jun 22, 2020

      Hi CreativeWorkout, dunno if you’ll read this comment but I just saw yours, and I know there are methods of analyzing streaming audio, I’ll look into it and prepare a guide asap for publishing on Appuals. I’m thinking a python analyzer or a plug-in you can use with something like VLC that can stream video/audio from a web address.

    MI
    Mickey Jun 9, 2020

    I have downloaded a 1080p mkv video file (size 720MB, duration 1hr25mins) from youtube and converted it into 3 audio formats using Wondershare Uniconverter >>>
    1) .WAV format, size 939MB, bit-rate 1536 kbps (in VLC player)
    2) .mp3 format (using the Same as Source setting), size 195MB, bit-rate 320kbps
    3) .mp3 format (using the 320 kbps setting) size 195, bit-rate 320kbpsThen uploaded them in Spek, and these are the following spectrum pics (attaching the files below) >>>
    https://uploads.disquscdn.c
    https://uploads.disquscdn.c
    https://uploads.disquscdn.c
    So, which .mp3 file should I keep as the final selection?

      SW
      Shane Warren Author Jun 9, 2020

      .Wav seems to be the better one if you can afford to use that much space.

        MI
        Mickey Jun 9, 2020

        I know .wav is best among them, but I can’t really afford that much storage just to create an audio library
        Could you please suggest the better one among those 2 .mp3 files?
        or is there any effective method to get 320kbps audio from a youtube video file?
        that would be really very helpful

          SW
          Shane Warren Author Jun 9, 2020

          Same as source setting is more preferable then because it includes minimum conversion.

          MI
          Mickey Jun 9, 2020

          Thank you for the reply, but there is one issue,
          the .mp3 with Same as source setting is of 48000 Hz and the .mp3 file with 320kbps setting is of 44100 Hz.
          Is there any significant difference between 48000 Hz & 44100 Hz?I read some of the Audacity’s manuals regarding that and I found that 48000 Hz is mainly used in DVDs while 44100 Hz is used in CDs and also most commonly used audio format now-a-days.Its really confusing me

          SW
          Shane Warren Author Jun 10, 2020

          48000Hz is the better choice but it does come with a very minimal size increase. I don’t know if you will see a huge difference in the quality but you just might, so it is best to just go with 4800hz.

          MI
          Mickey Jun 11, 2020

          Thank you!

      AA
      amari ami Nov 24, 2020

      AAC-LC, Variable Bit Rate (VBR), Q8 [250…340Kbit/s], Stereo, 48000Hz
      or
      Opus, Variable Bit Rate (VBR), 192Kbit/s, Stereo, 48000Hzthen added Loudness Normalization -23.00 dB LUFS [EBU R128]

      Reply
      RN
      RANA Nazar Jan 7, 2022

      FOLK HE IS SAYING THAT THE SOFTWARE (SPEK) WHICH EVERYBODY IS SAYING TO USE TO CHECK THE LOSSLESS QUALITY OF AN AUDIO, IS DISPLAYING THE SAME FREQUENCY CUT-OFF IN ALL THE 3 FILES, THEN WHATS THE USE OF THIS SPEK SOFTWARE LOL.
      WE ALL KNOW THAT HIGHER Hz AND BIT RATE AUDIO ARE BEST

    SK
    Skifootz Nov 29, 2020

    Can you tell me what the difference is between the blue and the green parts of the frequency spectrum?

      MZ
      Muhammad Zubyan Author Dec 1, 2020

      Blue frequencies are faster compared to Green frequencies Blue frequencies have a higher frequency, shorter wavelength, and more energy.

    KY
    Kim Yonghee Sep 6, 2022

    Hi, I have a torrent of a FLAC movie that is at 88.3% and doesn’t move anymore.
    The thing is, the first 4 minutes of the movies are composed of a wonderful song, lossless in this case, that I want to extract it to create a FLAC music file, even thoug the file is not completed. And the first 10 minutes of the movie are totally downloaded, so technically seems like should be possible.

    Any suggestion about how can I do it? I hope the question was clear

      MZ
      Muhammad Zubyan Author Sep 7, 2022

      Can you send me the torrent link? I can try.

    MY
    MyCrazyGarage Nov 20, 2022

    Hi, i have a question.
    I have 2 different audio streams from youtube.
    1. m4a 160mb 160k 44khz Spek shows up to 16khz
    2. opus 120mb 121k 48khz Spek shows up to 20khz (but has a well defined line at 16khz)So is smaller File 2 really better or is it just “noise”?