Present days renewable energy sources based grids are developing which needs inverters to convert power from DC to AC. 2-level inverters were used for this purpose to overcome the drawbacks of 2-level inverters multilevel inverters are developed. Because of the combination of numerous devices in a series structure, multilevel inverters provide outstanding solutions to high voltage, high power applications. With the use of suitable simulations and mathematical analysis, this paper compares the performance of 19 and 21-level cascaded H-Bridges with cross H-Bridge MLI. Total Harmonic Distortion levels, switching device count, and inverter output voltage and current are all compared. The primary issues brought up in this study are limitations of a number of switching devices that can support high voltage in the inverter. The benefit of this research is that it identifies the right inverter that can be utilised for real-time applications by taking the variables into account. The count of switching devices, output voltage, current, and harmonic distortion, among other factors. The Matlab/Simulink Platform is used to validate the analysis.