However, the efficiency and Jsc are minimized at this thickness, with values of 31.32 mA/cm² and 25.74%, respectively. The short-circuit current density increases with thickness, while the opencircuit voltage decreases. Efficiency initially increases with thickness and then decreases beyond a certain point, following the observed variation in thickness. The fill factor initially decreases with increasing thickness but increases again after a specific threshold. The optimal thickness for the MASnI3-based cell is found to be 0.25 μm, yielding maximum efficiency. The output parameters for this optimized thickness are Voc of 0.97 V, Jsc of 34.81 mA/cm², FF of 80.91%, and efficiency of 27.95% These results highlight the importance of optimizing the absorber layer thickness to achieve the best trade-off between charge generation and recombination losses, ultimately leading to enhanced performance in PSCs.