Sample Rate to Frequency Calculator: Convert kHz to Hz
- Period
- ms
- Result
- Sample rate
- 44.1 kHz
- You entered
This calculator converts a sample rate (in kHz) to its equivalent frequency in Hz, and also shows the period in milliseconds. Enter the sample rate in kilohertz, and you get the frequency in hertz and the time per sample. The conversion is a simple unit change: 1 kHz equals 1000 Hz.
Formula
The formula is straightforward:
Frequency (Hz) = Sample rate (kHz) × 1000
Where:
- Frequency (Hz) – the number of cycles (samples) per second, in hertz.
- Sample rate (kHz) – the number of samples taken per second, expressed in kilohertz.
The period (time per sample) is the reciprocal of the frequency:
Period (ms) = 1000 / Frequency (Hz)
Because 1 kHz = 1000 Hz, the conversion is exact – no rounding is needed for the frequency itself.
Worked Example
Using the default value of 44.1 kHz (the standard CD audio sample rate):
- Frequency = 44.1 × 1000 = 44,100 Hz
- Period = 1000 / 44,100 = 0.0227 ms (rounded to 4 decimal places)
So a 44.1 kHz sample rate corresponds to a frequency of 44,100 Hz and a period of about 0.0227 milliseconds.
Why Convert Sample Rate to Frequency?
In digital audio, the sample rate tells you how many times per second the analog signal is measured. The resulting frequency is the Nyquist frequency limit – the highest frequency that can be accurately represented. For example, with a 44.1 kHz sample rate, the Nyquist frequency is 22.05 kHz, which is just above the human hearing range (typically 20 kHz). This is why CD-quality audio uses 44.1 kHz.
When working with digital signal processing (DSP), synthesizers, or audio software, you often need to know the exact frequency in Hz to set filters, oscillators, or delay times. The conversion is also useful when comparing sample rates across different formats (e.g., 48 kHz for video, 96 kHz for high-resolution audio).
How to Use the Calculator
- Enter the sample rate in kHz (e.g., 44.1, 48, 96).
- The calculator instantly shows the frequency in Hz and the period in milliseconds.
- If you have a sample rate in Hz, simply divide by 1000 to get kHz before entering.
The result is exact – there is no approximation in the conversion itself. The period is rounded to 4 decimal places for readability, but you can increase or decrease the precision by adjusting the output settings if you were using a custom script.
Common Mistakes and Misconceptions
A frequent error is confusing sample rate with bit depth. Sample rate measures how often samples are taken (frequency), while bit depth measures how many bits per sample (amplitude resolution). They are independent – you can have 44.1 kHz/16-bit or 48 kHz/24-bit.
Another misconception is that a higher sample rate always means better quality. While it allows capturing higher frequencies, the audible benefit is limited because human hearing caps at about 20 kHz. Higher rates also increase file size and processing load.
Also, remember that the sample rate is not the same as the audio frequency content. The sample rate is a property of the recording system, not the signal itself. The frequency of the audio signal is what you hear – the sample rate must be at least twice the highest signal frequency to avoid aliasing.
Practical Applications
Knowing the frequency from a sample rate is useful in several scenarios:
- Setting filter cutoffs – for example, a low-pass filter at 20 kHz on a 44.1 kHz recording.
- Calculating delay times – a delay of one sample at 44.1 kHz is 1/44,100 seconds ≈ 0.0227 ms.
- Comparing Nyquist frequencies – 48 kHz gives 24 kHz, 96 kHz gives 48 kHz.
- Converting between time and samples – in DAWs, you often need to convert milliseconds to samples using the sample rate.
For example, a 10 ms delay at 44.1 kHz requires 441 samples (10 ms × 44.1 samples/ms).
Limitations of the Conversion
The conversion itself is exact and has no limitations. However, the practical interpretation depends on context:
- The Nyquist frequency is half the sample rate – this is the maximum representable frequency, but in practice filters are used to avoid aliasing, so the usable bandwidth is slightly lower.
- Sample rates are often given in kHz, but sometimes in Hz (e.g., 44100 Hz). Always check the unit.
- Some audio interfaces use “oversampling” internally, but the nominal sample rate is what you set.
This calculator only converts the sample rate to frequency and period – it does not account for any audio processing or quality factors.
Frequently Asked Questions
How do I convert Hz to kHz?
Divide the frequency in Hz by 1000. For example, 20,000 Hz ÷ 1000 = 20 kHz. This is the reverse of the calculator’s operation.
What is the Nyquist frequency?
The Nyquist frequency is half the sample rate. It represents the highest frequency that can be accurately captured without aliasing. For a 48 kHz sample rate, the Nyquist frequency is 24 kHz.
Does a higher sample rate mean better audio quality?
Not necessarily. A higher sample rate extends the frequency range, but since human hearing typically stops at 20 kHz, rates above 40 kHz are mostly useful for processing headroom or for archival. Higher rates also increase file size and CPU usage.
Why is 44.1 kHz so common?
44.1 kHz was chosen for CD audio because it allows a Nyquist frequency of 22.05 kHz, which is above the 20 kHz hearing limit, while keeping file sizes manageable. It also has a mathematical relationship to video frame rates that made it convenient for early digital audio.
Can I use this calculator for video frame rates?
No, this calculator is specifically for audio sample rates. Video frame rates are measured in frames per second (fps), not Hz, and follow different standards (e.g., 24, 25, 30, 60 fps).
What is the period of one sample at 48 kHz?
At 48 kHz, the period is 1/48,000 seconds = 0.000020833 seconds, or 0.020833 ms. You can get this by entering 48 in the calculator.
Related
Formula used
in sr | Sample rate | kHz | 44.1 | 0 out freq | Frequency | Hz | sr * 1000 | 0 out period | Period | ms | 1000 / (sr * 1000) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.