The gravitational attraction between electron and proton is

Let r be the average distance between electron and proton in hydrogen atom. The electrostatic force between the two charges

This shows that the electrostatic force is 2.27 × 1039 times stronger than gravitational force.