Gravitational Force Calculator (Newton’s Law of Gravitation)
Calculate the gravitational force between two masses, the gravitational acceleration, and the orbital and escape speeds around the first body.
This calculator applies an idealised textbook model with SI units. Real systems can differ.
How to use this calculator
Enter the two masses and the distance between their centres, choosing convenient units such as Earth masses and kilometres. The calculator applies Newton's law of universal gravitation and, treating the first mass as the central body, also gives the gravitational acceleration, circular orbital speed, orbital period and escape speed at that distance.
Formula
F = G m₁ m₂ ÷ r², with G = 6.67430 × 10⁻¹¹ N⋅m²/kg² (CODATA 2022). Acceleration g = G m₁ ÷ r². Circular orbital speed v = √(G m₁ ÷ r). Orbital period T = 2π √(r³ ÷ G m₁). Escape speed vₑ = √(2 G m₁ ÷ r).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewHiraMPhil Physics, Computational Physicist
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is Newton's law of gravitation?
Every two masses attract each other with a force proportional to the product of their masses and inversely proportional to the square of the distance between their centres.
What is G?
The gravitational constant, 6.67430 × 10⁻¹¹ N⋅m²/kg², one of the least precisely known fundamental constants.
Why is my weight slightly different from 9.81 × mass?
Standard gravity (9.80665 m/s²) includes the effect of Earth's rotation and an average radius; the simple formula ignores rotation and uses the radius you enter.
What is escape velocity?
The minimum speed needed to escape a body's gravity without further propulsion, ignoring air resistance: about 11.2 km/s from Earth's surface.
Why is escape speed √2 times orbital speed?
Escaping requires zero total energy, which needs twice the kinetic energy of a circular orbit at the same distance.
Does it work for objects that are not spheres?
Exactly for point masses and spherically symmetric bodies, measured centre to centre. For other shapes it is an approximation at large distances.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Ling, S. J., Moebs, W., & Sanny, J. (2016). Gravitational potential energy and total energy. In University physics volume 1 (Section 13.3). OpenStax. View source
- Mohr, P. J., Newell, D. B., Taylor, B. N., & Tiesinga, E. (2025). CODATA recommended values of the fundamental physical constants: 2022. Journal of Physical and Chemical Reference Data, 54, 033105. View source
- Ling, S. J., Moebs, W., & Sanny, J. (2016). University physics volume 1. OpenStax. View source
- Bureau International des Poids et Mesures. (2019). The International System of Units (SI) (9th ed.). View source