Coulomb’s law, the electrostatic force of attraction or repulsion between two charged bodies is directly proportional to the product of their charges and inversely proportional to the square of the distance between them. It acts along the line joining the two charges considered to be point charges.