How do scientists know the mass of the Sun?
You can calculate the Sun's mass on a calculator in about a minute, using nothing more than the length of a year and the distance to the Sun.
Updated · 6 min read
The idea: a year is a gravity measurement
Earth does not fly off in a straight line because the Sun pulls on it. The pull has to be exactly the force that keeps Earth bending around in a near-circle. Newton’s law of gravitation gives the pull, and a bit of algebra turns it into Kepler’s third law. NASA describes the law as the square of a planet’s period being proportional to the cube of its orbit size, and says Kepler’s laws were instrumental in Newton’s theory of gravitation.
Written with the constant filled in, it becomes a recipe for the central mass:
M = 4π² × a³ ÷ (G × T²)
Here a is the orbit’s size, T is the time for one lap, and G is the gravitational constant. Three measurements go in and one mass comes out. This is the same trick used on the star orbiting the black hole in our black hole article.
Step 1: collect three numbers
| Input | Value | Where it comes from |
|---|---|---|
| a: Earth-Sun distance | 149,597,870,700 m | One astronomical unit, defined as exactly this length by the IAU in 2012 |
| T: length of one orbit | 365.256 days = 31,558,118 s | NASA Earth fact sheet (sidereal period) |
| G: gravitational constant | 6.6743 × 10⁻¹¹ m³ kg⁻¹ s⁻² | NIST, CODATA 2022 |
Measuring G needs a laboratory. Henry Cavendish used a torsion balance with lead spheres in 1797 and 1798, and reported the result as the density of the Earth. Converting his figure to modern units gives G within about 1% of today’s value.
Step 2: do the arithmetic
- a³ = (1.4960 × 10¹¹ m)³ = 3.348 × 10³³ m³
- T² = (3.1558 × 10⁷ s)² = 9.959 × 10¹⁴ s²
- Top line: 4π² × a³ = 39.478 × 3.348 × 10³³ = 1.322 × 10³⁵
- Bottom line: G × T² = 6.6743 × 10⁻¹¹ × 9.959 × 10¹⁴ = 6.647 × 10⁴
- M = 1.322 × 10³⁵ ÷ 6.647 × 10⁴ = 1.988 × 10³⁰ kg
NASA lists the Sun’s mass as 1.9884 × 10³⁰ kg. The calculation matches to four figures. Strictly, the formula gives the Sun’s mass plus Earth’s, but Earth adds only 0.0003%, so it vanishes in the rounding.
Step 3: check it a second way
You can also work from speed. Earth travels one orbit circumference in one year: 2π × 1.4960 × 10¹¹ m ÷ 3.1558 × 10⁷ s = 29,785 m/s, or about 29.8 km/s. For a circular orbit the pull and the sideways speed balance when M = v² × a ÷ G. That gives (29,785)² × 1.4960 × 10¹¹ ÷ 6.6743 × 10⁻¹¹ = 1.988 × 10³⁰ kg. Same answer, different route.
A third check uses other planets entirely. The same formula, fed with the orbit sizes and periods in NASA’s fact sheets for Mercury and Jupiter, gives the following.
| Planet | Orbit size | Period | Mass from the formula |
|---|---|---|---|
| Mercury | 57.909 million km | 87.969 days | 1.9884 × 10³⁰ kg |
| Earth | 149.598 million km | 365.256 days | 1.9884 × 10³⁰ kg |
| Jupiter | 778.479 million km | 4,332.589 days | 1.9915 × 10³⁰ kg |
A world 13 times farther out than Mercury and taking 49 times longer to orbit still gives the same Sun. Jupiter is 0.15% high, and about 0.1% of that is Jupiter itself: the formula really returns the Sun’s mass plus the orbiting planet’s, and Jupiter’s mass is 1.898 × 10²⁷ kg, or 0.095% of the Sun’s. A single wrong assumption about gravity would not agree across planets like that.
One more consistency test uses the Sun’s size. With a radius of 695,700 km, the escape speed is √(2GM ÷ R) = √(2 × 6.6743 × 10⁻¹¹ × 1.9884 × 10³⁰ ÷ 6.957 × 10⁸) = 617.7 km/s. NASA lists 617.6 km/s. That is not independent of the mass, but it confirms the bookkeeping.
The same trick weighs Earth
Swap the Sun for Earth and a planet for the Moon. NASA gives the Moon’s orbit as 384,400 km across and 27.3217 days long. The calculation is 4π² × (3.844 × 10⁸ m)³ ÷ (6.6743 × 10⁻¹¹ × (2.3606 × 10⁶ s)²) = 6.03 × 10²⁴ kg. NASA lists Earth at 5.9722 × 10²⁴ kg, so the quick sum is 1% high. Subtracting the Moon’s own mass of 0.0735 × 10²⁴ kg, which the formula also includes, brings it to within 0.3%. Any body with something orbiting it can be weighed the same way.
Why the answer is not perfectly sharp
The uncertain ingredient is G, with a relative uncertainty of about 2.2 parts in 100,000 in the NIST value. The product GM, called the solar mass parameter, is much better known. The IAU working group lists it as 1.32712440041 × 10²⁰ m³ s⁻², because planetary orbits and spacecraft tracking constrain it directly. That is why astronomers often say “one solar mass” and leave the kilogram conversion for last.
Published kilogram values differ in the fifth significant figure for the same reason. The IAU 2015 nominal value is 1.988416 × 10³⁰ kg, and a best estimate is (1.988475 ± 0.000092) × 10³⁰ kg. Both round to 1.988 × 10³⁰.
Test your own sense of scale
The Sun is 109 Earths wide and 333,000 Earths heavy, and those two numbers feel unrelated. If you want to feel the jump from length to mass, the Weight Sense game asks you to judge how heavy things are from their silhouette. For sizes, line up the Sun, Earth and Jupiter in Unlimited mode or try the comparison tool. Another orbit-based calculation is in how scientists plan a trip to the Moon.
Sources
- NASA Sun fact sheet
- NASA Earth fact sheet, Mercury fact sheet and Jupiter fact sheet
- NASA Science: Orbits and Kepler’s laws
- NIST CODATA: Newtonian constant of gravitation
- Wikipedia: Astronomical unit (IAU 2012 Resolution B2)
- Wikipedia: Solar mass (IAU 2015 Resolution B3; Prša et al. 2016, Astronomical Journal 152, 41)
- Wikipedia: Cavendish experiment
Arithmetic by the author, rounded to four significant figures.
Questions and answers
Why can't scientists weigh the Sun directly?
There is no scale for it, and mass is not something you can read off a picture. Gravity is the only handle. A planet that orbits the Sun is falling around it, and how fast it falls depends on the Sun's mass. So astronomers measure the orbit and calculate the mass from it.
How many Earths would it take to equal the Sun's mass?
How precisely is the Sun's mass known?
The combination GM, the gravitational constant times the Sun's mass, is known to better than ten significant figures. The mass in kilograms is known much less precisely, because G itself is only known to about 2 parts in 100,000. A recent best estimate is 1.988475 × 10³⁰ kg with an uncertainty of 0.000092 × 10³⁰ kg.