Gravitational Force Calculator

F = G × m₁ × m₂ ÷ r²
Mass must be greater than 0.
Mass must be greater than 0.
Distance must be greater than 0.
Custom G must be greater than 0.
Quick summary
Enter m₁, m₂, and r, then click Calculate.

Results

Force
N
Force
lbf
Acceleration on m₂
m/s²
Acceleration on m₁
m/s²
All calculations are performed in SI units first.

A gravitational force calculator applies Newton’s law of universal gravitation to two masses separated by a centre-to-centre distance. It can find force or rearrange the relationship for an unknown mass or distance. Convert inputs to a consistent unit system before using the gravitational constant.

Define the Two-Body Gravity Problem

  1. Identify which quantities the problem gives and which quantity you need.
  2. Enter the values exactly as measured or stated, including signs when direction matters.
  3. Select the unit beside every input. Never assume two fields use the same scale.
  4. Calculate, then review the result unit and any secondary outputs.
  5. Check the order of magnitude with estimation and round only at the end.

Enter both masses and the distance between their centers. The gravitational constant is approximately G = 6.67430 × 10⁻¹¹ m³·kg⁻¹·s⁻². A physically valid input is more important than extra decimal places. If a value was measured, preserve its realistic precision rather than adding zeros that suggest certainty the measurement did not have.

Gravitational Force Calculator Formula

The central relationship is F = Gm₁m₂/r². Newton’s universal law of gravitation gives the attractive force between two point masses. The force grows with both masses and falls with the square of center-to-center separation.

Doubling either mass doubles the force, while doubling separation reduces it to one quarter. This proportional reasoning is a useful check before trusting a numerical result. This relationship also supports a quick proportional check: consider what should happen if one input doubles while the others stay fixed. If the calculator output changes in the opposite way, recheck the selected units and the quantity entered.

Worked Example With Two Masses

For masses of 1,000 kg and 500 kg separated by 2 m, F ≈ 6.67430 × 10⁻¹¹ × 1,000 × 500 ÷ 2² = 8.34 × 10⁻⁶ N. The arithmetic can be reproduced by substituting the values into the displayed formula. Keeping units alongside every number helps reveal a conversion error before it reaches the final answer.

A useful second check is estimation. Round the inputs to convenient values, calculate mentally, and compare the scale with the precise output. The estimated and calculated results need not match exactly, but they should agree in sign, unit type, and order of magnitude.

Why the Force Acts on Both Objects

Each body experiences the same force magnitude in the opposite direction, but their accelerations differ because a = F/m. Very small everyday forces are normal. Treat the numerical answer and its unit as one result: a bare number is incomplete in physics.

Scientific notation is often clearer for very large or very small values. For example, 0.0000032 is easier to read as 3.2 × 10−6. The coefficient and exponent should be copied carefully when converting the result into a report or another calculator.

Kilograms, Metres and the Value of G

SI units provide the most reliable path for checking a calculation. Common prefixes scale by powers of ten: kilo is 103, centi is 10−2, milli is 10−3, micro is 10−6, and nano is 10−9. Area conversions require squaring the length factor, while volume conversions require cubing it.

Use full precision during intermediate calculations. Round the final value according to the input quality and the purpose of the estimate. A calculator can display many digits, but those digits are not automatically significant. When inputs come from a worksheet with exact defined values, follow the requested rounding rule; when they come from instruments, respect measurement uncertainty.

Point-Mass and Spherical-Body Assumptions

Bodies are treated as point masses or spherically symmetric masses measured center to center. Relativistic effects and strong-field conditions are outside the Newtonian model. A result can be mathematically correct for the entered model and still differ from reality when an omitted effect is important.

Before using the answer outside a classroom, ask whether temperature, friction, air resistance, deformation, instrument calibration, changing fields, or three-dimensional direction could materially affect the situation. Select a more detailed model when the consequence of error is high.

Centre-to-Centre Distance Errors

Do not use surface-to-surface gap for spheres, do not square the masses, and convert kilometers or centimeters to meters when using the SI value of G. Also check for a misplaced decimal, an incorrect SI prefix, and a value copied from the wrong stage of a multi-step problem.

  • Write the equation first: this makes the required inputs and expected dimensions visible.
  • Convert deliberately: record each conversion factor instead of moving a decimal by memory.
  • Keep direction conventions consistent: define positive direction before entering signed values.
  • Verify dimensions: the result must have the physical unit expected for the unknown.

Gravity From Laboratories to Orbits

Typical uses include astronomy exercises, satellite and planetary estimates, laboratory-scale comparisons, and illustrating inverse-square behavior. For an experiment, record the raw observations, units, instrument resolution, environmental conditions, and calculation method so another person can reproduce the result.

This calculator is best used as part of a reasoning process: draw the situation, list known values, choose the governing model, calculate, and interpret. That sequence makes it easier to detect an answer that is numerically polished but physically impossible.

Related Physics Calculators

Related tools can help with a multi-step problem, but carry forward units and appropriate precision. Avoid rounding a first result aggressively before using it as the input to a second calculation.

Authoritative References

Gravitational Force Calculator FAQs

What formula does this Gravitational Force Calculator use?

F = Gm₁m₂/r². The calculator applies the selected relationship after converting compatible inputs to a consistent unit system.

Which units should I enter?

Use any units offered by the input selectors. The safest manual check is to convert to SI first, calculate, and then convert the result to the display unit you need.

Why can my answer differ from a textbook or experiment?

Differences usually come from rounding, unit conversion, significant figures, a different constant, or assumptions in the ideal model. Real measurements also include uncertainty.

How many decimal places should I keep?

Keep extra digits during intermediate steps, then round the final result to match the precision of the least precise meaningful input. Do not imply more certainty than the data supports.

Can I use a negative value?

Use signed values only when direction or a change is part of the chosen convention. Mass, elapsed time, absolute distance, area, and similar magnitudes should ordinarily be nonnegative.

Is this calculator suitable for professional design?

It is useful for learning, estimates, and independent checks. Safety-critical engineering, electrical, medical, or legal decisions require appropriate standards, verified data, and a qualified professional.

Calculator results are educational estimates based on the values and model you select. Verify critical calculations independently and apply the standards appropriate to your field.

Inverse-square sensitivity

Doubling the separation reduces force to one quarter; tripling it reduces force to one ninth. Distance errors therefore have a strong effect, especially when surface-to-surface spacing is mistakenly entered for large spheres. For symmetric spherical bodies, use the distance between their centres.

Weight near a planet is a related approximation

Near Earth’s surface, weight is often written mg because the planet’s mass and radius make local gravitational acceleration nearly constant over small height changes. Universal gravitation remains the underlying two-body model. NIST lists the accepted physical constants and uncertainties.

Tested & Reviewed by:

Arefin Bappy

Owner, Admin & Developer of AjaxCalculators
Individually tested against the calculation method described on this page.
Last reviewed: September 8, 2026
About the Admin · Editorial Policy

Sponsored Offers

Explore more from

Potential Energy Calculator

Calculate near-Earth gravitational potential energy from mass, gravitational acceleration, and height relative to a chosen reference level.

Density Calculator

Calculate density, mass, or volume with unit conversion, worked examples, and clear guidance about temperature, mixtures, and measurement precision.

Wavelength → Energy Calculator

Use our Wavelength to Energy Calculator to find photon energy from wavelength in joules, eV, and kJ/mol using E = hc / λ with vacuum or custom wave speed.

Kinetic Energy Calculator

Calculate translational kinetic energy from mass and velocity, rearrange the formula, convert units, and explore the squared effect of speed.

Free Fall Calculator

Use our Free Fall Calculator to find time, distance, final velocity, and average speed from height or time with gravity presets and unit conversion.

Work Calculator

Calculate mechanical work using force, displacement, and the angle between them, with sign conventions, examples, and unit guidance.

Projectile Motion Calculator

Use our Projectile Motion Calculator to find time of flight, range, maximum height, time to peak, and velocity components from speed, angle, height, and gravity.

Velocity Calculator

Calculate average velocity, displacement, or elapsed time with unit conversion and clear guidance about direction and the difference between speed and velocity.

Force Calculator

Use our Force Calculator to find force from mass and acceleration with F = ma. Get instant results in newtons, kilonewtons, and pounds-force.