How to calculate the mass of the sun?
Step 1: Kepler’s third law
According to Newton’s form of Kepler’s third law, the orbital period of a celestial body is given as,
Where, is the orbital period,
is the gravitation constant,
is the mass of the Sun,
is the orbit semi-major axis distance.
Upon rearranging the equation we get,
Step 2: Calculate the Mass
Now for planet Earth:
Upon substituting the values we get,
Hence, the mass of the sun is .