ThisCalculator

Physics

dB Frequency Calculator: Convert dB to Hz

Updated · Standard formula, shown below

Decibel difference 20.00 dB
Power or amplitude 1
100
You entered
Reference value
1
You entered
Quantity type
Power
You entered

dB Frequency Calculator: Convert dB to Hz

A dB frequency calculator converts between decibel (dB) values and frequency (Hz) when you know the reference level, or it computes the decibel difference between two power or amplitude values at a given frequency. You enter the measured level, the reference level, and optionally a frequency, and the calculator returns the ratio in dB or the corresponding frequency ratio.

Formula

The decibel (dB) is a logarithmic unit that expresses the ratio of two values. The formula depends on whether you are comparing power quantities (like watts) or amplitude quantities (like volts, current, or sound pressure):

For power ratios: dB = 10 × log�₀(P� / P₂)

For amplitude ratios: dB = 20 × log�₀(A� / A₂)

Where:

  • Pâ‚� and Pâ‚‚ are power values (in watts, milliwatts, etc.)
  • Aâ‚� and Aâ‚‚ are amplitude values (in volts, pascals, etc.)
  • logâ‚�â‚€ is the base-10 logarithm

The factor is 10 for power and 20 for amplitude because power is proportional to the square of amplitude (e.g., P = V²/R). Squaring in the linear domain becomes multiplication by 2 in the logarithmic domain: 10 × log(A²) = 20 × log(A).

Worked Example

Using the default values from the calculator above: P� = 100, P₂ = 1, and you select “Power�.

  1. Compute the ratio: P� / P₂ = 100 / 1 = 100
  2. Take the base-10 logarithm: log�₀(100) = 2
  3. Multiply by 10 (power factor): 10 × 2 = 20

The result is 20 dB. If you had selected “Amplitude�, the same ratio would give 40 dB (20 × log�₀(100) = 20 × 2 = 40). This illustrates why it is critical to know whether your measurements are power or amplitude.

How dB Relates to Frequency

Decibels and frequency are independent concepts, but they are often used together in audio and RF engineering. Frequency (Hz) describes how often a periodic signal repeats per second. Decibels describe a ratio between two levels. When you see a spec like “±1 dB from 20 Hz to 20 kHz�, it means the device’s output level varies by no more than 1 dB across that frequency range. A dB frequency calculator can help you convert a linear frequency ratio into decibels: for example, one octave (a doubling of frequency) is approximately 6.02 dB for a first-order filter’s amplitude response.

To convert a frequency ratio to dB, you treat the frequencies as amplitude values and use the 20 log formula. For instance, a frequency ratio of 2:1 (one octave) gives 20 × log�₀(2) ≈ 6.02 dB. A ratio of 10:1 (one decade) gives 20 dB. These numbers appear constantly in filter design and audio equalization.

Common Mistakes and How to Avoid Them

  • Confusing power and amplitude: Using 20 log for power or 10 log for amplitude gives results that are off by a factor of 2. Always check the unit: watts, milliwatts, and dBm are power; volts, amps, and pascals are amplitude.
  • Forgetting the reference: dB is always a ratio. “40 dBâ€� alone is meaningless unless you know the reference (e.g., dBm = dB relative to 1 milliwatt, dBV = dB relative to 1 volt).
  • Using linear values in log formulas: If you have a value already in dB, you cannot plug it directly into the formula. For example, adding two signals in dB requires converting back to linear, summing, then converting again.
  • Rounding too early: If you round intermediate logarithms, the final dB value can be off by several tenths. Keep at least three decimal places until the end.

Practical Applications

dB calculations appear in many fields:

  • Audio engineering: Setting gain structure, measuring signal-to-noise ratio, and adjusting equalizers.
  • Telecommunications: Expressing signal loss in fiber optics or coax cables (often in dB per kilometer).
  • Acoustics: Sound pressure level (SPL) is measured in dB relative to 20 µPa, the threshold of hearing.
  • Electronics: Amplifier gain, filter roll-off (e.g., -3 dB point), and antenna gain.

In each case, the same mathematical relationship applies. A calculator like this saves time and reduces arithmetic errors, especially when dealing with ratios like 0.001 or 10,000.

Limits of the Formula

The logarithmic formula works for any positive real numbers. However, it fails if the denominator is zero or negative. In practice, power and amplitude values are always positive, so this is rarely an issue. Also, the formula assumes a linear system; it does not account for frequency-dependent effects unless you apply it separately at each frequency. For example, a speaker’s frequency response is measured at many discrete frequencies, and the dB value at each point is computed independently.

Another limitation: when comparing signals with different units (e.g., volts vs. watts), you cannot directly compute a dB ratio without first converting to a common unit. The calculator assumes both inputs are in the same unit.

Frequently Asked Questions

What is the difference between dB and dBA?

dB is a pure ratio. dBA is a frequency-weighted sound level that mimics the human ear’s sensitivity. It is used for environmental noise measurements. To convert from dB to dBA, you need a weighting curve that depends on frequency—this calculator does not do that because the correction values vary by standard (e.g., IEC 61672).

How do I convert dB to a linear ratio?

Use the inverse formulas: for power, ratio = 10^(dB/10); for amplitude, ratio = 10^(dB/20). For example, 3 dB power gain means the power ratio is 10^(0.3) ≈ 1.995, roughly double.

Why is 3 dB considered “half power�?

When power is halved, the ratio is 0.5. In dB: 10 × log�₀(0.5) ≈ -3.01 dB. So -3 dB (or +3 dB for doubling) corresponds to half or double power. For amplitude, -3 dB corresponds to a voltage ratio of 0.707 (since 20 × log�₀(0.707) ≈ -3.01).

Does dB change with frequency?

No, dB itself is frequency-independent. But a device’s gain or loss in dB can vary with frequency. For example, a low-pass filter has a gain of 0 dB at low frequencies and -3 dB at its cutoff frequency, decreasing further at higher frequencies.

Can I use this calculator for sound pressure level?

Yes, if you have two sound pressure values in pascals, select “Amplitude� because sound pressure is an amplitude quantity. The reference is often 20 µPa, but you can enter any reference value.

Related

Formula used
in p1 | Power or amplitude 1 | - | 100 | 0
in p2 | Reference value | - | 1 | 0
sel type | Quantity type | Power=10, Amplitude=20
out db | Decibel difference | dB | type * log10(p1 / p2) | 2

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.