Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 37 ยท The Sun and Stars

The Sun: Our Star

Explore the Sun's layers, how nuclear fusion powers it, sunspots and the solar cycle, and calculate its surface temperature, mass loss, and lifetime in Python.

The Sun is the nearest star and the one we know best. It contains 99.86 percent of the Solar System's mass, gives all the light and heat that drive Earth's weather and life, and is a laboratory for understanding every other star.

In this lesson you will tour the Sun's layers, learn how fusion makes energy, and use a few formulas to check the Sun's temperature, its energy source, and its expected lifetime.

Vital statistics

Property Value
Radius 695,700 km (about 109 times Earth's)
Mass 1.989 ร— 10^30 kg (about 333,000 Earths)
Luminosity (power output) 3.828 ร— 10^26 W
Surface temperature about 5,772 K
Core temperature about 15 million K
Composition (by mass) about 73% hydrogen, 25% helium, 2% heavier elements
Age about 4.6 billion years

The Sun is a G-type main-sequence star, a stable, middle-aged star that fuses hydrogen in its core. Many stars are smaller and dimmer, but the Sun works in an ordinary, well-understood way.

Layers of the Sun

Inside the Sun

Core Fusion happens here
Radiative zone Light slowly diffuses
Convective zone Hot gas rises and sinks
1 / 2
  • Core (out to about a quarter of the radius): hot and dense enough for fusion.
  • Radiative zone: energy travels outward as radiation, but light keeps being absorbed and re-emitted, so it takes a very long time, tens of thousands of years or more, to get out.
  • Convective zone: the outer part, where hot gas rises and cooler gas sinks like boiling water.
  • Photosphere: the thin "surface" that we see, about 5,772 K. The Sun has no solid surface.
  • Chromosphere: a thin reddish layer above, visible during total eclipses.
  • Corona: the very hot, thin outer atmosphere, at about a million kelvin or more. Why it is hotter than the photosphere is still an active research topic.

Nuclear fusion

In the core, temperatures near 15 million K let hydrogen nuclei (protons) overcome their electric repulsion and fuse. The main chain, the proton-proton chain, turns four hydrogen nuclei into one helium nucleus. The helium nucleus has slightly less mass than the four protons. The missing mass, about 0.7 percent, becomes energy by Einstein's equation

E = m ร— cยฒ

where c is the speed of light.

Python The Sun's mass loss and energy source

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 Sun converts about 4.3 million tonnes of matter into energy every second and fuses roughly 600 million tonnes of hydrogen. It has been doing this for 4.6 billion years and has lost only a tiny fraction of its mass. The program also recovers the surface temperature (5,772 K) and the solar constant (about 1,361 W/mยฒ) from the luminosity, which shows that the numbers are consistent.

How long will the Sun last?

Only the core, about 10 percent of the Sun's hydrogen, is hot enough to fuse. We can estimate the main-sequence lifetime as the energy available divided by the power output:

t = (0.1 ร— 0.007 ร— M ร— cยฒ) / L

Python Estimating the Sun's lifetime

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 result is about 10 billion years, matching detailed models. The Sun is roughly halfway through that period. Later lessons will cover what happens to stars when the hydrogen runs out.

Sunspots and the solar cycle

Dark patches called sunspots appear on the photosphere. They are cooler (about 3,800 K) than their surroundings, so they look dark by contrast, and they mark regions of intense magnetic fields. Sunspot numbers rise and fall in a cycle of about 11 years, the solar cycle. At the peak, the Sun is more active: more flares (sudden bursts of energy) and coronal mass ejections (clouds of charged particles). When these reach Earth they can produce auroras, and strong ones can disturb satellites and power grids.

The Sun also sends out a steady stream of charged particles, the solar wind, which fills the Solar System.

Never look at the Sun through a telescope, binoculars, or a camera without a certified solar filter. Doing so can blind you in an instant. Safe ways to observe sunspots include a filter made for the front of the telescope or projecting the image onto white card.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What process powers the Sun?

    In the core, hydrogen nuclei fuse into helium, converting a small fraction of mass into energy.
  2. 2. Which layer of the Sun do we see as its surface?

    The photosphere is the layer from which most visible light escapes.
  3. 3. Why do sunspots look dark?

    Sunspots are about 3,800 K, cooler than the surrounding 5,772 K, so they appear darker.
  4. 4. About how long is the solar cycle?

    Sunspot numbers rise and fall roughly every 11 years.

Summary

  • The Sun is an ordinary G-type star with 99.86 percent of the Solar System's mass.
  • Layers: core, radiative zone, convective zone, photosphere, chromosphere, corona.
  • Fusion turns hydrogen into helium; about 0.7 percent of the mass becomes energy via E = mcยฒ.
  • The Sun converts about 4.3 million tonnes of mass into energy every second and will shine for around 10 billion years in total.
  • Sunspots follow an 11-year cycle linked to magnetic activity.

Next: Measuring Star Distances with Parallax