"kilometer" is a unit of length or distance, not a unit of density.
The sun's diameter is about 1.4 million kilometers.
Mars is 267,000,000 kilometers away from the sun.
The density of Betelgeuse is extremely low: 1,119.10 ex.-8 from the density of the sun.
The Sun has about 333,000 times the mass of the Earth, while it has over 1,300,000 times the volume. The average density of the Sun's matter is about a quarter of Earth's density (25.5 %). Earth = 6 x 10^24 kilograms, volume 1.1 trillion cubic kilometers (1.08 x 10^12) Sun = 2 x 10^30 kilograms, volume 1.4 quintillion cubic kilometers (1.41 x 10^18)
The distance of Mercury from the sun is 57,910,000 kilometers while Venus is 108,200,000 kilometers away. The Earth is 149,600,000 kilometers away from the sun while Mars is 227,940,000 kilometers apart from it. The largest planet, Jupiter is 778,330,000 kilometers distant from the sun while Saturn is 1,424,600,000 kilometers away. The last three planets namely Uranus, Neptune, and Pluto are 2,873,550,000 kilometers, 4,501,000,000 kilometers, and 5,945,900,000 kilometers away from the sun respectively.
Earth's density: 5.515 g/cm^3 Sun's density: 1.408 g/cm^3
The average density of the Sun is about 1.41 grams per cubic centimeter. This is much higher than the average density of the Earth because the Sun is composed mostly of hydrogen and helium gases under extreme pressure.
The Sun's diameter is about 864,000 miles (1.4 million kilometers), its density is about 1.4 times that of water, and its mass is about 330,000 times that of Earth. Compared to other stars, the Sun is an average-sized star in terms of diameter, density, and mass. There are stars much larger, denser, and more massive than the Sun in the universe.
On average, Jupiter is 779 million kilometers from the Sun
The diameter of the Sun is about 1.4 million kilometers.
From the Sun: about 150 million kilometers. From the Moon: about 380,000 kilometers.
The Sun has a diameter of 1,392,684 kilometers. This is equal to 865,374 miles. The Sun is larger than any of the planets.