Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Astronomy Calculators / Planet Mass Calculator
Astronomy Calculators

Planet Mass Calculator

Published onJune 19, 2025 Updated onOctober 23, 2026 9:26 am

Give this calculator a planet’s radius and its average density and it returns the planet’s total mass in kilograms, with an Earth-mass reading so you can feel the scale instantly. It is built on the exact formula every astronomy textbook uses, mass equals density times the volume of a sphere, and the Earth worked example below reproduces NASA’s published value.

Planet Mass Calculator
Radius and mean density in, total mass in kilograms out, with an Earth-mass reading
Mass result
kg

Results print in scientific notation (6 digits) because planetary masses run to 1024 kg. The tool treats every body as a perfect sphere; real planets are slightly oblate, which shifts the true volume by well under 1% for Earth-like bodies.

Quick Answer

For Earth, a radius of 6,371,000 m and a mean density of 5,514 kg/m³ gives a mass of 5.972803e+24 kg, matching NASA's published figure to the digits the inputs justify. Type your own radius and density into the calculator and it returns the mass in scientific notation, plus an Earth-mass reading for scale.

Key takeaways

  • The formula is mass = (4/3) × π × radius³ × density: the volume of a perfect sphere times the mean bulk density.
  • Radius must be in meters. The single most common mistake is entering kilometers, which cubes the error and lands a factor of a billion off.
  • Average density is where the physics hides. Two planets with the same radius but different densities, rock versus gas, can differ in mass by a factor of four.
  • The calculator assumes a perfect sphere. Oblateness, layered interiors and atmospheres shift real values by fractions of a percent, never by orders of magnitude.
On this page
  • Quick Answer
  • How to use the planet mass calculator
  • The planet mass formula, and what each part assumes
  • Worked example: Earth, checked against NASA
  • Real densities to try: the solar system at a glance
  • What competing calculators miss
  • The honest limits of this estimate
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the planet mass calculator

Enter two numbers and you are done, but both deserve a moment of care. Radius goes in meters, not kilometers: Earth's 6,371 km becomes 6,371,000 m, and because the radius is cubed, a unit slip multiplies your answer by 10⁹. Density is the bulk average for the whole planet, usually quoted in kg/m³. Rock-and-metal worlds fall near 4,000 to 5,500 kg/m³, gas and ice giants near 700 to 1,700 kg/m³, so a density entry outside that range deserves a second look. If you already know a body's mass and its volume and need the density instead, the same relationship runs backwards in the density calculator. Click Calculate planet mass and the mass prints in scientific notation with six digits; invalid or non-positive entries get a clear inline message instead of a silent failure. Reset restores the Earth defaults, and the Copy and Share buttons grab your result for notes or a message.

The planet mass formula, and what each part assumes

The calculator applies one formula: mass = (4/3) × π × r³ × ρ, where r is the radius in meters and ρ is the mean density in kg/m³. That is the volume of a sphere multiplied by density, which is the definition density = mass/volume rearranged. OpenStax's Astronomy textbook puts it the same way: density is mass divided by volume, and where a body's mass cannot be measured directly, radius and density give a practical estimate. NASA publishes all three quantities side by side for every planet in its Planetary Fact Sheet, so you can check any result on this page against NASA's numbers in seconds.

The formula carries three assumptions worth knowing. First, the planet is a perfect sphere; real planets bulge at the equator, but the volume error stays well under 1% for the bodies this tool is used on. Second, ρ is the average over the whole planet, core to surface; a planet with an iron core and a thin rocky crust is not uniform, and the average is what makes the multiplication valid. Third, the result includes everything inside the radius you enter, atmosphere included, to the extent the density figure accounts for it. Rearranged forms of the same relationship, such as volume from mass and density, are handled by the mass to volume calculator.

Worked example: Earth, checked against NASA

Earth is the worked example the calculator ships with, and it is the right test because NASA's numbers are public. Take the mean radius 6,371,000 m and the mean density 5,514 kg/m³ from the NASA Planetary Fact Sheet:

  1. Cube the radius: (6.371 × 10⁶)³ = 2.5860 × 10²⁰ m³.
  2. Multiply by (4/3)π: 2.5860 × 10²⁰ × 4.18879 = 1.08321 × 10²¹ m³, Earth's volume.
  3. Multiply by density: 1.08321 × 10²¹ × 5,514 = 5.972803e+24 kg.

Type those two inputs into the calculator and it prints exactly 5.972803e+24 kg with the reading "about 1.000 Earth masses". For a fictional world, try radius 10,000,000 m and density 4,000 kg/m³: the tool returns 1.675516e+25 kg, about 2.806 Earth masses, which is what the same three-step arithmetic gives by hand.

Real densities to try: the solar system at a glance

Use mean radius with the matching mean density from NASA's fact sheet; mixing an equatorial radius with a bulk density is the usual way these checks drift. The mass column is exactly what the calculator prints for each pair, so you can spot-check the tool against the table row by row.

BodyMean radius (km)Mean density (kg/m³)Calculator mass (kg)Earth-mass reading
Mercury2,4395,4293.299467e+230.055
Venus6,0525,2434.868164e+240.815
Earth6,3715,5145.972803e+241.000
Moon1,7383,3407.344875e+220.012
Mars3,389.53,9346.416968e+230.107
Jupiter69,9111,3261.897880e+27317.787
Saturn58,2326875.682383e+2695.148

Radii and densities from NASA's Planetary Fact Sheet; mass figures are the calculator's own six-digit scientific-notation outputs for each pair. Jupiter's row makes the point about density: eleven times Earth's radius but barely one quarter the density, so mass grows by ~318 Earths rather than ~1,300.

What competing calculators miss

Most rival planet-mass tools compute the same formula and stop. A few add unit selectors for kilometers versus meters and kg/m³ versus g/cm³, which removes one common error but leaves the bigger ones: entering an equatorial radius with a bulk density, or quoting a surface-rock density instead of the whole-planet average. The multi-method tools go the other way, offering gravity, escape-velocity and Kepler's-law modes that are powerful when you have orbital data but overwhelming when you just need mass from radius and density. What none of them do on one screen is pair the result with an Earth-relative reading and a runnable solar-system check table, so you can tell at a glance whether your 3.3e+23 kg answer means Mercury or a mistake. This page does both: the badge converts every result into Earth masses, and the table above gives you seven real bodies to test-drive before trusting a hypothetical one. The worked example is also verifiable rather than decorative: Earth reproduces the three-step hand arithmetic digit for digit.

The honest limits of this estimate

Three limits are worth stating plainly. The spherical assumption breaks down for fast-spinning or tidally distorted bodies; for a contact binary or a very oblate dwarf planet, treat the result as an order-of-magnitude figure, not a measurement. The average density is itself an estimate for most exoplanets, often inferred from a mass-radius relationship rather than measured, so the output inherits whatever uncertainty the density carries, usually the dominant error. And the tool has no notion of measurement error: 6,371,000 m with six digits of density does not mean the answer is good to six digits. Use the result as a strong physics estimate, then check it against the JPL planetary parameters table where published values exist. For collapsed objects where sphere-volume arithmetic breaks down entirely, the black hole mass calculator uses the Schwarzschild-radius relationship instead.

Frequently asked questions

Mass equals (4/3) times pi times radius cubed times mean density. That is the volume of a sphere multiplied by density, which is just the definition density = mass/volume rearranged.

Radius in meters and density in kilograms per cubic meter, with the answer in kilograms. If your radius is in kilometers, multiply by 1,000 first; entering kilometers directly makes the answer wrong by a factor of a billion because the radius is cubed.

NASA's Planetary Fact Sheet publishes mean density for every planet: Earth 5,514 kg/m³, Mars 3,934 kg/m³, Jupiter 1,326 kg/m³, Saturn 687 kg/m³. For hypothetical or fictional worlds, pick a density near the class of planet you are imagining, roughly 4,000 to 5,500 for rocky and 700 to 1,700 for gas giants.

The arithmetic is exact; the uncertainty lives in the inputs. The spherical assumption shifts the volume by well under 1% for Earth-like bodies, and the density estimate is usually the dominant error, especially for exoplanets where density is inferred rather than measured.

It divides your result by Earth's mass (5.97217×10²⁴ kg, JPL) so you get a sense of scale: 1.000 is Earth, 0.107 is Mars, 317.787 is Jupiter. It is a display-only reading and does not change the calculated kilograms.

Yes, anything you can reasonably model as a sphere with a known mean density: moons, asteroids, dwarf planets and exoplanets all work. For very irregular asteroids the spherical assumption becomes the weakest link, so treat the answer as an estimate.

Mass is the intrinsic amount of matter and never changes; weight is the gravitational force on that mass and varies by planet. This calculator returns mass in kilograms, the quantity that stays the same whether the body sits on Earth or orbits another star.

It includes everything inside the radius you enter, atmosphere included, but only to the extent your density figure accounts for it. Published bulk densities like NASA's 5,514 kg/m³ for Earth already fold the atmosphere in, though it contributes a negligible fraction of the total.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. National Aeronautics and Space Administration. Planetary Fact Sheet (metric): mass, radius and mean density for every planet. Accessed October 23, 2026.
  2. NASA Jet Propulsion Laboratory. Planetary Physical Parameters: selected physical characteristics including mass and bulk density with uncertainties. Accessed October 23, 2026.
  3. OpenStax, Rice University. Astronomy 2e, Chapter 3 summary: Orbits and Gravity: density as mass divided by volume; masses from Kepler's laws and Newtonian gravitation. Accessed October 23, 2026.
  4. Bureau International des Poids et Mesures (BIPM). The International System of Units (SI Brochure): kilogram, meter and derived units such as kg/m³. Accessed October 23, 2026.
  5. National Institute of Standards and Technology. Fundamental Physical Constants (CODATA). Accessed October 23, 2026.

Related calculators

Astronomy CalculatorsSun CalculatorFor any date and any place on Earth, this calculator returns sunrise, sunset, solar noon and day length from four inputs: date, latitude, longitude and UTC offset.Astronomy CalculatorsRedshift Distance CalculatorHow far away is a galaxy whose light arrives stretched by a known redshift?Astronomy CalculatorsOrbital Distance CalculatorKepler's third law links three quantities: how far an object orbits, how long one orbit takes, and how massive the central body is.Astronomy CalculatorsStar Distance CalculatorType a star's parallax angle in arcseconds and this calculator returns its distance in light-years, with the parsec figure shown as a reading underneath.Astronomy CalculatorsLight Speed Distance CalculatorLight in a vacuum always travels at exactly 299,792,458 meters per second, which makes it the universe's most...Astronomy CalculatorsDistance Modulus CalculatorHow far away is that star?

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search