The influence of changing the concentrations of ZnO and TiO2 on the (90-x-y)B2O3–5PbO–5BaO-xZnO-yTiO2, x = y = 10, 15, 20 and 25 mol% glasses have been investigated. Their density rises from 3.469 g/cm³ to 4.207 g/cm³. The elastic modulus of the glass samples increased from 50.970 to 73.195 GPa for Young modulus, 45.540–64.107 GPa for bulk modulus, 20.640–29.732 GPa for the shear modulus and 73.060–103.750 GPa for the longitudinal modulus respectively. This is referring to the effect of ZnO and TiO2 on the structure of the glasses. The UV–Vis absorption behavior exhibits a decrease in the energy band gap values from 3.312 to 3.146 eV. The increase in cutoff wavelength in UV spectra is useful for many applications, such as UV shielding, where the objective is to effectively obstruct UV rays while preserving optimal visibility. The relation between the thickness of the glass and the transmission factor (TF) has been studied to evaluate their shielding behavior. The TF decreases with the increase in the thickness from 0.5 to 1 cm. Also, TF decreases with the addition of ZnO within the structure of the investigated samples. Therefore, it can be suggested that increasing the concentration of ZnO in glass samples is another good way to reduce TF values.