When it comes to digital audio, there are two main concepts that you need to understand: sample rate and bitrate. These two concepts are related, but they are not the same thing. In this article, we will explain the difference between sample rate and bitrate, and we will also show you how to calculate both of them.
What is digital audio?
Digital audio is a representation of sound that can be stored, transmitted, and processed by computers. A digital audio signal is composed of two parts: the amplitude and the wavelength. The amplitude is the strength of the signal, and the wavelength is the time between two identical points in the signal.

Understanding Sample Rate and Bit Rate
The sample rate is the number of samples per second that are taken from a digital audio signal. The bitrate is the number of bits that are used to represent each sample.
Bit Rate vs Sample Rate
The main difference between bitrate and sample rate is that the bitrate is a measure of the amount of information that is being transferred, while the sample rate is a measure of the quality of the audio.
The bitrate is measured in bits per second (bps), and the sample rate is measured in samples per second (Hz).
When it comes to digital audio, higher bitrates and sample rates mean better quality. However, there is a trade-off between quality and file size. Higher bitrates and sample rates result in larger files.

How to Calculate Bitrate and Sample Rate
To calculate the bitrate of a digital audio signal, you need to know the following two things:
- the number of bits that are used to represent each sample, and
- the number of samples per second.
To calculate the sample rate of a digital audio signal, you need to know the following two things:
- the number of samples per second, and
- the number of bits that are used to represent each sample.
You can use the following formulas to calculate bitrate and sample rate:
- Bitrate = (Number of bits per sample) x (Number of samples per second)
- Sample Rate = (Number of samples per second) / (Number of bits per sample)
For example, if you have a digital audio signal that is using 24-bit audio and has a sample rate of 48kHz, the bitrate would be 24 x 48,000 = 1,152,000bps. To calculate the sample rate, you would use the formula above, which would give you a result of 48,000 / 24 = 2,000Hz.
In conclusion, the main difference between bitrate and sample rate is that the bitrate is a measure of the amount of information that is being transferred, while the sample rate is a measure of the quality of the audio. Higher bitrates and sample rates mean better quality but also result in larger files.

Understanding Audio Quality: Bit Rate, Sample Rate
Audio Quality
The accuracy and enjoyability of the audio which a user can listen from an electronic device is dependent on many factors including bit rate, sample rate, file format as well as encoding method. The ability to get important bits right also plays into this equation so it's crucial that these details are considered when creating high-quality recordings for any given application or goal in mind!
Bandwidth
Bandwidth is the speed at which information can be transferred from one point to another. In the context of digital audio, it refers to how much space is allocated per second for recording or playback. The term "bit rate" is commonly used interchangeably with bandwidth but they aren't quite the same thing - bit rate specifically refers to the number of bits that are processed per unit of time whereas bandwidth can also encompass other factors such as file format and encoding method.
Bit Rate calculation
The bit rate of a digital audio signal is calculated by multiplying the number of bits used to represent each sample by the number of samples taken per second. For example, if we have 24-bit audio with a sampling rate of 48kHz, the resulting bitrate would be 1,152,000bps (bits per second).
File size calculation
The file size of a digital audio recording is determined by its bit rate, length, and sampling rate. For example, a one-minute stereo recording at a bit depth of 16 bits and a sample rate of 44.1kHz will result in a file size of approximately 4MB (megabytes).
Playback Compatibility
It's important to note that not all playback devices are created equal - some may only be able to handle certain file formats, bit depths, or sample rates. For example, CDs (compact discs) can only contain audio with a 16-bit depth and 44.1kHz sampling rate whereas DVD-Audio discs support up to 24-bit/192kHz.
When it comes to digital audio, higher bit rates and sample rates generally result in better sound quality but also larger file sizes. Ultimately, the choice of which to use will come down to your specific application or goal. If you're just looking to create some basic recordings for personal use, lower bit rates and sample rates should suffice. On the other hand, if you're looking to create professional-grade audio recordings, it's recommended that you use higher bit rates and sample rates to get the best results.
Fidelity Representation
The fidelity of a digital audio recording is dependent on its bit depth and sampling rate. Bit depth refers to the number of bits used to represent each sample, and the higher the bit depth, the more accurately the waveform can be reproduced. For example, a 24-bit depth provides better fidelity than a 16-bit depth.
Dynamic Range
The dynamic range of an audio recording is the ratio between the loudest and quietest parts of the waveform. The higher the bit depth, the greater the dynamic range that can be captured. For example, a 24-bit depth has a dynamic range of 144dB while a 16-bit depth has a dynamic range of 96dB.

How the Nyquist theorem works
The Nyquist theorem states that a signal can be perfectly reconstructed from a digital recording if the sampling rate is at least twice the highest frequency component of the original signal. In other words, if you want to faithfully reproduce a 20kHz signal, you'll need to use a sample rate of at least 40kHz.
The human ear can typically hear frequencies up to 20kHz so, in theory, a sample rate of 40kHz should be more than adequate for most applications. However, some people can hear beyond 20kHz (known as "ultrasonic hearing") and, as such, higher sample rates may be necessary to capture these higher frequencies. Additionally, higher sample rates can help to reduce aliasing artifacts that can occur when signals with high frequencies are recorded.
Aliasing artifacts
Aliasing artifacts are a type of distortion that can occur when signals with high frequencies are recorded. These artifacts occur because the sampling rate is not high enough to accurately capture the high-frequency components of the signal. As a result, these components are "aliased" or folded down into the lower frequencies where they can be heard as distorted noise.
The aliasing artifacts can be minimized by using a higher sample rate but, ultimately, they can only be completely eliminated if the highest frequency component of the signal is below half the sampling rate (known as the Nyquist frequency). For example, if we have a signal with a highest frequency component of 10kHz, we would need to use a sample rate of at least 20kHz to avoid aliasing artifacts.

How Is Sound Digitally Recorded?
Digital audio is recorded by using an analog-to-digital converter (ADC) to convert the analog signal into a digital representation. The ADC converts the analog signal into a digital signal by sampling the signal at regular intervals and quantizing the samples.
The sample rate is the number of times per second that the ADC samples the signal, and the bit depth is the number of bits used to represent each sample. For example, a 16-bit depth with a 44.1kHz sample rate will result in a file size of approximately 4MB (megabytes).
What is Pulse Code Modulation?
Pulse code modulation (PCM) is the most common form of digital audio. PCM encodes the samples as a series of pulses that represent the amplitude of the waveform at each interval. The samples are then quantized and coded into a binary format so that they can be easily read by computers.
PCM is typically used for storing and transmitting digital audio because it provides good fidelity and dynamic range. Additionally, PCM is fairly easy to implement and does not require special hardware.

Does High Bitrate Guarantee Superior Listening Experience?
The bitrate of an audio file is the number of bits that are used to represent the data. The higher the bitrate, the more information that is captured and, as such, the better the quality of the recording. However, it is important to note that the bitrate does not necessarily guarantee a superior listening experience.
For example, a 24-bit/192kHz file has a higher bitrate than a 16-bit/44.1kHz file but, if the recording was made using lower-quality equipment, the 24-bit file will not necessarily sound better than the 16-bit file. Similarly, if the original recording was made in mono, increasing the bitrate will not make it sound like a stereo recording.
Can you hear the difference between audio sample rates?
The answer to this question is somewhat subjective. Some people claim to be able to hear the difference between high and low sample rates while others cannot.
There are a few scientific studies that have been conducted on the subject but, ultimately, it is up to the individual to decide if they can hear the difference. If you are interested in seeing if you can hear the difference, there are a few online tests that you can take.
What is Dithering?
Dithering is a technique that is used to reduce the amount of distortion that can occur when quantizing digital audio samples. When dithering is used, random noise is added to the signal before it is quantized. This noise introduces errors into the quantization process but, because it is random, it averages out over time and does not produce noticeable artifacts.
Dithering is typically only used when the bit depth of the recording is being reduced (for example, when converting a 24-bit file to a 16-bit file). When dithering is not used, the quantization artifacts can be very noticeable, particularly at low bit depths.

Conclusion
When it comes to digital audio, there are a few things that you need to know in order to ensure that you are getting the best possible quality. First, it is important to understand the difference between analog and digital audio. Analog audio is continuous while digital audio is discrete.
Second, you need to be aware of the bit depth and sample rate of the audio files that you are working with. The bit depth determines the dynamic range of the recording while the sample rate determines the frequency response.
Finally, you should know about dithering and how it can be used to improve the sound quality of digital audio recordings.
FAQ
Is a higher audio sample rate better?
The answer to this question is somewhat subjective. Some people claim to be able to hear the difference between high and low sample rates while others cannot. Ultimately, it is up to the individual to decide if they can hear the difference.
Is sample rate the same as bitrate?
No, sample rate and bitrate are not the same thing. The sample rate is the number of samples per second while the bitrate is the number of bits per second.
What bitrate and sample rate should I use?
The bitrate and sample rate that you use will depend on the purpose of the recording. If you are just making a recording for personal use, you can use a lower bitrate and sample rate. However, if you are making a professional recording, you will need to use a higher bitrate and sample rate.
What bitrate is 48KHz?
48KHz is a sample rate, not a bitrate. The bitrate is the number of bits per second.
How many kbps is 24bit 44.1 kHz?
The kbps (kilobits per second) is a unit of measure for the bitrate. The bitrate of 24bit 44.1kHz audio is 1,411 kbps.
What happens when sampling rate is too high?
If the sampling rate is too high, it can cause aliasing. Aliasing is a distortion that occurs when the samples are not taken at a high enough rate. This can result in a "stair-step" effect known as aliasing artifacts.

