How far would a big commercial plane glide if the engine failed?

im deathly afraid of being on a plane and the engine failing. how far would it glide if you were at 30,000 feet? and could it make a emergancy landing if the engine did fail that far up?
p.s. thanks whoever answers this seriously,
5 answers 5