For the first time, density functional theory (DFT) calculations have been employed for the measurement of the structural, mechanical, optical, and electrical properties of a bismuth-layered structure ferroelectrics (BLSFs) family member possessing an orthorhombic structure with Cmc21 space group. Based on the exchange–correlation approximation, our calculations show that Pb2Bi4Ti5O18 possesses an indirect band gap, while the materials X2Bi4Ti5O18 (X = Ba, Ca, and Sr) demonstrate direct band gap, where the estimated density functional fundamental band gap values lie between 1.84 to 2.33 eV, which are ideal for photovoltaic applications. The optical performance of these materials has been investigated by tuning the band gaps. The materials demonstrated outstanding optical characteristics, such as high absorption coefficients and low reflection. They exhibited impressive absorption coefficient (α = 105 cm−1) throughout a broad energy range, especially in the visible spectrum (105 cm−1 region). The findings show that the compounds demonstrate lower reflectivity in the visible and UV regions, making them suitable for single-junction photovoltaic cells and optoelectronic applications. The Voigt–Reuss–Hill averaging technique has been employed to derive elastic parameters like bulk modulus (B), Young’s modulus, shear modulus (G), the Pugh ratio (B/G) and the Frantesvich ratio (G/B) at 0.1 GPa. The mechanical stability of the compounds was analyzed using the Born stability criteria. Pugh’s ratio and Frantesvich’s ratio show that all the compounds are ductile, making them ideal for flexible optical applications.