The density of a black hole depends on its mass. Smaller black holes, known as stellar black holes, can have densities on the order of 10^17 kilograms per cubic centimeter. Intermediate-mass black holes range from 10^21 to 10^26 kilograms per cubic centimeter. Supermassive black holes, found at the centers of galaxies, can have densities as high as 10^9 kilograms per cubic centimeter.
To put these densities in perspective, let's compare them with some other celestial objects:
1. The density of the Sun is approximately 1.4 grams per cubic centimeter.
2. The density of Earth is about 5.5 grams per cubic centimeter.
3. The density of a white dwarf, a collapsed remnant of a star, can range from 10^6 to 10^9 grams per cubic centimeter.
4. The density of a neutron star, an even more collapsed stellar remnant, can reach up to 10^15 grams per cubic centimeter.
As we can see, the densities of black holes are vastly higher compared to other celestial objects. Their extreme gravitational pull and compact size result in these extraordinary densities, which are among the most extreme conditions found in the universe.