# Total Harmonic Distortion (THD) from dBc

#### How to calculate THD from dBc

This article supplements to my article titled THD Measurement with an Oscilloscope and FFT, which appeared in Elektormagazine . Here I will explain how the formula to calculate THD-F from relative power values (in dBc) was derrived from the standard voltage-ratio formula. A more in-depth explanation of the entire subject can be found in my research paper titled Total Harmonic Distortion (THD) analysis utilizing the FFT capabilities of modern digital storage oscilloscopes .

The basic equation for calculating THD-F is as follows: V1 refers to the rms voltage amplitude of the fundamental frequency (also called 1st harmonic), Vn refers to the rms voltage amplitudes of the n-order harmonics of the fundamental frequency.

This formula can be written in its expanded. A poperty that will become useful later. The expanded form is as follows: The equation for relative power measurements in dBc is as follows: Where Pn is the power of the n-order harmonic in dBm, P1 is the power of the reference carrier, in this use case the power of the fundamental frequency.

The fact that Power is defined as rms Voltage squared and the system impedance will be equal for both Pn and P1, the Pn to P1 power ratio is equal to the ratio of the squared rms voltage amplitudes of the corresponding signals: Looking back at the second formula, it becomes obvious why this property is useful. This property can now be combined with the (expanded) THD-F formula, yielding the following, compact equation: 