This paper describes a technique to measure the harmonic voltage and current. Both analog filters and microprocessor has been used to separate fundamental and harmonic component of voltage and current. A unique procedure has been developed for the calibration and zero adjustment of the algorithmic equations for the measurement of harmonics. This paper explains a simple procedure to do the adjustment and calibration through software with an experimental setup.