So far, remarkable achievements have been obtained by optimizing the device architecture and modeling of solar cells is a precious and very effective way to comprehend a better description of the physical mechanisms in solar cells. As a result, this study has inspected two-dimensional simulation of perovskite solar cells (PSCs) to achieve a precise model. The solution which has been employed is based on the finite element method (FEM). First, the periodically light trapping (LT) structure has been replaced with a planar structure. Due to that, the power conversion efficiency (PCE) of PSC was obtained at 14.85%. Then, the effect of adding an SiO2 layer to the LT structure as an anti-reflector layer was investigated. Moreover, increasing the PCE of these types of solar cells, a new structure including a layer of CH3NH3SnI3 as an absorber layer was added to the structure of PSCs in this study, which resulted in 25.63 mA/cm2 short circuit current (Jsc), 0.96 V open circuit voltage (Voc), and 20.48% PCE.