Let us imagine, Q1 and Q2 are the electrical charges of two objects.
d is the distance between the center of the objects.

The charged objects are placed in a medium of permittivity εoεr
Then we can write the force ‘F’ as:
The equation above is the formula for Coulomb’s Law. This formula allows us to calculate the electrostatic force that two charges exert on each other.