A significant amount of interest in the field of solar energy has recently been generated by the remarkable optical, structural, and electronic attributes of inorganic perovskite-based substances. A thorough investigation was conducted on how tensile along with compressive strains influence the electronic and optical properties of halide perovskite Sr3AsBr3, utilizing FP-DFT. The PBE functional is used to determine the direct bandgap of 1.512 eV for unstrained Sr3AsBr3 at the Γ position. The bandgap redshifts (1.216 eV at -4 % strain) under compressive strain and slightly increases (1.728 eV at +4 % strain) under tensile tension, causing the absorption coefficient to blueshift. The optical properties, including the functions of dielectric, electron energy loss function, and absorption coefficient, all indicate a considerable capacity for absorption in the area of the visible spectrum, and the band characteristics of this component agree with these qualities. We used Sr3AsBr3 absorbers and CdS electron transport layers (ETL) with different thicknesses, defect densities, and doping concentrations to study solar power capabilities using the SCAPS-1D simulator. The most effective arrangement (at -4 % strain) had a fill factor (FF) of 86.76 %, a short-circuit current density (JSC) of 37.5593 mAcm−2, an open-circuit voltage (VOC) of 0.8712 V, and a power conversion efficiency (PCE) of 28.39 %. Our findings support additional research into Sr3AsBr3, a promising perovskite for optoelectronic uses.