Total Harmonic Distortion Calculator

Created by Filip Derma
Reviewed by Bogna Szyk
Last updated: Aug 05, 2021

Total harmonic distortion calculator helps you switch between distortion attenuation in decibel to distortion factor (THD) as percent value. Total harmonic distortion parameter is important because it directly influences the sound accuracy. In the article below, you will read what is total harmonic distortion and about the total harmonic distortion calculation.

What is total harmonic distortion?

Total harmonic distortion (THD) is a parameter measuring the harmonic distortion present in a signal. It is defined as the ratio of the sum of the powers of all harmonic components to the power of fundamental frequency. In audio systems, lower distortion means that the components (speakers, microphones, headphones, amplifiers) produce a more accurate reproduction of an audio recording.

THD factor compares input and output audio signals, with the difference in levels measured as a percentage. All you need to understand is that the percentage represents the harmonic distortion or deviation of the output signal - lower percentages are better. An output signal is a reproduction, not a perfect copy of the input, especially when multiple audio components are involved in the audio system.

Why total harmonic distortion is important

Accuracy of the sound is disturbed if the Total Harmonic Distortion has increased over a certain point. The root of these disturbances are unwanted frequencies which occur in the output signal, but they are not present on the input. Simplifying - harmonics distortion is added to the original signal. For example, THD of 0.1% means that 0.1 percent of an output signal is false, and contains unwanted distortion.

In reality, it is hard for a human ear to perceive THD, especially when it is only a small part of a percent. If you can't consistently hear half a percent difference, there's a low probability that you will notice a THD rating of 0.01 percent.

Every signal processing component adds some level of distortion. Small differences in THD from one brand of a component to another can be significant and may define audio signal quality.

Total harmonic distortion calculation

Nonlinear distortions are given as Total Harmonic Distortion (distortion factor k) in percent or as distortion attenuation (ak) in decibel (dB). THD itself is defined as the ratio of the sum of the power of all harmonic components to the power of the fundamental frequency.

The distortion factor is always smaller than 1 or less than 100%; consequently, distortion attenuation has to be a negative dB value.

distortion attenuation: ak = 20 * log (k/100) in dB (input k in percent).

distortion factor THD: k = 10^(ak/20) * 100 in % (input ak in dB with a minus sign).

Also, if you would like to know how sound propagates in the air, check our distance attenuation tool.

Filip Derma
Distortion attenuation
Distortion factor (THD)
Check out 148 similar other uncategorized calculators
16:10 aspect ratio16:9 aspect ratio3D printing cost… 145 more
People also viewed…

Chilled drink

With the chilled drink calculator you can quickly check how long you need to keep your drink in the fridge or another cold place to have it at its optimal temperature. You can follow how the temperature changes with time with our interactive graph.

Rainfall volume

Why does it rain? How much water falls onto my backyard when it rains? For all of that and more, check out this rainfall calculator.


The perfect snowman calculator uses math & science rules to help you design the snowman of your dreams!


Uptime calculator computes the downtime period, based on the uptime %.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background