Herein, perovskite CsPbBr3 material was computationally explored at pressure limits from 0.0 to 8.0 GPa using a 5-step (2GPa gap) calculation. CASTEP (Cambridge Serial Total Energy Package) program is used which is based on density functional theory (DFT), with an ultra-soft (US) pseudo-potential (SP) plane wave and the GGA-PBE exchange–correlation functional. When the pressure increases from 0.0 to 8.0 GPa, the bandgap decreases from 1.84 to 0.60 eV. In comparison to higher pressures, the bandgap decreases significantly until 8.0 GPa. The mechanical properties of the compound at various pressures are also investigated, which indicates that the compound is mechanically ductile and stable in nature. Various optical characteristics, such as the refractive index, loss function, absorption coefficient, and reflectivity, have been determined under pressure limits from 0.0 to 8.0 GPa. For solar cell applications, a compound with high absorption, refractive index, and optical conductivity is optimal.