Gravitational force calculator

Calculate Newtonian gravitational force F = Gm₁m₂/r² between two point masses or separated spherical bodies.

On your device · No account
Privacy details

Gravitational force calculator processes your input in this browser. Inputs and results are excluded from analytics. Recent tools save tool names, visit counts and last-visit times. Saved tools store only their names. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. An optional “Use in” action keeps a handoff in this tab. The next tool removes it on arrival and ignores it if more than a minute has passed.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

More inputs and assumptions

Answer

…

Calculate Newtonian gravitational force F = Gm₁m₂/r² between two point masses or separated spherical bodies.

More results
Precision and calculation record

Rounding changes displayed numbers, not the calculation. Text, fractions, matrices and CSV schedules keep their own formatting. Automatic keeps up to 12 significant digits, with money shown to cents where applicable.

Step-by-step calculation

Inputs are substituted below. Each line evaluates the next operation; intermediate values are displayed to 12 significant digits while the calculation uses full precision.

    Saved scenario

    Save the current answer, then change an input to compare. This clears when you leave.

    Formula and assumptions

    Uses the 2022 CODATA recommended G = 6.67430 × 10⁻¹¹ m³/(kg s²), with standard uncertainty 0.00015 × 10⁻¹¹. Distances are center-to-center. Non-spherical mass distributions and relativistic gravity require different models.

    Automatic precision shows numbers to 12 significant digits. Thousands separators such as 1,000 are accepted; use a dot for decimals.

    Scratch calculator

    Use +, −, ×, ÷, parentheses and %. A percentage is divided by 100. This does not change the main tool.

    Reset reloads the tool with its starting values and releases open files and device controls. Saved drafts stay on this device until you delete them.

    Links include your inputs and settings. Anyone with the link can see them, so leave out private text. Files and generated results are left out; random draws run again.

    Keyboard shortcuts

    Updated

    Using Gravitational force calculator

    Calculate Newtonian gravitational force F = Gm₁m₂/r² between two point masses or separated spherical bodies.

    Uses the 2022 CODATA recommended G = 6.67430 × 10⁻¹¹ m³/(kg s²), with standard uncertainty 0.00015 × 10⁻¹¹. Distances are center-to-center. Non-spherical mass distributions and relativistic gravity require different models.

    Next: Force calculator

    A worked example

    Example inputs: first mass (kg) = 1000, second mass (kg) = 1000, center-to-center distance (m) = 1. Attractive force (N) = 6.6743e-05.

    Before you use the result

    Uses the 2022 CODATA recommended G = 6.67430 × 10⁻¹¹ m³/(kg s²), with standard uncertainty 0.00015 × 10⁻¹¹. Distances are center-to-center. Non-spherical mass distributions and relativistic gravity require different models.

    Example results for first mass (kg)

    These examples use Second mass (kg): 1000; Center-to-center distance (m): 1. They are reference calculations, not recommended settings.

    First mass (kg)Attractive force (N)
    5000.0000333715
    10000.000066743
    20000.000133486
    Cite this page

    ToolOctopus. “Gravitational force calculator.” Updated 2026-09-26. https://tooloctopus.com/gravitational-force-calculator.

    Add an access date if your instructions require one.

    Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.

    Find a tool

    Search by task. Use ↓ and ↑ to choose, Enter to open.