This document analyzes and compares the total harmonic distortion (THD) of a three-phase voltage source inverter controlled by two modulation techniques: sinusoidal pulse width modulation (SPWM) and third harmonic pulse width modulation (THPWM). The simulation results show that THPWM has better performance than SPWM, with lower current and voltage THD values. Specifically, THPWM provides current THD below 2% and voltage THD below 55% across all tested carrier frequencies, while SPWM has higher THD, with minimum values of 2.06% for current and 65.98% for voltage. Therefore, THPWM is determined to produce output voltage and current of better quality compared to SPWM.