Table of Contents (click to expand)
Astronomers measure stellar distances with a ladder of techniques. For nearby stars (out to roughly a few thousand parsecs in the era of ESA’s Gaia space telescope), they use parallax, the apparent six-month shift in a star’s position as Earth circles the Sun. For more distant stars, they compare a star’s observed brightness (apparent magnitude) with the absolute magnitude inferred from its color and spectrum. For galaxies, they use Cepheid variable stars, whose pulsation period correlates precisely with their intrinsic luminosity.
We have all heard the mind-bogglingly large numbers that are involved when talking about stellar distances. That being said, how do we even know how far away a star really is? Although there are many ways to calculate the distance between our planet and another star, three methods reign supreme. With simple mathematics and logical deductions, our astronomers have given us a much more vivid picture of the universe. Now sit down, get a cup of tea, and get your brain ready for some incredible math.

Parallax Method
Have you noticed how whenever you look outside the window of a moving vehicle, the objects closer to you whiz by extremely quickly, but the objects farther away seem to move sluggishly in comparison? This is called the parallax effect. In the same way, when we are revolving around the Sun, the position of the stars closer to Earth move steadily from one position to another, whereas the stars farther away don’t appear to move as much. Using this principle, astronomers can calculate the distance to nearby stars quite accurately.

First, an astronomer notes the position of that star in the night sky. Then, after 6 months, the same star’s position is again measured. Remember that after 6 months, the planet is now on the other side of the Sun! Due to the parallax effect, the star’s position changes in the night sky. Then, the parallax angle is calculated after comparing the two positions.
There is a clear relationship between the parallax angle and the distance of the star. This relationship, which can be established by simple trigonometry, is…
d = 1/p
[The math behind this equation is fairly easy. To calculate the distance to the star, we draw a perpendicular line from the Sun’s position to the star. We know the distance from the Earth to the Sun and we know the parallax angle. Using trigonometry, we can derive tanA=opposite / adjacent, where A is the parallax angle, the opposite side is the distance from the Earth to the Sun, and the adjacent side is the distance from the Sun to the star. Thus, p=1/d. Therefore, d=1/p.]

The distance between the Earth and the Sun is considered as 1 AU (Astronomical Unit). The shift in the star’s position is so small that the parallax angle is measured in a unit called arcseconds, which is a three thousand six hundredth (1/3600) of a degree. An entire arcsecond would lead to a distance measured as a single parsec (d=1 parsec=1 AU/1 arcsecond). Contrary to popular belief, light-years is not the unit professional astronomers usually reach for; they prefer parsecs. 1 parsec is approximately 3.26 light-years, or about 30.86 trillion kilometres (19.17 trillion miles).
The closest star system to our Sun is Alpha Centauri, whose nearest member, the red dwarf Proxima Centauri, sits roughly 4.246 light-years (about 1.30 parsecs) away. This means there isn’t a single star within 1 parsec of the Sun. Thus, we can conclude that if you ever feel like calculating the distance of any star, be assured that the parallax angle will definitely be less than 1 arcsecond.
If you’ve ever struggled with geometry in school, you know that trying to calculate really tiny angles can be frustratingly inaccurate. The same goes for this kind of calculation. The farther away the star is, the more difficult it becomes to measure the change in its half-yearly position.
From the ground, the parallax method tops out at roughly 100 parsecs because Earth’s atmosphere blurs out the tiny six-month wobble of more distant stars. From space, the picture is very different: ESA’s Hipparcos mission (1989-1993) extended parallax to about 1,000 parsecs, and ESA’s Gaia spacecraft, in operation since 2014, has now measured parallaxes for nearly 1.8 billion stars across the Milky Way, with the best ones accurate to microarcseconds, pushing reliable parallax distances out past 10,000 parsecs. Even so, the very far reaches of our own galaxy, and other galaxies, still need other methods. So… how do we calculate their distance?

The Color/ Magnitude Relationship
When you look up at the sky, some stars appear much brighter than others. Greek astronomer Hipparchus noticed this, and in 150 BC, sought to classify stars based on their brightness. This classification of stars on the basis of their perceived brightness is called apparent magnitude. Today, Hipparchus’ scale has been tweaked to suit the barrage of astronomical information that we have on hand by creating a more intricate scale. On this scale, the dimmer the star appears, the larger the apparent magnitude is. Some stars observed by the Hubble telescope can go up to 30 on this scale, whereas the Sun has an apparent magnitude of -26.8.

However, apparent magnitude can be very deceptive. If there is a star that’s very bright, but really far away, then it would appear dim to us. However, a dim star can be perceived as really bright if it is closer to the Earth. The actual brightness of a star is called luminosity. Luminosity is the amount of energy that a star produces every second. The different luminosities of stars are not measured in apparent magnitudes, but rather in absolute magnitudes.
But wait a minute! If we attempt to compare the two magnitudes, we can make an estimate of how far away the star could be from us. Think about it. Imagine a car heading right towards you. If you know the actual brightness of the headlight, then you can easily fathom the distance of the car from you based on how bright the light heading towards you seems.
Over the years, the relationship between the apparent magnitude and the absolute magnitude was mathematically derived to be:
M = m − 5 log10 DL + 5 where DL is the distance measured in parsecs.
Phew. So… now that we have both the magnitudes, we have a perfect way to calculate stellar distances and everyone lives happily ever after…. right?
Nope, hold up a second. We still don’t have a perfect way to establish what the absolute magnitude of a star is.

Obviously, unlike a car headlight, we can’t go right next to a star to determine its luminosity. So how do we manage it? One of the ways is by analyzing the color of the star. Stars can be white, blue, red or even yellow.
But don’t all stars look white? How do we know which ones are blue and which are red? Astronomers determine the color by looking through color filters. If a star seems brighter when looked at through a blue filter and not as bright when looked at through a red filter, then it’s a white or blue star, and vice versa.
Okay, so now we know the color of the star. White or blue stars are usually much brighter than yellow stars and yellow stars are brighter than red stars. Basically, the color of a star determines the surface temperature.

And this is how, ladies and gentleman, we determine the absolute magnitude of stars that are visible to us!
Now that we know a star’s apparent magnitude and absolute magnitude, we can finally calculate a star’s stellar distance with the equation!

Cepheid Variables
However, what about calculating distances between galaxies? Galaxies don’t have a single light wavelength, so how can we measure such vast distances?
Fortunately, the universe has gifted us with Cepheid variables. These are bright post-main-sequence yellow giants and supergiants caught in the so-called instability strip of the Hertzsprung-Russell diagram. They are intrinsically luminous (some shine tens of thousands of times brighter than the Sun), so they can be picked out individually even in distant galaxies, and they pulsate in regular, repeating periods, anywhere from about a day to a few months. Henrietta Swan Leavitt discovered in 1908-1912 that those periods correlate precisely with their intrinsic brightness, so a really bright Cepheid takes a longer time between pulses, and a dimmer one a shorter time. This period-luminosity relation turned Cepheids into one of astronomy's most important "standard candles."

By studying the pulses, we can determine the absolute magnitude of the Cepheid. Now that we know the absolute magnitude, we can use the previous equation to discover the star’s distance, as well as the galaxy’s distance from us.
Finally! Now we can officially calculate the gigantic distances between galaxies!

Aside from all of these explained above, there are many more methods that astronomers keep coming up with to measure stellar distances. However, we’re still working with estimates and haven’t developed a perfect way to do this. Sometimes, the stars are so far away that we even have to take the expansion of the universe into account! That doesn’t matter though… it still won’t deter all of these mathematically inclined astronomers to rise to the challenge.
References (click to expand)
- How can I measure the distance of a star? (Beginner) - Curious About Astronomy? Ask an Astronomer - curious.astro.cornell.edu
- Methods of Observational Astronomy - Earthguide. The University of California, San Diego
- How far away is Deneb? | Sky Archive | EarthSky - earthsky.org
- How are astronomers able to measure how far away a star is?. HowStuffWorks













