Both gravitational and electric forces follow the inverse-square law.
For gravitational force:
F = GMm/r²
For electric force:
F = kQq/r²
Both expressions for the force F contain 1/r², which means F falls off with the square of the distance.
9.5m questions
12.2m answers