The density of a comet is also highly variable, but is typically around 0.5 g/cm³. This means that a comet with a mass of 10^16 kg would have a volume of about 2 x 10^16 cm³, or about 200 cubic kilometers.
The weight of a comet is also affected by its distance from the Sun. As a comet approaches the Sun, its ice begins to melt and vaporize, which causes the comet to lose mass. This process continues until the comet reaches its closest point to the Sun, at which point it may lose up to 90% of its original mass.
Overall, the weight of a comet is determined by its size, composition, and distance from the Sun.