Skip to content
Tutorials Center
My learning

Topics

Lesson 3 of 37 · Getting Started

Units and Numbers in Astronomy

Master scientific notation, SI units, solar units, and conversions between AU, light-years, and parsecs with a reusable Python converter you can edit and run.

Astronomy mixes tiny and gigantic numbers: the mass of a hydrogen atom and the mass of a galaxy. To keep calculations clean and correct, astronomers rely on a few habits: SI units, scientific notation, and sensible reference units such as the mass of the Sun.

This lesson teaches those habits and gives you a small converter you can reuse in the rest of the track. Careful unit handling prevents most mistakes in physics, so it is time well spent.

SI units: the base set

Science uses the International System of Units (SI). In astronomy you will meet these most often.

Quantity SI unit Symbol
Length meter m
Mass kilogram kg
Time second s
Temperature kelvin K
Power watt W
Force newton N

Large distances often use kilometers (1 km = 1,000 m). Temperatures in astronomy use kelvin: 0 K is absolute zero, and a temperature in kelvin equals Celsius plus 273.15. Water freezes at 273.15 K.

Scientific notation

Write a number as a × 10^n, where 1 ≤ a < 10. Examples:

  • 384,400 km = 3.844 × 10^5 km
  • 0.000 000 001 m = 1 × 10^-9 m
  • Mass of the Sun: 1.989 × 10^30 kg

Rules to remember:

  1. To multiply, multiply the coefficients and add the exponents.
  2. To divide, divide the coefficients and subtract the exponents.
  3. To compare sizes, compare the exponents first.

Worked example: How many Earth masses are in the Sun? Earth's mass is 5.972 × 10^24 kg.

(1.989 × 10^30) / (5.972 × 10^24) = 0.3331 × 10^6 = 3.331 × 10^5

So the Sun is about 333,000 times as massive as Earth.

Python Scientific notation in code

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Reference units

Sometimes SI units give awkward numbers, so astronomers use "solar units": the Sun's mass, radius, and luminosity as rulers. Here are the standard values.

Quantity Symbol Value
Solar mass M☉ 1.989 × 10^30 kg
Solar radius R☉ 6.957 × 10^8 m
Solar luminosity L☉ 3.828 × 10^26 W
Earth mass M⊕ 5.972 × 10^24 kg
Earth equatorial radius R⊕ 6,378 km
Astronomical unit AU 1.495979 × 10^11 m
Light-year ly 9.4607 × 10^15 m
Parsec pc 3.0857 × 10^16 m

Saying "a star of 2 solar masses" is clearer than "a star of 3.978 × 10^30 kg". You will use solar units constantly in the chapters on stars.

Three steps for any conversion

Write units Keep them with numbers
Convert Multiply by a ratio
Check Do the units cancel?
1 / 2

A distance converter

A conversion factor is a ratio equal to 1, such as 1 AU / 1.495979e11 m. Multiplying by it changes units but not the quantity. Here is a small tool that converts any distance into meters first, then into every other unit. Going through one base unit avoids mistakes.

Python Distance converter

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The numbers tell a story: one light-year is about 63,241 AU, and one parsec is about 3.2616 light-years.

Significant figures and honesty

Measurements are never exact. If Earth's radius is known to four digits (6,371 km), reporting an answer as 12,742.0000 km would claim a false precision. A good rule: round your answer to about the same number of significant figures as your least precise input. In this track we usually show three or four significant figures.

Python Rounding to significant figures

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Keep full precision during a calculation and round only the final answer. Rounding in the middle can build up small errors.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is 3.844 × 10^5 km written in plain digits?

    Move the decimal point five places to the right: 384,400.
  2. 2. Water freezes at 273.15 K. Which temperature in Celsius is that?

    Kelvin equals Celsius plus 273.15, so 273.15 K is 0 °C.
  3. 3. When you multiply 2 × 10^3 by 4 × 10^5, what is the result?

    Multiply the coefficients (2 × 4 = 8) and add the exponents (3 + 5 = 8).
  4. 4. Why convert through meters in the converter function?

    Converting to a single base unit, then out of it, needs one factor per unit instead of one per pair.

Summary

  • Use SI units and kelvin for temperatures in calculations.
  • Scientific notation a × 10^n keeps huge and tiny numbers manageable.
  • Solar units (mass, radius, luminosity) make stellar numbers friendly.
  • A conversion factor is a ratio equal to 1; convert via one base unit.
  • Report answers with a sensible number of significant figures.

Next: Light and the Electromagnetic Spectrum