HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Measuring Stars: Distance, Luminosity and Temperature
  1. 1Parallax, the parsec and the light-year
  2. 2Luminosity, flux and the magnitude scale
  3. 3Black-body radiation, temperature and the size of a star
  1. Physics
  2. /Measuring Stars: Distance, Luminosity and Temperature
  3. /Luminosity, flux and the magnitude scale

Course 31.1·Lesson 2 of 3

Luminosity, flux and the magnitude scale

The luminosity LLL of a star is the power it gives out. At a distance ddd the power spreads over a sphere, so the flux is F=L/(4πd2)F = L/(4\pi d^2)F=L/(4πd2)

Lesson 2 of 3Show all lessonsHide
Measuring Stars: Distance, Luminosity and Temperature
  1. 1Parallax, the parsec and the light-year
  2. 2Luminosity, flux and the magnitude scale
  3. 3Black-body radiation, temperature and the size of a star

Try the code and the simulations beside the lesson.

A lamp in a dark street

On a dark street a street lamp nearby looks bright, and the same lamp at the far end looks faint. The lamp gives out the same power. What changes is how much of it reaches your eye. Stars work in the same way.

Luminosity and flux

The luminosity LLL of a star is the total power it radiates, in watts. The Sun's luminosity is L⊙=3.83×1026 WL_\odot = 3.83 \times 10^{26}\ \text{W}L⊙​=3.83×1026 W. The symbol ⊙\odot⊙ means the Sun.

At a distance ddd, that power spreads evenly over a sphere of area 4πd24\pi d^24πd2. The power per square metre is the flux FFF:

F=L4πd2\displaystyle F = \dfrac{L}{4\pi d^2}F=4πd2L​

Its unit is W/m2\text{W/m}^2W/m2. Cambridge A-Level calls it the radiant flux intensity. IB calls it the apparent brightness and writes bbb. All three names mean the same thing. This is the inverse-square law: at twice the distance, the flux is a quarter.

Worked example: the Sun's luminosity from a solar panel

Above the air, the Sun's flux at the Earth is the solar constant, 1361 W/m21361\ \text{W/m}^21361 W/m2. The Earth is 1 AU1\ \text{AU}1 AU from the Sun. We want LLL, so L=4πd2FL = 4\pi d^2 FL=4πd2F.

L=4π(1.496×1011 m)2\displaystyle L = 4\pi (1.496 \times 10^{11}\ \text{m})^2L=4π(1.496×1011 m)2
×1361 W/m2\displaystyle \qquad \times 1361\ \text{W/m}^2×1361 W/m2
L=3.83×1026 W\displaystyle L = 3.83 \times 10^{26}\ \text{W}L=3.83×1026 W

A light meter on a satellite and a known distance give the power of the whole Sun.

Distance from brightness

If we know the luminosity of a star, a measured flux gives its distance:

d=L4πF\displaystyle d = \sqrt{\dfrac{L}{4\pi F}}d=4πFL​​

An object of known luminosity is called a standard candle. Standard candles are how we reach other galaxies, in the third course.

The magnitude scale

About 210021002100 years ago, Hipparchus sorted the stars by eye into six classes. The brightest were "first magnitude", the faintest "sixth magnitude". The eye responds to ratios of brightness, not differences. So the modern scale is a logarithmic one:

m1−m2=−2.5log⁡10F1F2\displaystyle m_1 - m_2 = -2.5\log_{10}\dfrac{F_1}{F_2}m1​−m2​=−2.5log10​F2​F1​​

Here mmm is the apparent magnitude. Two facts follow.

  • A larger magnitude means a fainter star. Very bright objects have negative magnitudes.
  • A difference of 555 magnitudes is a factor of exactly 100100100 in flux. One magnitude is a factor of 1001/5=2.512100^{1/5} = 2.5121001/5=2.512.
A number line of apparent magnitudes from minus 27 on the left to plus 30 on the right, with brighter objects to the left. Marked on it are the Sun at minus 26.7, the full Moon at minus 12.7, Venus at its brightest at minus 4.6, Sirius at minus 1.5, the faintest stars seen by eye on a dark night at about plus 6, and the faintest objects in deep telescope images at about plus 30. Under the line, a bracket shows that a step of 5 magnitudes is a factor of 100 in brightness.

Absolute magnitude and the distance modulus

The apparent magnitude depends on distance. To compare stars fairly, we imagine each one at 10 pc10\ \text{pc}10 pc. The absolute magnitude MMM is the apparent magnitude a star would have at 10 pc10\ \text{pc}10 pc. The inverse-square law then gives the distance modulus:

m−M=5log⁡10d10 pc\displaystyle m - M = 5\log_{10}\dfrac{d}{10\ \text{pc}}m−M=5log10​10 pcd​

A star nearer than 10 pc10\ \text{pc}10 pc has mmm smaller than MMM. The Sun has M=4.83M = 4.83M=4.83, and at 1 AU1\ \text{AU}1 AU its apparent magnitude is −26.74-26.74−26.74. Dust between the stars dims starlight. We leave that out unless a question says otherwise.

Worked example: a star of 25 L⊙25\ L_\odot25 L⊙​ at 40 pc40\ \text{pc}40 pc

  1. The flux. d=40×3.086×1016 m=1.234×1018 md = 40 \times 3.086 \times 10^{16}\ \text{m} = 1.234 \times 10^{18}\ \text{m}d=40×3.086×1016 m=1.234×1018 m. Then F=L/(4πd2)=5.00×10−10 W/m2F = L/(4\pi d^2) = 5.00 \times 10^{-10}\ \text{W/m}^2F=L/(4πd2)=5.00×10−10 W/m2.
  2. The absolute magnitude. It is 2.5log⁡1025=3.492.5\log_{10}25 = 3.492.5log10​25=3.49 magnitudes brighter than the Sun's: M=4.83−3.49=1.34M = 4.83 - 3.49 = 1.34M=4.83−3.49=1.34.
  3. The apparent magnitude. m=M+5log⁡10(40/10)=1.34+3.01=4.35m = M + 5\log_{10}(40/10) = 1.34 + 3.01 = 4.35m=M+5log10​(40/10)=1.34+3.01=4.35.
  4. Check. A star at 4.354.354.35 is easy to see by eye, as the limit is about 666.

Where this sits in your syllabus. Cambridge A-Level and IB use luminosity, flux and the inverse-square law. Magnitudes are not in either syllabus, but olympiads and astronomy books use them everywhere, so we teach both.

Keep the luminosity at 111 and move the star to 10 pc10\ \text{pc}10 pc. The apparent magnitude equals the absolute magnitude. Now move it to 100 pc100\ \text{pc}100 pc. By how many magnitudes does it fade?

Practise with new numbers

Try it in Python

The program takes a star of known luminosity to five distances. It prints the flux and the apparent magnitude at each one.

Predict first. When the distance goes from 10 pc10\ \text{pc}10 pc to 100 pc100\ \text{pc}100 pc, by how many magnitudes does the star fade? Then run it. Check with Show the answer.

1. Change L_sun = 1.0 to L_sun = 100.0. What happens to every magnitude?

2. At what distance does a Sun-like star reach magnitude 666, the limit of the eye?

Common mistakes

  • Forgetting to square the distance. F=L/(4πd2)F = L/(4\pi d^2)F=L/(4πd2), not L/(4πd)L/(4\pi d)L/(4πd).
  • Reading the magnitude scale the wrong way. A larger magnitude is a fainter star.
  • Thinking one magnitude is a factor of 101010. It is a factor of 2.5122.5122.512. Five magnitudes are a factor of 100100100.
  • Mixing up mmm and MMM. MMM is the magnitude at 10 pc10\ \text{pc}10 pc, which measures luminosity.
  • Forgetting the 10 pc10\ \text{pc}10 pc. The distance modulus gives d/(10 pc)d/(10\ \text{pc})d/(10 pc).

Remember these

  • Luminosity LLL: the total power of a star, in watts. L⊙=3.83×1026 WL_\odot = 3.83 \times 10^{26}\ \text{W}L⊙​=3.83×1026 W.
  • Flux: F=L/(4πd2)F = L/(4\pi d^2)F=L/(4πd2), in W/m2\text{W/m}^2W/m2.
  • Magnitudes: m1−m2=−2.5log⁡10(F1/F2)m_1 - m_2 = -2.5\log_{10}(F_1/F_2)m1​−m2​=−2.5log10​(F1​/F2​).
  • 555 magnitudes is a factor of 100100100 in flux.
  • Distance modulus: m−M=5log⁡10(d/10 pc)m - M = 5\log_{10}(d/10\ \text{pc})m−M=5log10​(d/10 pc).

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. A star is moved to three times its distance. What happens to its flux?
  1. Star A has magnitude 222 and star B has magnitude 777. Which is brighter, and by what factor?
  1. A star has m=Mm = Mm=M. How far away is it?
  1. Two stars have the same flux at the Earth. Star A is twice as far as star B. Compare their luminosities.

References

  • OpenStax Astronomy 2e, Chapter 17 Analyzing Starlight, on the brightness of stars and magnitudes.
  • OpenStax University Physics Volume 2, Chapter 16, on the intensity of electromagnetic waves.

Enroll free in Measuring Stars: Distance, Luminosity and Temperature

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A satellite above the Earth's air measures the Sun's flux as 1361 W/m², the solar constant…Hard · High School (11–12) · by StemPy Lab
A double star looks like a single point of light to the eye…Advanced · High School (11–12) · by StemPy Lab
A star of known type has an absolute magnitude of -1.0…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Black-body radiation, temperature and the size of a star
← Measuring Stars: Distance, Luminosity and Temperature
← Parallax, the parsec and the light-yearBlack-body radiation, temperature and the size of a star →

Discussion (0)

Log in to join the discussion.

Loading…

. Magnitudes measure brightness on a scale where
555
steps are a factor of
100100100
.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

A star exactly like the Sun, with L = 3.83 × 10²⁶ W, is 100 pc away…Advanced · High School (11–12) · by StemPy Lab

Python Labs (1)

Distances to the stars in codePython Lab · by StemPy Lab