Structures · Universe scale

Galaxy

A vast system of stars, gas, dust, and dark matter, held together by gravity. Galaxies range from dwarf irregulars with a few hundred million stars to giant ellipticals with hundreds of trillions. The observable universe contains an estimated 2 trillion galaxies.

Our galaxy

The Milky Way is a barred spiral galaxy ~100,000 light-years across, containing 100–400 billion stars. The Sun is located ~26,000 light-years from the centre.

Source: HubbleSite Galaxies

Galaxies — islands of stars in the universe

Until the 1920s, astronomers debated whether "spiral nebulae" were clouds within the Milky Way or distant galaxies ("island universes") in their own right. In 1923, Edwin Hubble resolved Cepheid variable stars in the Andromeda Nebula and proved it lay far beyond the Milky Way — the discovery that instantly expanded our concept of the universe by an almost incomprehensible factor.

Galaxies are not uniformly distributed. They cluster into groups (the Milky Way belongs to the Local Group — about 54 galaxies including Andromeda and the Magellanic Clouds), which aggregate into clusters, and clusters into superclusters. On the largest scales, galaxies trace a cosmic web — filaments and walls of galaxies surrounding vast, nearly empty voids.

For more on how galaxies' distances are measured, see our cosmic distances guide. The distribution of dark matter within galaxies is covered in our dark matter guide.

So what is a galaxy in practical terms? It is the fundamental building block of cosmic structure. The Milky Way galaxy, our home, is a barred spiral galaxy containing between 100 and 400 billion stars along with vast clouds of gas and dust where new stars continue to form. The Andromeda galaxy (M31), our nearest large neighbour at 2.5 million light-years, is approaching us at 110 km/s and will merge with the Milky Way in roughly 4.5 billion years. Among the main galaxy types, spiral galaxies feature prominent disc-like arms rich in young blue stars, while elliptical galaxies tend to be older and redder. Irregular galaxies lack a defined shape, often as a result of gravitational interactions. Barred spiral galaxies — including the Milky Way — display a bar-shaped structure across the centre. At the smallest end of the scale, dwarf galaxies containing just a few hundred million stars are the most numerous galaxy type in the universe. Resources from HubbleSite, JWST, and Astronomy.com offer stunning imagery and the latest discoveries about galaxies at every distance and epoch.

Quick facts

Milky Way diameter
~100,000 ly
Nearest galaxy
Andromeda 2.5 Mly
Observable universe
~2 trillion galaxies

Frequently asked questions

Browse all terms in the dictionary.

Open the Dictionary →