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
  • Earth and Environmental Science
  • 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
Exploring the Solar System: Planets, Moons and Small Bodies
  1. 1Rocky planets and giant planets
  2. 2Moons, asteroids, comets and the Kuiper belt
  3. 3How we explore: telescopes, probes and landers
  1. Space Science and Astronomy
  2. /Exploring the Solar System: Planets, Moons and Small Bodies
  3. /Rocky planets and giant planets

Course 7.2·Lesson 1 of 3

Rocky planets and giant planets

The four inner planets are small, dense and rocky. The four outer planets are huge and made mostly of gas and ice, with low density. Gravity and temperature decide which gases a world keeps. A gas is kept if the escape speed is well above the typical speed of its molecules.

about 35 min1 simulation2 practice questions
Lesson 1 of 3Show all lessonsHide
Exploring the Solar System: Planets, Moons and Small Bodies
  1. 1Rocky planets and giant planets
  2. 2Moons, asteroids, comets and the Kuiper belt
  3. 3How we explore: telescopes, probes and landers

Try the code and the simulations beside the lesson.

Two kinds of planet

Put the eight planets in a row, in the order of their distance from the Sun. The first four are small. The last four are huge. The change is sudden. Mars is about half the width of the Earth, and Jupiter is eleven times wider.

A row of the eight planets drawn as circles to the same scale, from left to right in order of distance from the Sun: Mercury, Venus, Earth and Mars are four small circles, the largest the size of the Earth. Then Jupiter is a very large striped circle, Saturn a large pale circle with rings, and Uranus and Neptune two medium blue-green circles, each about four times the width of the Earth. A label under each gives the radius in Earth radii: Mercury 0.38, Venus 0.95, Earth 1.00, Mars 0.53, Jupiter 10.97, Saturn 9.14, Uranus 3.98, Neptune 3.87. A line above the first four reads rocky planets, and a line above the last four reads giant planets.

Terrestrial planets (from "terra", the Earth): Mercury, Venus, Earth and Mars. They are small, dense and made of rock and metal. They have a solid surface, few or no moons and no rings.

Giant planets: Jupiter, Saturn, Uranus and Neptune. They have no solid surface to stand on. They have many moons and rings.

  • Gas giants, Jupiter and Saturn, are mostly hydrogen and helium, like the Sun. Deep inside, the pressure turns the hydrogen into a liquid.
  • Ice giants, Uranus and Neptune, are mostly water, ammonia and methane under a thick layer of hydrogen and helium. These substances are called "ices" because they freeze in the cold of the outer Solar System. Inside the planet they are hot and squeezed.

Size and density

Density is mass divided by volume: ρ=m/(43πR3)\rho = m/(\frac{4}{3}\pi R^3)ρ=m/(34​πR3). It tells us what a planet is made of.

PlanetRadius (Earth = 1)Density (kg/m³)
Mercury0.380.380.38543054305430
Venus0.950.950.95524052405240
Earth1.001.001.00551055105510
Mars0.530.530.53393039303930
Jupiter10.9710.9710.97133013301330
Saturn9.149.149.14687687687
Uranus3.983.983.98127012701270
Neptune3.873.873.87164016401640

Rock has a density of about 3000 kg/m33000\ \text{kg/m}^33000 kg/m3 and iron about 7800 kg/m37800\ \text{kg/m}^37800 kg/m3. Water is 1000 kg/m31000\ \text{kg/m}^31000 kg/m3. The rocky planets have a core of iron under a rocky mantle. Mercury is dense because its iron core is very large. A giant planet is much less dense, because most of it is light gas. Saturn is less dense than water. In a huge bath it would float.

Atmospheres

  • Mercury. Almost none, only a very thin cloud of atoms. The day side is hot and the night side is cold.
  • Venus. Very thick carbon dioxide, with clouds of sulphuric acid. The air pressure at the ground is 929292 bar, about 909090 times that on the Earth. The greenhouse effect makes the ground about 464 ∘C464\ ^\circ\text{C}464 ∘C, hotter than Mercury, though Venus is farther from the Sun.
  • Earth. About 78 %78\ \%78 % nitrogen and 21 %21\ \%21 % oxygen. Liquid water and life change the air.
  • Mars. Thin carbon dioxide, with a pressure of less than 1 %1\ \%1 % of the Earth's. It is cold and dry now, but there are valleys cut by water long ago.
  • Jupiter and Saturn. Mostly hydrogen and helium, in bands of cloud and fast winds. Jupiter's Great Red Spot is a storm wider than the Earth.
  • Uranus and Neptune. Hydrogen and helium with a little methane. Methane absorbs red light, so these planets look blue-green.

Why a world keeps its air

Every gas is made of molecules that move at random. The hotter the gas, the faster they go. A light molecule such as hydrogen moves faster than a heavy one such as carbon dioxide, at the same temperature. The typical speed is

vgas=3kTm\displaystyle v_\text{gas} = \sqrt{\dfrac{3kT}{m}}vgas​=m3kT​​

where k=1.381×10−23 J/Kk = 1.381 \times 10^{-23}\ \text{J/K}k=1.381×10−23 J/K is Boltzmann's constant, TTT is the temperature in kelvin and mmm is the mass of a molecule.

A molecule escapes from a world if it moves outwards faster than the escape speed,

vesc=2GMR\displaystyle v_\text{esc} = \sqrt{\dfrac{2GM}{R}}vesc​=R2GM​​

A few molecules always move faster than average. So a rough rule is used: a world keeps a gas for billions of years if its escape speed is more than about six times the typical speed of the gas. This simple rule is only a guide. Escape really happens high in the air, where it is hotter, and Venus has lost most of its water.

Worked example. Can Mars keep carbon dioxide? Its escape speed is 5.03 km/s5.03\ \text{km/s}5.03 km/s. Carbon dioxide molecules have a mass of 44 u44\ \text{u}44 u, and the temperature is about 210 K210\ \text{K}210 K.

  1. The gas speed. v=3×1.381×10−23×210/(44×1.6605×10−27)=345 m/s=0.345 km/sv = \sqrt{3 \times 1.381 \times 10^{-23} \times 210/(44 \times 1.6605 \times 10^{-27})} = 345\ \text{m/s} = 0.345\ \text{km/s}v=3×1.381×10−23×210/(44×1.6605×10−27)​=345 m/s=0.345 km/s.
  2. The ratio. 5.03/0.345=14.65.03/0.345 = 14.65.03/0.345=14.6, which is more than 666.
  3. Answer. Mars keeps carbon dioxide, as its air shows.

Hydrogen is the lightest gas, so almost every small world loses it. This is why the Earth has little free hydrogen, and why the Moon has no air at all. The giants are so massive that they hold even hydrogen.

Gravity on other worlds

The gravity at the surface depends on the mass and the radius:

g=GMR2\displaystyle g = \dfrac{GM}{R^2}g=R2GM​

In units of the Earth's mass and radius, g=9.81 m/s2×M/R2g = 9.81\ \text{m/s}^2 \times M/R^2g=9.81 m/s2×M/R2. On Mars, M=0.107M = 0.107M=0.107 and R=0.532R = 0.532R=0.532, so g=3.71 m/s2g = 3.71\ \text{m/s}^2g=3.71 m/s2 with these rounded numbers (3.73 m/s23.73\ \text{m/s}^23.73 m/s2 with exact values). A person's mass does not change, but the weight does.

Practise with new numbers

Try it in Python

The program finds the escape speed and the typical gas speed for three worlds and three gases, and decides which gases are kept.

Predict first. Which of the three worlds keeps hydrogen? Then run it. Check with Show the answer.

1. Change the Moon's temperature 390 to 100, the night side. Does it keep any of the gases?

2. Add a gas of mass 18 for water vapour. Which worlds keep it?

Common mistakes

  • Saying that planets that are farther away are always colder, so Venus must be cooler than Mercury. Venus is hotter because of its thick carbon dioxide air.
  • Saying that giant planets are heavier for their size. They have much more mass but a much lower density.
  • Mixing up the density and the mass. A planet can have a large mass and a small density, like Saturn.
  • Thinking that the weight of a person is the mass. The mass is the same on every world. The weight changes with ggg.

Remember these

  • The terrestrial planets are Mercury, Venus, Earth and Mars: small, dense and rocky.
  • The gas giants are Jupiter and Saturn. The ice giants are Uranus and Neptune.
  • Density is ρ=m/(43πR3)\rho = m/(\frac{4}{3}\pi R^3)ρ=m/(34​πR3). Saturn is less dense than water.
  • A gas is kept if the escape speed is more than about six times the typical speed of the gas.
  • Surface gravity is g=GM/R2g = GM/R^2g=GM/R2.

Check yourself

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

  1. Why is Venus hotter than Mercury?
  1. Why does Neptune look blue?
  1. A planet has the same radius as the Earth and half the mass. How does its surface gravity compare?
  1. A moon is small and warm, and it has almost no air. How can the escape speed explain that?

References

  • OpenStax Astronomy 2e, Chapter 7 Other Worlds: An Introduction to the Solar System, sections 7.1 and 7.2.
  • OpenStax Astronomy 2e, Chapter 10 Planetary Atmospheres, section 10.1.

Enroll free in Exploring the Solar System: Planets, Moons and Small Bodies

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)

Mars has a mass of 6.417 × 10²³ kg and a mean radius of 3389.5 km…Easy · High School (9–10) · by StemPy Lab
Mars has a mass of 6.417 × 10²³ kg and a mean radius of 3389.5 km…Easy · High School (9–10) · by StemPy Lab
The air pressure at the ground on Venus is 92 bar…Medium · High School (9–10) · by StemPy Lab
Next: lesson 2Moons, asteroids, comets and the Kuiper belt
← Exploring the Solar System: Planets, Moons and Small Bodies
← PreviousMoons, asteroids, comets and the Kuiper belt →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

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

Mars has a mass of 6.417 × 10²³ kg and a mean radius of 3389.5 km…Hard · High School (9–10) · by StemPy Lab

Python Labs (1)

Planet data in codePython Lab · by StemPy Lab