The variation of a voltage or current waveform from an ideal sinusoidal shape is measured as total harmonic distortion (THD).
Distortion Factor x Displacement Factor = True Power Factor