CalcWorldHub
Free online calculator · no signup

Total Harmonic Distortion (THD) Calculator

Calculate total harmonic distortion from RMS fundamental and higher-harmonic amplitudes.

4,000 tools
Total Harmonic Distortion (THD) Calculator — Fundamental RMS amplitude, Higher-harmonic RMS amplitudes and calculation method
Total Harmonic Distortion (THD) Calculator: inputs and calculation method.

How to use this calculator

Calculate total harmonic distortion from RMS fundamental and higher-harmonic amplitudes.

  1. Enter Fundamental RMS amplitude, Higher-harmonic RMS amplitudes. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Signal processing calculation

How this calculation works

THD-F compares the root-sum-square of higher harmonic RMS components with the RMS fundamental. It is a frequency-domain measure of harmonic content and excludes broadband noise and DC offset.

Inputs and units

fundamentalRms — Fundamental RMS amplitude
RMS magnitude of the fundamental component in the selected voltage or current unit.
harmonicRms — Higher-harmonic RMS amplitudes
List RMS magnitudes for harmonics 2 and above, separated by commas or spaces; use one common unit.

Formula

Displayed formula

THD-F (%) = 100 × sqrt(V2² + V3² + … + VN²) ÷ V1, where each V is an RMS amplitude and V1 is the fundamental.

Method

Enter the RMS amplitude of the fundamental and the RMS amplitudes of the included higher harmonics in the same voltage or current unit. The calculator root-sum-squares the harmonic amplitudes and divides by the fundamental.

Worked example

With a 1.00 Vrms fundamental and 0.03 Vrms second plus 0.04 Vrms third harmonic, combined harmonic RMS is 0.05 V and THD-F is 5.00%.

Assumptions and limits

This calculates THD-F from already measured harmonic RMS components; it does not analyze a waveform or select harmonic orders. Results depend on the measurement bandwidth, included harmonics, windowing, and analyzer method. THD-F excludes nonharmonic noise and DC; THD+N and THD-R are different measurements.

Frequently asked questions

What does THD-F mean?

It is the RMS sum of included higher harmonics divided by the RMS fundamental, expressed as a percentage.

Is THD the same as THD+N?

No. THD-F includes harmonic components; THD+N also includes noise and can use a different measurement method.

Should the inputs be peak or RMS amplitudes?

Use RMS magnitudes for both the fundamental and every harmonic.

How do I use the Total Harmonic Distortion (THD) Calculator?

Enter Fundamental RMS amplitude, Higher-harmonic RMS amplitudes. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Total Harmonic Distortion (THD)?

With a 1.00 Vrms fundamental and 0.03 Vrms second plus 0.04 Vrms third harmonic, combined harmonic RMS is 0.05 V and THD-F is 5.00%.