How to calculate
Multiply the two masses and G, then divide by squared separation.
Worked example
Use First mass (kg) 1000 · Second mass (kg) 100 · Center-to-center separation (m) 2. The result is ≈ 0.000001668575 N.
Input and result notes
Use point masses or nonoverlapping spherically symmetric bodies, and measure distance between their centers.
OpenStax: universal gravitation