Home · Everyday · Tech, Text & Media · Total Harmonic Distortion Calculator
Total Harmonic Distortion Calculator
Calculates total harmonic distortion as a percentage and in decibels from the fundamental and harmonic amplitudes.
What this calculator does
Calculates total harmonic distortion as a percentage and in decibels from the fundamental and harmonic amplitudes. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
THD compares the root-sum-square of all harmonic amplitudes with the fundamental: THD = √(Σ harmonics²) ÷ fundamental, shown as a percentage and in decibels (20·log₁₀ of the same ratio). Enter each harmonic's amplitude in the same unit as the fundamental — volts, or amplitudes relative to the fundamental itself.
This is the THD-F definition (referenced to the fundamental); the THD-R variant references the total RMS including harmonics and reads slightly lower. The list should contain harmonics only — noise and hum are excluded from THD proper and belong to THD+N measurements.
Worked example
With the example inputs this page opens with (fundamental amplitude 1), the result is 3.742 % — total harmonic distortion. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Fundamental amplitude | Total harmonic distortion |
|---|---|
| 0.5 | 7.483 % |
| 0.8 | 4.677 % |
| 1 | 3.742 % |
| 1.25 | 2.993 % |
| 1.5 | 2.494 % |
| 2 | 1.871 % |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What THD counts as hi-fi?
Below 0.1% (−60 dB) is inaudible for most listeners in most material; good amplifiers specify 0.01% or less, while guitar amps may deliberately run several percent.
How does the Total Harmonic Distortion Calculator work?
Calculates total harmonic distortion as a percentage and in decibels from the fundamental and harmonic amplitudes. Fundamental amplitude · Harmonic amplitudes → THD. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Total Harmonic Distortion Calculator need?
Fundamental amplitude · Harmonic amplitudes → THD. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Total Harmonic Distortion Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.