Skip to content
Aback Tools Logo

Gravitational Force Calculator

Calculate the gravitational force between any two masses using Newton's law of universal gravitation (F = G × m₁ × m₂ / r²). Enter masses in kg, solar masses, or Earth masses and distances in metres, AU, or light-years — the gravitational force calculator instantly computes the result with a full step-by-step solution. No signup required.

Calculate Gravitational Force

Enter the two masses and the distance between them. Select your preferred units for each input and the gravitational force calculator instantly applies Newton's law of gravitation — all locally in your browser, no signup required.

Newton's Law of Universal GravitationF = G × m₁ × m₂ / r²G = 6.674 × 10⁻¹¹ N·m²·kg⁻²

Supports scientific notation (e.g. 5.972e24)

Supports scientific notation (e.g. 7.342e22)

Centre-to-centre distance between the two masses

Output Force Unit

Choose the unit for the calculated gravitational force result.

Try a preset:
Key Facts
  • G = 6.674 × 10⁻¹¹ N·m²·kg⁻² (CODATA 2018)
  • Force is always attractive — it pulls the two masses together
  • Doubling the distance reduces force by a factor of 4 (inverse-square law)
  • Doubling either mass doubles the force

Why Use Our Gravitational Force Calculator?

Instant Gravitational Force Calculation

Calculate gravitational force between any two masses instantly in your browser. Our gravitational force calculator applies Newton's law of universal gravitation in milliseconds — no waiting, no server round-trips.

Secure Gravitational Force Calculator Online

All gravitational force calculations run 100% locally in your browser. Your mass and distance values never leave your device, ensuring complete privacy every time you use the gravitational force calculator online.

Gravitational Force Calculator — No Installation

Use the gravitational force calculator directly in any modern browser with no downloads, plugins, or software required. Calculate gravitational force from any device — desktop, tablet, or mobile — instantly.

Multi-Unit Support with Scientific Notation

Enter masses in kg, g, lb, tonnes, solar masses, or Earth masses. Enter distances in m, km, AU, or light-years. The gravitational force calculator accepts scientific notation (e.g. 5.972e24) and outputs results in N, kN, lbf, dyn, or kgf.

Common Use Cases for Gravitational Force Calculator

Physics Homework and Exam Preparation

Students can verify manual gravitational force calculations instantly and check their working step by step. The gravitational force calculator shows every stage of Newton's law of gravitation so you can follow along and learn the formula.

Astronomy and Astrophysics

Calculate the gravitational force between planets, moons, stars, and galaxies using astronomical units, solar masses, and Earth masses. The gravitational force calculator handles the extreme values common in astrophysics with full scientific notation support.

Orbital Mechanics and Satellite Design

Engineers designing satellite orbits need precise gravitational force values to compute orbital velocities and periods. Use the gravitational force calculator to quickly verify force magnitudes at different orbital altitudes.

Engineering and Structural Analysis

Mechanical and civil engineers can calculate gravitational attraction between large masses in precision applications such as gravimetry, geodesy, and tidal force analysis. The gravitational force calculator supports SI and imperial units for seamless workflow integration.

Teaching and Classroom Demonstrations

Teachers can use the gravitational force calculator to generate worked examples on the fly, demonstrate the inverse-square law by varying distance, and show students how mass and separation affect gravitational attraction.

Research and Scientific Modelling

Researchers in geophysics, planetary science, and cosmology can use the gravitational force calculator to cross-check model inputs and outputs. Preset examples for Earth–Moon and Earth–Sun systems provide instant reference values.

Understanding Gravitational Force

What is Gravitational Force?

Gravitational force is the attractive force that every object with mass exerts on every other object with mass. It is one of the four fundamental forces of nature and the dominant force at astronomical scales. Isaac Newton formulated the law of universal gravitation in 1687, stating that the gravitational force between two point masses is directly proportional to the product of their masses and inversely proportional to the square of the distance between them. This inverse-square law means that doubling the separation between two objects reduces the gravitational force to one quarter of its original value. Our gravitational force calculator applies this law precisely using the CODATA 2018 value of the gravitational constant G = 6.674 × 10⁻¹¹ N·m²·kg⁻².

How Our Gravitational Force Calculator Works

  1. 1. Enter the Two Masses: Input the values of m₁ and m₂ in any supported unit — kg, g, lb, tonne, solar mass, or Earth mass. Scientific notation is fully supported (e.g. 5.972e24 for Earth's mass). All processing happens locally in your browser — your data never leaves your device.
  2. 2. Enter the Distance and Choose Output Unit: Enter the centre-to-centre distance r in m, km, AU, light-years, or other units. Select your preferred output force unit (N, kN, lbf, dyn, or kgf). Click "Calculate Force" and the gravitational force calculator instantly applies F = G × m₁ × m₂ / r².
  3. 3. Review Results and Steps: The result is displayed in your chosen unit alongside conversions to N, kN, lbf, and dyn. Toggle the step-by-step solution to see every stage of the calculation with intermediate values in scientific notation.

What the Gravitational Force Calculator Computes

  • Gravitational Force (F): Computed using F = G × m₁ × m₂ / r², where G is Newton's gravitational constant. The result is always an attractive force — it acts along the line joining the two masses, pulling them toward each other.
  • Unit Conversions: The gravitational force calculator automatically converts the result to N, kN, lbf, and dyn so you can compare values across different unit systems without additional steps.
  • SI Unit Normalisation: All input values are internally converted to SI units (kg and m) before the calculation, ensuring accuracy regardless of which input units you choose.
  • Step-by-Step Working: The gravitational force calculator shows every intermediate value — unit conversions, r², the numerator G × m₁ × m₂, and the final division — so you can verify each stage of the calculation.

Important Notes on Gravitational Force

Newton's law of universal gravitation treats masses as point masses or uniform spheres. For uniform spheres, the distance r is measured between their centres. The law is an excellent approximation for most practical and astronomical calculations, but for extreme gravitational fields — such as near black holes or neutron stars — Einstein's general theory of relativity provides a more accurate description. Gravitational force is always attractive; there is no gravitational repulsion. The gravitational force calculator uses the CODATA 2018 recommended value G = 6.674 × 10⁻¹¹ N·m²·kg⁻², which has a relative standard uncertainty of 2.2 × 10⁻⁵.

Frequently Asked Questions About Gravitational Force Calculator

A gravitational force calculator is a tool that computes the attractive force between two masses using Newton's law of universal gravitation: F = G × m₁ × m₂ / r². You enter the two masses and the distance between them, and the calculator instantly returns the gravitational force. Our gravitational force calculator runs entirely in your browser with no signup required.

The gravitational force calculator uses Newton's law of universal gravitation: F = G × m₁ × m₂ / r², where G = 6.674 × 10⁻¹¹ N·m²·kg⁻² is the gravitational constant, m₁ and m₂ are the two masses in kilograms, r is the centre-to-centre distance in metres, and F is the gravitational force in newtons.

Yes, completely. The gravitational force calculator runs 100% client-side in your browser. Your mass and distance values are never sent to any server, stored in a database, or tracked in any way. Everything stays completely private on your device.

Yes. Our gravitational force calculator is 100% free with no signup, no account, and no usage limits. Calculate as many gravitational force values as you need — with full step-by-step solutions — at no cost, forever.

For mass, the gravitational force calculator supports kg, g, lb, oz, metric tonnes, solar masses (M☉), and Earth masses (M⊕). For distance, it supports m, km, cm, mm, ft, mi, AU (astronomical units), and light-years. Output force can be displayed in N, kN, MN, lbf, dyn, or kgf.

Yes. The gravitational force calculator fully supports scientific notation in all input fields. Enter values like 5.972e24 for Earth's mass (5.972 × 10²⁴ kg) or 3.844e8 for the Earth–Moon distance (3.844 × 10⁸ m). This makes it easy to work with astronomical and subatomic scales.

The gravitational constant G = 6.674 × 10⁻¹¹ N·m²·kg⁻² is extremely small, which means gravitational force is only significant when at least one of the masses is very large — like a planet or star. For example, two 1 kg balls 1 metre apart experience a gravitational force of only about 6.674 × 10⁻¹¹ N, which is far too small to feel.

The inverse-square law states that gravitational force decreases with the square of the distance between the two masses. If you double the distance, the gravitational force drops to one quarter (1/4) of its original value. If you triple the distance, the force drops to one ninth (1/9). You can verify this directly using the gravitational force calculator by changing the distance while keeping the masses constant.

Yes. The gravitational force calculator includes preset examples for Earth–Moon and Earth–Sun systems, and supports astronomical units (AU), light-years, solar masses, and Earth masses as input units. This makes it suitable for astrophysics, orbital mechanics, and planetary science calculations.