Halley's Comet takes 73.5 years to orbit the sun but every comet is different just like planets.
76 years.
Hayley's Comet does not orbit the Earth. It has a long elliptical orbit around the Sun, and gets as far out as the orbits of Neptune and Pluto (35.1 AU) , only to return to the inner solar system every 75-76 years. (Its orbit is perturbed by some planets.) It last reached perihelion (closest to the Sun) in 1986, and it will not return until 2061.
Having an elliptical orbit means there is a point for each comet where it is a comet's orbit can be changed over many years by gravity, until it is long and thin.
2,537 years
about 76 years
It takes roughly 75 years for Halley's comet to come by the earth. All comets orbit the sun, but they do not all originate from the same place, which accounts for their paths and how long their individual orbit takes.
248 earth years to orbit the sun
over 300 years.
11.86 Earth years
The orbits of comets are elongated ovals that take the comet around the sun and then far out beyond Pluto. We can see them only in that part of their orbit which brings them close to the Earth
Mercury's orbit of the sun take 88 Earth days so 0.24 Earth years
Jupiter takes 11.8618 Earth years to orbit the sun once