New exact solutions of Einstein's field equations for charged stellar models by assuming linear equation of state Pr = A(ρ−ρa), where Pr is the radial pressure and ρa is the surface density. By assuming e λ = 1 + r 2 R 2 for metric potential. The physical acceptability conditions of the model are investigated, and the model is compatible with several compact star candidates like 4U 1820-30, PSR J1903+327, EXO 1785-248, Vela X-1, PSR J1614-2230, Cen X-3. A noteworthy feature of the model is that it satisfies all the conditions needed for a physically acceptable model.