Skip to main content

Gravitational Force Calculator

Calculate gravitational force between two masses

Category: Physics

Gravitational Force Calculator Inputs

Enter values to calculate

Enter the Mass 1 (kg) value used by the Gravitational Force Calculator.

Enter the Mass 2 (kg) value used by the Gravitational Force Calculator.

Enter the Distance (m) value used by the Gravitational Force Calculator.

Enable JavaScript for interactive calculation and step-by-step results.

Gravitational Force Calculator Formula

Equation

F = G(m_1m_2)/(r^2)

Excel Formula

=F=G(m_1m_2)/(POWER(r,2)

Variables

  • Mass 1 (kg) — Enter the Mass 1 (kg) value used by the Gravitational Force Calculator.
  • Mass 2 (kg) — Enter the Mass 2 (kg) value used by the Gravitational Force Calculator.
  • Distance (m) — Enter the Distance (m) value used by the Gravitational Force Calculator.

How the Gravitational Force Calculator Works

Calculate gravitational force between two masses The Gravitational Force Calculator is designed for Physics applications where you need repeatable, transparent calculations rather than one-off mental math. The relationship is expressed as F = G\\frac{m_1m_2}{r^2}. Use it to verify hand work, compare design alternatives, explore sensitivity to each input, and document assumptions for reports or study notes. Consistent units and realistic input ranges are essential: small data-entry errors often move results more than formula uncertainty. This overview frames what the tool computes, when it applies, and how to read outputs alongside the detailed sections below.

The core relationship is F = G\frac{m_1m_2}{r^2}. Typical inputs include Mass 1, Mass 2, Distance.

Enter your values in the gravitational force calculator above, review the step-by-step solution, and compare against the worked examples below so you can see how each input changes the result. This free online physics tool is built for homework, design checks, and professional verification.

Gravitational Force Calculator Theory & Explanation

Newton's Law of Universal Gravitation

Published in 1687 in the Principia Mathematica, Newton's law states that the gravitational force between two objects is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers. The gravitational constant G is a fundamental constant of nature that determines the strength of gravity.

F = G(m_1 m_2)/(r^2) \quad \textwhere G = 6.674 × 10^-11 \text N·m^2\text/kg^2

The Inverse Square Law

The gravitational force follows an inverse square law - if you double the distance between two objects, the force becomes one-quarter (1/4) as strong. If you triple the distance, the force becomes one-ninth (1/9) as strong. This relationship means gravity weakens rapidly with distance but never completely disappears.

F \propto (1)/(r^2) \quad \Rightarrow \quad (F_2)/(F_1) = ((r_1)/(r_2))^2

Gravitational Field and Acceleration

The gravitational field strength (g) at a distance r from a mass M is the force per unit mass. Near Earth's surface, this is approximately 9.81 m/s². The field strength decreases with altitude according to the inverse square law. Any object in this field experiences an acceleration equal to the field strength.

g = (F)/(m) = (GM)/(r^2) \quad \textand \quad a = g

Gravitational Potential Energy

The gravitational potential energy between two masses is the work required to bring them from infinity to their current separation. Unlike near-surface potential energy (mgh), the universal formula accounts for the varying strength of gravity with distance. The negative sign indicates that the force is attractive.

U = -(Gm_1m_2)/(r) \quad \text(negative because gravity is attractive)

Orbital Motion and Kepler's Laws

Gravitational force provides the centripetal force needed for orbital motion. When an object orbits at speed v and radius r, the gravitational force equals the required centripetal force. This relationship determines orbital velocities and periods, explaining Kepler's laws of planetary motion.

(Gm_1m_2)/(r^2) = (m_2v^2)/(r) \quad \Rightarrow \quad v = √(\fracGm_1)r

Escape Velocity

The escape velocity is the minimum speed needed to escape a gravitational field completely. It depends only on the mass and radius of the body, not on the escaping object's mass. Earth's escape velocity is about 11.2 km/s, while the Sun's is 618 km/s.

v_\textescape = √(\frac2GM)r = √(2gr) \quad \text(at surface)

Problem Context and Scope

Calculate gravitational force between two masses In professional Physics work, the same calculation appears in specifications, lab notebooks, spreadsheets, and compliance checks. The Gravitational Force Calculator automates that relationship so you can focus on interpreting outcomes instead of re-deriving algebra. Scope includes typical textbook and field assumptions; exotic boundary conditions, non-standard materials, or regulatory overrides may require specialist review. Before trusting a number for safety-critical, medical, legal, or financial decisions, cross-check units, sign conventions, and whether your scenario matches the model intent described here.

Formula Derivation and Meaning

The calculator implements F = G(m_1m_2)/(r^2). Each symbol corresponds to a physical, economic, or statistical quantity with implied units. Rearranging the expression highlights which inputs dominate: proportional terms scale linearly, ratios amplify sensitivity when denominators are small, and powers or roots change how uncertainty propagates. When multiple forms of the same law exist, use the version consistent with your reference tables and unit system. Document which variant you applied when sharing results with colleagues or reviewers so comparisons remain fair and reproducible across tools and spreadsheets.

F = G(m_1m_2)/(r^2)

Input Parameters Explained

Key inputs include Mass 1 (kg), Mass 2 (kg), Distance (m). Enter values in the units shown beside each field; mixing systems without conversion is the most common source of large errors. Defaults and sliders reflect typical ranges but are not universal limits—extrapolating far beyond calibrated data may still return numbers while losing physical meaning. For select lists, choose the option that best matches your scenario even if labels are approximate. If an input is optional, leaving it blank may trigger built-in assumptions; read tooltips or descriptions when available. Sensitivity analysis—changing one input at a time—reveals which parameters deserve higher measurement precision.

Step-by-Step Calculation Procedure

First, gather measured or assumed values and convert them to the required units. Second, enter data in the Gravitational Force Calculator form and confirm selections or toggles that alter the model branch. Third, submit the calculation and record the primary output together with any secondary metrics or charts. Fourth, sanity-check magnitude and sign: compare against order-of-magnitude estimates, limiting cases, or known benchmarks. Fifth, if results feed another equation, propagate uncertainty explicitly rather than treating intermediate values as exact. This workflow mirrors good laboratory and engineering practice and reduces the risk of publishing a correct formula with incorrect inputs.

Practical Applications

Typical uses include homework verification, quick feasibility checks, client estimates, and teaching demonstrations. Teams often run best, nominal, and conservative cases to bracket outcomes. In design iterations, automate repeated evaluations while varying one parameter across a sweep. In education, pair calculator output with hand-derived steps to build intuition. In operations, snapshot inputs and outputs for audit trails when regulations require traceability. Pair numerical results with charts when available to communicate trends to non-specialist stakeholders who may not read equations comfortably.

Common Mistakes and Troubleshooting

Watch for unit slips (meters versus feet, percent versus decimal), sign errors (compression versus tension, income versus expense), off-by-one period choices (monthly versus annual rates), and using stale constants. If results look surprising, re-check input order, whether angles are in degrees or radians, and whether the tool expects absolute or gauge values. Compare with a second method or tabulated example when possible. Large discontinuities often indicate crossing a domain threshold coded in the implementation—review piecewise rules. When exporting to spreadsheets, lock cell references so later edits do not silently break linked formulas.

Accuracy, Limitations, and Validation

Displayed precision may exceed real-world accuracy. Report only the significant figures justified by your input quality. The model may assume ideal conditions—uniform properties, steady state, linear response, perfect markets, or representative samples—that real systems violate. Validate against measured data when stakes are high. Document temperature, pressure, humidity, sample size, or market regime if they influence constants. For regulated industries, cite the code edition or standard you followed. Treat online tools as aids, not replacements for professional judgment where codes mandate licensed review.

Related Concepts and Extensions

Adjacent topics often include dimensional analysis, uncertainty propagation, inverse problems (solving for an input given a target output), and optimization under constraints. Exploring related calculators on the same topic helps build a coherent workflow—for example, converting units before using this tool, or feeding its output into a downstream capacity check. Advanced users may implement custom scripts that batch-evaluate the same relationship across parameter grids. Students benefit from plotting dependent variables versus one input while holding others fixed, reinforcing calculus and physical intuition beyond a single numeric answer.

Gravitational Force Calculator Worked Examples

Worked Example

Inputs

  • mass1: 1000
  • mass2: 500
  • distance: 10

Result: Gravitational Force: 3.34 × 10⁻⁷ N

Explanation

Two masses of 1000 kg and 500 kg separated by 10 meters experience a gravitational force of F = (6.674×10⁻¹¹) × (1000 × 500) / (10²) = 3.337 × 10⁻⁷ N. This is an extremely small force - about 0.034 milligrams of weight - which is why we don't notice gravitational attraction between everyday objects. If the distance were doubled to 20 m, the force would decrease to ¼ of this value (8.34 × 10⁻⁸ N) due to the inverse square law. The gravitational potential energy of this system is U = -3.337 × 10⁻⁶ J (negative because work must be done to separate them).

Second Scenario

Inputs

  • mass1: 750
  • mass2: 500
  • distance: 10

Result: Gravitational Force: 3.34 × 10⁻⁷ N

Explanation

This scenario uses different inputs (mass1 = 750, mass2 = 500, distance = 10) to show how changing one variable affects the gravitational force result. Run the calculator above with these values to get the exact updated output with step-by-step work.

Common Gravitational Force Calculator Use Cases

  • Physics problem sets and labs
  • Engineering design checks
  • Unit and formula verification
  • Gravitational Force homework and study
  • Gravitational Force design and analysis

Gravitational Force Calculator FAQs

Why don't we feel gravitational attraction to nearby objects?

While gravity acts between all masses, the gravitational constant G is extremely small (6.674×10⁻¹¹), making the force between everyday objects incredibly weak. Two 100 kg people standing 1 meter apart experience only about 6.7×10⁻⁷ N of attraction - roughly the weight of a small bacterium! We only notice gravity from astronomical bodies like Earth because their masses are enormous (Earth: 5.97×10²⁴ kg).

How does gravity change with altitude?

Gravity follows the inverse square law, so it decreases with altitude. At Earth's surface (radius 6,371 km), g = 9.81 m/s². At the ISS altitude (400 km), g = 8.69 m/s² (only 11% weaker). At geostationary orbit (35,786 km), g = 0.22 m/s². Even at the Moon's distance (384,400 km), Earth's gravity is still 0.003 m/s², keeping the Moon in orbit. Gravity never truly reaches zero, it just becomes extremely weak.

What would happen if the gravitational constant G were different?

If G were larger, gravity would be stronger - planets would orbit closer and faster, stars would burn fuel quicker and die younger, and we would weigh more. If G were smaller, the universe would be much more spread out, stars might not form at all, and planetary systems would be less stable. The value of G is perfectly "tuned" for our universe to support complex structures like galaxies, stars, and life.

How did Newton discover the law of gravity?

Newton realized that the same force pulling apples to the ground also keeps the Moon in orbit around Earth. By analyzing Kepler's laws of planetary motion and combining them with his own laws of motion, he derived the inverse square law. He showed that the force is proportional to both masses and inversely proportional to the square of distance. This unified terrestrial and celestial mechanics into one universal theory.

Does gravity travel at a finite speed?

Yes! According to Einstein's General Relativity, gravitational effects propagate at the speed of light (299,792,458 m/s). If the Sun suddenly disappeared, Earth would continue orbiting for about 8 minutes (the light-travel time from Sun to Earth) before flying off in a straight line. This was confirmed in 2017 when gravitational waves from merging black holes were detected, traveling at exactly the speed of light.

What is the gravitational force between Earth and the Moon?

Earth (5.97×10²⁴ kg) and the Moon (7.35×10²² kg) are separated by an average distance of 384,400 km. The gravitational force between them is approximately 1.98×10²⁰ N - that's 198 billion billion Newtons! This enormous force keeps the Moon in orbit, causes ocean tides on Earth, and is gradually slowing Earth's rotation while slowly pushing the Moon away at 3.8 cm per year.

Why is the gravitational constant G so difficult to measure accurately?

Gravity is the weakest of the four fundamental forces, making it extremely difficult to measure precisely in laboratory settings. The tiny forces between laboratory masses are overwhelmed by electrical, magnetic, and thermal effects. Despite being discovered over 300 years ago, G is only known to 5 significant figures (compared to 10+ for other fundamental constants). The Cavendish experiment (1798) first measured G using a torsion balance to detect the incredibly small attraction between lead spheres.