Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Astronomy Calculators / Solar Mass Calculator
Astronomy Calculators

Solar Mass Calculator

Published onJune 19, 2025 Updated onOctober 24, 2026 5:08 am

Convert any mass in kilograms into solar masses, the unit astronomers actually quote for stars, black holes and galaxies. Paste a value in scientific notation, such as Earth at 5.972e24 kg, and the calculator divides by the Sun’s mass of 1.98847 × 1030 kg and returns the answer in the same exponential format astronomers publish.

Solar Mass Calculator
Kilograms in, solar masses (M☉) out, in scientific notation
Result in solar masses

The scale label is context only: it places the answer on the planet-to-galaxy scale described below. The number itself is always the plain division by 1.98847 × 1030 kg.

Quick Answer

Earth, at 5.972 × 1024 kg, is 3.003314e-6 solar masses: a three-millionth of the Sun. The calculator divides any kilogram mass by 1.98847 × 1030 kg and answers in scientific notation, so the Sun itself returns exactly 1.000000e+0 and the M87* black hole returns 6.500000e+9. Earth is pre-filled above; press Calculate to see it run.

Key takeaways

  • Solar masses = mass in kg ÷ 1.98847 × 1030. One division, no hidden steps.
  • The input reads scientific notation directly, which is the only practical way to type a 25-digit or 40-digit mass.
  • The output keeps six digits after the decimal point of the mantissa. That is display precision, not measurement precision.
  • One solar mass is about 333,000 Earth masses or about 1,047 Jupiter masses, handy sanity checks for any result.
On this page
  • Quick Answer
  • How to use the solar mass calculator
  • The solar mass formula and the constant behind it
  • Worked example: Earth, Jupiter, the Sun and a black hole
  • Why astronomers count in Suns instead of kilograms
  • Reading the scientific notation output
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the solar mass calculator

Enter one mass, click once, read one number. The result stays hidden until you calculate.

  1. Enter the object's mass in kilograms. Use scientific notation for anything astronomical: 5.972e24 for Earth, 1.898e27 for Jupiter. Plain numbers work too.
  2. Click Calculate solar masses. The read-only result field fills with the exponential answer and a scale label appears under it.
  3. Read the exponent first. A negative exponent means a fraction of one solar mass; a positive one means multiples of the Sun. The section below decodes the format.
  4. Copy or share with the buttons in the results box. The copied text reads "Mass in solar masses: 3.003314e-6 solar masses" for the Earth example.

Blank, non-numeric and negative entries are rejected with the alert "Please enter a valid, non-negative mass value." and no result is shown. Zero is accepted and returns 0.000000e+0.

The solar mass formula and the constant behind it

Solar masses = mass in kilograms divided by 1.98847 × 1030. The divisor is the mass of the Sun, and everything else follows from that single measured quantity.

M☉ = m ÷ (1.98847 × 1030 kg)
Reverse direction: m = M☉ × 1.98847 × 1030 kg

Two values circulate for the Sun's mass and the difference is worth knowing. This calculator uses 1.98847 × 1030 kg, the best current estimate of the Sun's actual mass. The International Astronomical Union also defines a nominal solar mass of exactly 1.988416 × 1030 kg as a fixed conversion constant, set out in the IAU 2015 Resolution B3 on nominal conversion constants and the accompanying nominal solar and planetary parameter paper, so that published conversions stay consistent even as measurements improve. The two differ by about 0.003%, far below the uncertainty in almost any mass you will convert: Earth comes out at 3.003314e-6 either way. Textbooks quoting 1.989 × 1030 kg or 2 × 1030 kg are rounding the same quantity.

The reverse direction is how published solar masses turn back into kilograms. The M87* black hole is quoted at 6.5 billion solar masses in the Event Horizon Telescope's first black hole image release; multiplying back gives 1.2925055e40 kg, which is the input used in the checks table below.

Worked example: Earth, Jupiter, the Sun and a black hole

Earth is the worked example: 5.972e24 kg divided by 1.98847e30 kg gives 3.003314e-6 solar masses. The calculator is pre-filled with Earth's mass so the example runs exactly as written.

1. Enter 5.972e24 kg→ 2. Divide by 1.98847e30→ 3. Answer: 3.003314e-6 M☉→ 4. Scale label: planet-scale mass

Four more runs of this exact tool, spanning planets to a supermassive black hole:

ObjectMass entered (kg)Tool output (M☉)Scale
Earth5.972e243.003314e-6Planet
Jupiter1.898e279.545027e-4Planet
The Sun itself1.98847e301.000000e+0Star
A 10-solar-mass star, in kg1.98847e311.000000e+1Star
M87* black hole1.2925055e406.500000e+9Supermassive black hole

M87* is a round trip: its published mass is 6.5 billion solar masses, converted to kilograms for the input and back again by the tool. Jupiter's row doubles as a check on the familiar ratio: 1 ÷ 9.545027e-4 is about 1,047, the number of Jupiter masses in one solar mass.

Why astronomers count in Suns instead of kilograms

A star's mass in kilograms is a 31-digit number nobody can compare at a glance; in solar masses it is a small figure that immediately says what kind of object you are looking at. The scale runs from planets at a millionth of a solar mass, through stars between about 0.08 and 150, to black holes in the billions.

The unit is also how the measurements arrive. Orbital periods and distances, through Kepler's third law, give masses relative to the Sun directly, which is why a planet mass calculator working from orbital data reports in solar or Jupiter masses long before anyone converts to kilograms. The same relative logic drives the black hole mass calculator for accretion-based estimates and the orbital distance calculator for period-distance problems. For nearby stars quoted by parallax instead, the star distance calculator is the companion tool.

Two thresholds make the scale label under the result useful. Below about 0.08 solar masses an object cannot sustain hydrogen fusion and is a brown dwarf rather than a true star. Above roughly 100 to 150 solar masses, stars are extraordinarily rare and short-lived. Between those lines sits nearly every star you will ever convert.

Reading the scientific notation output

The tool always answers in exponential form: 3.003314e-6 means 3.003314 × 10-6, or 0.000003003314. Read the part after the "e" first, because it carries the scale; the digits before it refine the value.

  • Negative exponent: a fraction of one solar mass. Planets live here, from e-6 (Earth) up to just under e-3 (Jupiter).
  • Exponent 0 or 1: ordinary stars, 1 to a few tens of solar masses.
  • Large positive exponent: e+9 is billions, the territory of supermassive black holes and whole galaxies.

One caution: the display keeps six digits after the decimal point of the mantissa whether or not the input justifies them. A mass quoted as "about 2 × 1030 kg" in a textbook does not become precise because the tool prints 1.005770e+0. Match the answer's precision to the input's, and treat trailing digits as display formatting.

What competing calculators miss

Converters for this keyword split into camps, and each leaves a gap:

  • Generic unit converters (unitconverters.net, JustinTOOLs, unitsconverters): they convert with a rounded 2.0 × 1030 kg solar mass, a 0.6% error baked into every answer, and print tables of 1 kg, 2 kg, 3 kg conversions that are meaningless at astronomical scale. One of them states 1 kg = 5.0302E-31 solar masses, which matches the modern constant, while its own table on the same page uses the rounded value: the page disagrees with itself.
  • vCalc's solar mass page: uses 1.98855 × 1030 kg, an older estimate, and presents the constant as the calculator. There is no worked example at real object scale.
  • Brave Calculator's solar mass page: the closest rival: the same 1.98847 × 1030 kg constant, an Earth example and a black hole example. It stops at two examples and never explains the notation its own answers require, or the nominal-versus-measured constant question.
  • The gap this page fills: the current best-estimate constant with the nominal IAU value explained, five checked runs from Earth to M87*, scientific notation accepted as input and decoded as output, and a scale label that tells you whether the answer is a planet, a star or a black hole.

Frequently asked questions

One solar mass (M☉) is the mass of the Sun, about 1.98847 × 10^30 kilograms. It is the standard unit astronomers use to express the masses of stars, black holes, galaxies and other cosmic objects.

Divide the mass in kilograms by 1.98847 × 10^30. For example, Earth's mass of 5.972 × 10^24 kg divided by 1.98847 × 10^30 gives about 3.003 × 10^-6 solar masses, which the calculator prints as 3.003314e-6.

Yes. The input accepts standard scientific notation (5.972e24, 1.898e27, 1.2925055e40), which is the practical way to enter astronomical masses. Plain decimal numbers work too.

1.98847 × 10^30 kg is the best current estimate of the Sun's actual mass. 1.988416 × 10^30 kg is the IAU's nominal conversion constant, a fixed value adopted so published conversions stay consistent, and 1.989 is a rounded textbook figure. The three differ by well under 1%, and Earth converts to 3.003314e-6 on the first two alike.

About 333,000. Divide 1.98847 × 10^30 kg by Earth's 5.972 × 10^24 kg to get roughly 332,946, usually rounded to 333,000. The Sun holds about 99.86% of all the mass in the solar system.

About 1,047. Jupiter is 9.545027e-4 solar masses on this calculator, and 1 divided by that figure is about 1,047. Jupiter is the largest planet, yet it is still under a thousandth of the Sun's mass.

Astronomical masses span an enormous range, from millionths of a solar mass for planets to billions for supermassive black holes. Scientific notation keeps every answer readable on one line, where a plain decimal for Earth would need six zeros before the first significant digit.

M☉ is the standard symbol for solar mass: the letter M with the astronomical symbol for the Sun. You will see it in journal papers, telescope releases and textbooks wherever a stellar or galactic mass is quoted.

The calculator shows the alert "Please enter a valid, non-negative mass value." and produces no result. Mass cannot be negative, and a blank box has no value to divide. Zero is accepted and returns 0.000000e+0.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. International Astronomical Union. Resolution B3 on Nominal Conversion Constants for Selected Solar and Planetary Properties (nominal solar mass parameter and conversion constants). Accessed October 24, 2026.
  2. Prsa, A., et al. Nominal Solar and Planetary Property Values, The Astronomical Journal 152:41 (nominal solar mass 1.988416 × 10^30 kg and the measured-value distinction). Accessed October 24, 2026.
  3. NASA Science. Sun: Facts (the Sun's mass and its 99.86% share of solar-system mass). Accessed October 24, 2026.
  4. NASA Science. Earth: Facts (Earth mass 5.972 × 10^24 kg used in the worked example). Accessed October 24, 2026.
  5. Event Horizon Telescope Collaboration. Astronomers Capture First Image of a Black Hole (M87* at 6.5 billion solar masses). Accessed October 24, 2026.
  6. NASA Exoplanet Archive, California Institute of Technology. Units Used in the Archive (solar mass as the working mass unit and Jupiter-mass ratios). Accessed October 24, 2026.

Related calculators

Astronomy CalculatorsSun CalculatorFor any date and any place on Earth, this calculator returns sunrise, sunset, solar noon and day length from four inputs: date, latitude, longitude and UTC offset.Astronomy CalculatorsRedshift Distance CalculatorHow far away is a galaxy whose light arrives stretched by a known redshift?Astronomy CalculatorsOrbital Distance CalculatorKepler's third law links three quantities: how far an object orbits, how long one orbit takes, and how massive the central body is.Astronomy CalculatorsStar Distance CalculatorType a star's parallax angle in arcseconds and this calculator returns its distance in light-years, with the parsec figure shown as a reading underneath.Astronomy CalculatorsLight Speed Distance CalculatorLight in a vacuum always travels at exactly 299,792,458 meters per second, which makes it the universe's most...Astronomy CalculatorsDistance Modulus CalculatorHow far away is that star?

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search