Things You'll Need
Instructions
Find the mass of the planet for which you want to calculate density by looking at a reputable mass chart (see Resources). Or, plug in values for the radius of the planet's orbit ("r"), the period or time it takes for one orbit ("T"), and the gravitational constant ("G") into the equation (4*pi^2*r^3)/(G*T^2). If you have the velocity of the planet in orbit ("v"), plug the values into the equation r*v^2*G.
Find the volume of the planet by consulting a reputable volume chart or using the planet's radius, which is equal to half of the diameter, in the equation (4/3)*pi*r^3.
Divide the mass by volume to determine the average density of the planet.