Obtaining cheap Electronic Transparent Materials (ETM) and Hole Transparent Materials (HTM) is an important challenge for researchers in perovskite solar cells. we used the SCAPS software in order to determine the properties of CH3NH3SnI3-based solar cells with different ETM and HTM layers, such as (IGZO, SnO2, TiO2, ZnO) and (Spiro-OMeTAD, NiO, Cu2O, and CuO), respectively. Our results predict that among these ETMs, the SnO2 is the most promising to result in high photovoltaic (PV) efficiency in combination with Spiro-OMeTAD based HTM. In addition the perovskite absorber's thicknesses are optimized to achieve maximum photovoltaic efficiency. In order to increase efficiency, layer thickness in cell structures can be optimized by fixing the thickness of the first two layers while altering the thickness of the third. The perovskite solar cell's planar structure consists of ETM (SnO2)/perovskite absorber (CH3NH3SnI3) / HTM (Spiro-OMeTAD)/ and Gold (Au) as a back contact. Also, it improved the solar cell performance by optimizing the absorber thickness, which was 1 µm. With these considerations, the power conversion efficiency of 33.2698% is obtained. Also, we explore the effect of the defect at the perovskite/SnO2 interface on solar cell performance.