Hand Calculations logo Hand Calculations All help pages ▾

THD to Decibels⚠ unverified

Electrical / Signals · Convert a total harmonic distortion ratio to decibels

Parameters

InputSymbolUnitDefaultDescription
thdTHD0.05THD ratio
OutputSymbolUnitDescription
thd_dbTHDdBdBTHD in decibels

The science & history

Understanding the Parameters

Derivation (Approaching a Proof)

From Total Harmonic Distortion, the linear THD is an RMS voltage (or current) ratio:

$$\mathrm{THD} = \frac{\sqrt{V_{rms}^2 - V_1^2}}{V_1} = \frac{V_{harm}}{V_1}.$$

The general decibel map for a ratio of like field quantities (voltage, current, pressure) is

$$(X_2/X_1)_{\mathrm{dB}} = 20\log_{10}(X_2/X_1),$$

because power ratios use $10\log_{10}(P_2/P_1)$ and $P \propto X^2$ at fixed impedance, so $10\log_{10}(X_2^2/X_1^2) = 20\log_{10}(X_2/X_1)$. Substituting $X_2/X_1 = \mathrm{THD}$ yields

$$\mathrm{THD_{dB}} = 20\log_{10}(\mathrm{THD}).$$

Contrast with SNR: SNR to Decibels uses $10\log_{10}$ because its input is already a power ratio $P_s/P_n$. Using 10 here for THD, or 20 for power-SNR, is a common unit error.

Inverse: $\mathrm{THD} = 10^{\mathrm{THD_{dB}}/20}$.

History

Expressing distortion in dB became standard in audio and instrumentation as THD+N and related specs matured mid-20th century. Power-quality standards more often quote THD in percent, but the dB form is convenient when comparing levels on a logarithmic scale with SNR and spur floors.

Related Concepts: Total Harmonic Distortion, SNR to Decibels, Signal-to-Noise Ratio, Rectifier Ripple Factor, Power Factor

Notes: Registry calculator thd-db (unverified). Requires $\mathrm{THD} > 0$. Input is the linear ratio, not percent. Factor 20 matches amplitude-ratio convention used with the Power-catalog THD definition.

← Back to the workspace  ·  All help pages  ·  Getting started