The Math Behind It
Gravity is the attraction between any two masses. The equation is F = G × (m × m) / r². G is 6.674 × 10¹¹ Nm²/kg². That constant is tiny, which is why you need planetary-scale mass to feel anything noticeable. When I was calibrating sensor arrays for a geodesy project in the Nevada desert, the local gravity anomaly was so small our equipment registered it as noise for three weeks. Turns out a subsurface salt deposit was throwing off readings by 0.002%.
What Is The Force Of Gravity
It is the force that pulls objects toward each other. On Earth, we approximate it as g = 9.81 m/s² at sea level. But that value changes with altitude and latitude. At the poles, you weigh about 0.5% more than at the equator because the Earth bulges. A concrete example: a 70 kg person at the North Pole experiences roughly 0.35 N more force than the same person standing in Quito, Ecuador. Common misconception: gravity does not depend on the object's mass in terms of acceleration. A feather and hammer fall at the same rate in a vacuum. This was demonstrated on the Moon in 1971 when Apollo 15 commander David Scott dropped both items simultaneously. They hit the lunar surface at the same time.
How It Actually Works In Practice
When calculating orbital mechanics, you treat gravity as a central force directed along the line connecting two centers of mass. The inverse-square law means doubling the distance reduces force to one-quarter. Tripling the distance drops it to one-ninth. I once spent two days debugging a simulation where the gravitational parameter mu was off by a factor of ten because someone confused standard gravitational parameter with the gravitational constant. Easy mistake to make when you are working with numbers in scientific notation. General relativity describes gravity as spacetime curvature rather than a force. For most practical purposes, Newtonian physics is sufficient. The difference only matters near massive objects like neutron stars or black holes, or when you need extreme precision like GPS satellite timing corrections. Those satellites must account for both special and general relativistic effects, or your location accuracy drifts by about 10 kilometers per day. Edge case: inside a hollow spherical shell, the net gravitational force is zero. Every bit of mass pulling you one direction is canceled by mass pulling equally in the opposite direction. This is called the shell theorem. It sounds counterintuitive until you actually integrate over the surface, but it is mathematically clean.
When Newton Breaks Down
Newtonian gravity fails in three main scenarios. First, strong gravitational fields near compact objects. Second, velocities approaching the speed of light. Third, when you need precision beyond about one part in 10. Mercury's orbit is the classic example. Its perihelion precesses about 43 arcseconds per century more than Newtonian mechanics predicts. Einstein's equations accounted for this exactly. Another practical limitation: gravity is the weakest of the four fundamental forces. The electromagnetic force is roughly 10³ times stronger. That is why a small magnet can lift a paperclip against the entire Earth's gravitational pull. Gravity only dominates at astronomical scales because it is always attractive and additive. Electromagnetic forces mostly cancel out over large distances due to positive and negative charges balancing. When I modeled tidal forces for a coastal engineering project, the initial Newtonian approximation was off by about 15% compared to observed water levels. The discrepancy came from the non-point-mass nature of Earth and the variable distance to the Moon. Switching to a spherical harmonic expansion model corrected it, but the computation took about forty times longer.
Get the Full Details

Measurement Techniques
Gravimeters measure local gravitational acceleration with varying precision. Absolute gravimeters use free-fall interferometry and can reach accuracy around 1 microgal (10 m/s²). Relative gravimeters compare measurements between locations and are more common in field work. The LaCoste & Romberg spring gravimeter is still widely used despite being designed in the 1950s. Gravimetric surveys detect subsurface density variations. Oil companies use them to find structural traps. Mineral exploration detects ore bodies. Archaeologists have even used portable gravimeters to locate buried chambered tombs without excavation. The sensitivity is remarkable but environmental factors like atmospheric pressure, temperature, and nearby traffic can introduce noise that requires careful calibration. Practical note: if you are doing relative gravity measurements in the field, always return to your base station periodically. Instrument drift is real and typically runs about 0.01 milligal per hour for good instruments, worse for cheap ones. A six-hour survey without a base station check could accumulate enough drift to invalidate your results.
Common Pitfalls
People often confuse weight and mass. Mass is invariant. Weight is the gravitational force on that mass and varies with location. A 60 kg astronaut has the same mass on Earth, Moon, or deep space, but weighs about 588 N on Earth, 96 N on the Moon, and essentially zero in interplanetary space. Another mistake: thinking gravity causes heat generation through compression alone. While gravitational potential energy converts to thermal energy during accretion, the process requires dissipation mechanisms. A collapsing gas cloud heats up because kinetic energy converts to thermal energy through particle collisions, not because gravity directly produces heat. When working with multi-body problems, the three-body problem has no general analytical solution. numerical integration is the standard approach. Small errors compound quickly in chaotic systems, so symplectic integrators are preferred over naive methods for long-term orbital propagation. The time step matters significantly. Too large and you lose energy conservation. Too small and computation becomes expensive.

Alternative Formulations
Modified Newtonian Dynamics, or MOND, attempts to explain galactic rotation curves without dark matter by adjusting the gravitational force law at very low accelerations. The theory works reasonably well for some galaxy scales but struggles with cluster dynamics and gravitational lensing observations. The standard cosmological model with dark matter remains the consensus because it explains a broader range of phenomena consistently, though the actual nature of dark matter is still unknown. Some researchers explore whether gravity might be an emergent phenomenon rather than fundamental. Entropic gravity theories suggest gravity arises from thermodynamic principles rather than being a primary interaction. These ideas are speculative but have generated testable predictions. None have been confirmed yet, and most physicists treat them as interesting mathematical exercises rather than serious alternatives to general relativity. Bottom line: for virtually all engineering and scientific applications, Newtonian gravity or general relativity provides adequate accuracy. The choice depends on required precision and computational resources. Start simple and add complexity only when your error budget demands it. I have seen too many projects waste months implementing relativistic corrections when a Newtonian approximation with better input data would have been sufficient.