How do scientists count galaxies?
Scientists count galaxies by combining deep telescope observations, automated image analysis, redshift measurements, and statistical corrections for objects too faint or distant to detect directly.
The answer is not a single exact number, because the total depends on survey depth, wavelength, instrument sensitivity, and the definition of a galaxy.
This makes galaxy counting both an astronomy problem and a data-science problem.
The methods used by teams working with the Hubble Space Telescope, the James Webb Space Telescope, the Sloan Digital Sky Survey, and other observatories reveal a universe far more crowded than early estimates suggested.
What counts as a galaxy?
Before counting begins, astronomers need a working definition.
A galaxy is typically a gravitationally bound system of stars, gas, dust, dark matter, and often a central black hole.
That sounds straightforward, but edge cases complicate the count.
- Dwarf galaxies can contain only a small number of stars and may be hard to distinguish from star clusters.
- Ultra-diffuse galaxies spread their light over a large area, making them difficult to detect.
- Satellite galaxies orbit larger galaxies and can overlap with bright foreground structures.
- Interacting systems may appear as one object in low-resolution images and as multiple galaxies in higher-resolution data.
Because of these ambiguities, galaxy counts are always tied to explicit criteria.
Astronomers often specify brightness thresholds, size limits, spectral signatures, or structural features when cataloging objects.
Why direct counting is impossible
In practice, no telescope can see every galaxy in the observable universe.
Many are too faint, too small, too distant, or hidden behind dust.
Others are observable only in certain wavelengths such as infrared, radio, or X-ray light.
Several factors limit direct counting:
- Cosmic distance dims light through inverse-square effects and redshift.
- Instrument sensitivity sets a lower brightness limit for detection.
- Angular resolution determines whether objects appear separate or blended.
- Cosmic dust obscures some galaxies in optical wavelengths.
- Survey area may cover only a tiny fraction of the sky, requiring extrapolation.
Because of this, scientists count galaxies in sampled regions and then estimate the total number statistically.
How telescopes detect galaxies
The first step is capturing deep images across multiple wavelengths.
Optical surveys reveal visible starlight, infrared observations uncover dust-shrouded and very distant galaxies, and radio surveys detect neutral hydrogen or active galactic nuclei.
Multiwavelength data helps astronomers separate galaxies from stars, noise, and artifacts.
Modern surveys use a combination of instruments and methods:
- Wide-field surveys map large sky areas to find bright, common galaxies.
- Deep-field observations stare at one small region for a long time to reveal faint galaxies.
- Spectroscopy measures redshift, composition, and motion.
- Photometry measures brightness in different filters to estimate distance and type.
The Hubble Deep Field and later ultra-deep observations showed that even apparently empty sky contains thousands of galaxies.
The James Webb Space Telescope has pushed these detections to earlier cosmic times, including galaxies formed when the universe was only a few hundred million years old.
How scientists identify galaxies in images
Counting galaxies starts with source detection software.
Algorithms scan telescope images for distinct light sources above the noise background, then measure each object’s brightness, shape, and size.
Astronomers later remove stars, cosmic rays, satellite streaks, and image defects.
Common techniques include:
- Thresholding to find pixels brighter than the local background.
- Segmentation to separate neighboring objects.
- Profile fitting to distinguish compact stars from extended galaxies.
- Machine learning classification to sort objects by morphology and likelihood of being a galaxy.
Human visual inspection still plays a role, especially in ambiguous cases such as mergers, lensed galaxies, and irregular dwarf systems.
Citizen science projects like Galaxy Zoo have also helped classify large image datasets at scale.
How redshift helps astronomers count galaxies?
Redshift is one of the most important tools in extragalactic astronomy.
It measures how much the universe has expanded since light left a galaxy.
Greater redshift generally means greater distance and earlier cosmic time.
By measuring redshift, scientists can estimate whether galaxies in a survey represent a nearby sample or a slice of the early universe.
This is crucial because a faint object may be either intrinsically dim or extremely distant.
Redshift data also helps astronomers correct for selection bias when constructing galaxy catalogs.
Spectroscopic redshift is more precise, but photometric redshift is faster and can be applied to millions of objects.
Large surveys often use both, combining accuracy with scale.
How do scientists estimate the galaxies they cannot see?
Because surveys miss some objects, astronomers apply completeness corrections.
These corrections estimate how many galaxies were likely present but not detected due to sensitivity limits or observational gaps.
Typical correction methods include:
- Completeness simulations that inject artificial galaxies into images and test whether the software recovers them.
- Luminosity function modeling to predict the number of faint galaxies below detection thresholds.
- Volume corrections that account for the portion of space sampled by a survey.
- Selection function analysis to quantify which types of galaxies a survey is biased toward detecting.
These estimates are especially important for dwarf galaxies and very distant early galaxies, which can be undercounted by orders of magnitude if raw detections are used alone.
Why the estimated total keeps changing
For years, scientists thought the observable universe might contain around 100 to 200 billion galaxies.
Later analyses using deeper Hubble data suggested the total could be several hundred billion, and some estimates have placed it closer to two trillion when faint dwarf galaxies are included.
The number changes because better data reveals more low-luminosity galaxies and because assumptions about galaxy distribution evolve.
Improvements in telescope resolution, background subtraction, and cosmological modeling also shift the estimate upward or downward.
Important reasons the total is uncertain include:
- the unseen population of ultra-faint dwarf galaxies
- blending of multiple galaxies into one detected source
- different definitions of what qualifies as a galaxy
- limitations in sky coverage and wavelength sensitivity
What large galaxy surveys contribute
Major surveys make galaxy counting more reliable by increasing sample size and reducing random error.
The Sloan Digital Sky Survey transformed nearby galaxy mapping, while deep-field campaigns expanded the known population at high redshift.
More recently, surveys with JWST, Euclid, and upcoming observations from the Vera C.
Rubin Observatory are expected to refine galaxy counts even further.
These projects do more than tally objects.
They help astronomers measure galaxy clustering, luminosity functions, morphology, stellar mass, and star-formation history.
All of that information improves the statistical models used to infer the total number of galaxies in the observable universe.
Why galaxy counting matters for cosmology
Counting galaxies is not just bookkeeping.
It helps test models of cosmic structure formation, dark matter distribution, and the evolution of the universe from the Big Bang to the present.
The abundance of galaxies at different epochs places constraints on theories of reionization, feedback from supernovae and black holes, and the growth of cosmic web filaments.
Galaxy counts also inform practical astronomy.
They help researchers estimate survey completeness, plan telescope time, and interpret whether an observed lack of galaxies is a physical effect or an observational gap.
Key takeaways from the counting process
- Scientists do not count all galaxies one by one across the universe.
- They detect galaxies in survey images and estimate the unseen population statistically.
- Redshift, brightness, size, and wavelength data all affect the count.
- Different galaxy definitions lead to different totals.
- The number of galaxies in the observable universe is still an estimate, not a fixed census.