Planet Density Calculator: Using Radius and Mass


Planet Density Calculator

An expert tool to calculate the density of a planet from its mass and radius.


Enter the total mass of the celestial body. Earth’s mass is ~5.972 x 10^24 kg.


Enter the mean (average) radius of the planet. Earth’s radius is ~6,371 km.


— g/cm³

Average Density (g/cm³)

— km³

Planet Volume

— kg/m³

Density (kg/m³)

–x Earth

Compared to Earth

Density Comparison Chart

A visual comparison of the calculated planetary density against known materials and planets.

What is Planetary Density?

Planetary density is a fundamental physical property that expresses the amount of mass contained within a planet’s volume. It is typically measured in grams per cubic centimeter (g/cm³) or kilograms per cubic meter (kg/m³). This single value provides profound insights into a planet’s overall composition and internal structure. A high density suggests a world made primarily of rock and metal, like Earth or Mercury. In contrast, a low density points to a composition dominated by lighter elements like hydrogen and helium, characteristic of gas giants such as Jupiter and Saturn. Therefore, when you calculate the density of a planet using radius and mass, you are taking the first step in classifying it and understanding its geological nature.

The Formula to Calculate Density of a Planet

The calculation for a planet’s average density is straightforward. You divide the planet’s total mass (M) by its total volume (V). Since planets are approximately spherical, we use the formula for the volume of a sphere.

Density (ρ) = Mass (M) / Volume (V)

Where the Volume (V) is given by:

V = (4/3) * π * r³

Combining these gives the full formula used by our calculator:

ρ = M / ((4/3) * π * r³)

Variables Explained

Variable Meaning Common Unit Typical Range (for planets)
ρ (rho) Average Density g/cm³ or kg/m³ 0.5 (gas giants) to 8.0 (super-Earths) g/cm³
M Mass Kilograms (kg) 10²³ to 10²⁷ kg
r Radius Kilometers (km) 2,000 to 75,000 km
V Volume Cubic Kilometers (km³) 10¹⁰ to 10¹⁵ km³

Practical Examples

Example 1: A Dense, Rocky Planet (like Earth)

  • Inputs:
    • Mass: 5.972 x 10²⁴ kg
    • Radius: 6,371 km
  • Calculation:
    • Volume = (4/3) * π * (6371 km)³ ≈ 1.083 x 10¹² km³
    • Density = (5.972 x 10²⁴ kg) / (1.083 x 10²¹ m³) ≈ 5514 kg/m³
  • Result: Approximately 5.51 g/cm³. This high density confirms a composition of silicate rocks and a dense iron-nickel core.

Example 2: A Low-Density Gas Giant (like Saturn)

  • Inputs:
    • Mass: 5.683 x 10²⁶ kg
    • Radius: 58,232 km
  • Calculation:
    • Volume = (4/3) * π * (58232 km)³ ≈ 8.27 x 10¹⁴ km³
    • Density = (5.683 x 10²⁶ kg) / (8.27 x 10²³ m³) ≈ 687 kg/m³
  • Result: Approximately 0.687 g/cm³. This value is less than that of water (1 g/cm³), famously meaning Saturn would float in a large enough bathtub. It confirms a composition of mostly hydrogen and helium.

How to Use This Planet Density Calculator

  1. Enter the Planet’s Mass: Input the mass value in the first field. Use the dropdown to select the appropriate unit, whether kilograms (kg), multiples of 10²⁴ kg, or Earth masses.
  2. Enter the Planet’s Radius: Input the mean radius in the second field. Choose the correct unit from the dropdown: kilometers (km), meters (m), or Earth radii.
  3. Review the Results: The calculator will instantly update. The primary result is the density in g/cm³, a common unit in planetary science. You can also see the density in kg/m³, the planet’s total volume, and its density compared to Earth’s.
  4. Analyze the Chart: The bar chart provides a quick visual comparison of your planet’s density against key benchmarks like water, Earth, and iron, helping you intuitively understand its composition.
  5. Copy Results: Use the “Copy Results” button to save a summary of all outputs to your clipboard for easy pasting into your notes or research.

Key Factors That Affect Planetary Density

A planet’s final density is a result of several competing factors:

  1. Core Composition: The primary determinant. Planets with large, dense iron-nickel cores (like Mercury and Earth) will have a much higher average density.
  2. Mantle and Crust Composition: The type of silicate rocks in the mantle and crust influences the overall density.
  3. Gravitational Compression: A planet’s own gravity squeezes its interior. For very massive planets, this compression increases the density of materials beyond their normal state. Two planets of the same composition but different masses will have different densities.
  4. State of Matter: Whether the constituent materials are solid, liquid, or gas is crucial. Gas giants have vast atmospheres that dramatically lower their average density.
  5. Temperature: Higher internal temperatures can cause materials to expand, slightly decreasing their density.
  6. Porosity and Water Content: For smaller bodies, the amount of empty space (porosity) in the rock and the presence of water ice can significantly lower the average density.

Frequently Asked Questions (FAQ)

How is a planet’s mass measured?

A planet’s mass is determined by observing its gravitational effect on other objects. This is often done by measuring the orbital period and distance of its moons (using Kepler’s Third Law) or by observing the slight “wobble” it imparts on its parent star.

How is a planet’s radius measured?

For exoplanets, the radius is most commonly measured during a transit, when the planet passes in front of its star. The amount of starlight that dims is directly related to the planet’s size. For planets in our solar system, radar and direct imaging are used.

What does a high density value (> 4 g/cm³) typically mean?

A high density strongly indicates a terrestrial or “rocky” planet, composed mainly of silicate rock and a significant metallic (iron/nickel) core. Earth’s density is about 5.5 g/cm³.

What does a low density value (< 2 g/cm³) typically mean?

A low density is the hallmark of a gas or ice giant. It implies a composition dominated by light elements like hydrogen and helium (gas giants) or volatile ices like water, methane, and ammonia (ice giants).

Why use g/cm³ instead of kg/m³?

While kg/m³ is the standard SI unit, grams per cubic centimeter (g/cm³) is widely used in planetary science because the numbers are more convenient (e.g., water is 1 g/cm³). The relationship is simple: 1 g/cm³ = 1000 kg/m³.

Can this calculator be used for stars?

Yes, the mathematical principle is the same. However, stars are far more massive and their density varies dramatically from the core to the surface. This calculator will give you the *average* density, but specialized stellar models are needed for a detailed analysis.

How accurate is this calculation?

The calculation is as accurate as the input mass and radius values. It assumes the planet is a perfect sphere, which is a very close approximation for most large celestial bodies. Small deviations exist due to rotational flattening.

What is Earth’s density?

The average density of Earth is approximately 5.51 g/cm³ (or 5510 kg/m³). This makes it the densest planet in our solar system, indicating a large, metallic core.

© 2026 SEO Expert Calculators. All rights reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *