Skip to main content
Calcimator

Stellar Mass Calculator

Calculate stellar mass using mass-luminosity relation, mass-radius relation, and orbital dynamics.

About this calculator

Mass is the hardest basic stellar property to measure directly, so this calculator estimates it three independent ways and averages two of them. The first method inverts the empirical mass-luminosity relation for main-sequence stars, L ∝ M^3.5, solving for M = L^(1/3.5) — a real but approximate power law reflecting how a star's core fusion rate (and hence its light output) scales steeply with its mass. The second inverts an approximate mass-radius relation, M = R^(1/0.8), which holds reasonably well for main-sequence stars but breaks down badly for giants, dwarfs, and post-main-sequence objects, since those have radii set by different physics than fusion pressure balance. The calculator's headline "Estimated Mass" simply averages these two independent estimates, which is a rough consistency check rather than a rigorous joint fit — if the two methods disagree substantially, that's usually a sign the star isn't a well-behaved main-sequence object.

The one genuinely precise method here only activates for binary systems: given an orbital period and semi-major axis, it applies Kepler's Third Law directly (the same 4π²a³/(GT²) relation used in the orbital-period calculator) to solve for the combined system mass, which is how astronomers actually measure stellar masses with confidence in the real world. From whichever mass estimate you get, the calculator also derives main-sequence lifetime (scaling as M⁻²·⁵, since bigger stars burn fuel disproportionately fast) and surface gravity from mass and radius. Remember the mass-from-orbit output represents the combined mass of both stars in a binary, not either one individually.

Inputs

Solar Luminosities
Solar Radii
K
days
AU

Results

Estimated Mass

1 Solar Masses

Main Sequence Lifetime

10,000,000,000 billion years

Mass from Luminosity1 Solar Masses
Mass from Radius1 Solar Masses
Mass from Orbit0 Solar Masses
Surface Gravity274.28 m/s²
How to Use This Calculator
  1. Enter Luminosity (solar luminosities), Radius (solar radii), and Surface Temperature (K) from spectrophotometry.
  2. For a binary system, also enter Orbital Period (days) and Semi-Major Axis (AU) to enable the most precise mass estimate.
  3. Read Estimated Mass (solar masses) — the best combined estimate from all available methods.
  4. Compare Mass from Luminosity, Mass from Radius, and Mass from Orbit to assess measurement consistency.
  5. Use Main Sequence Lifetime (billion years) and Surface Gravity (m/s²) to characterize the stellar evolutionary stage.

How the result changes with Radius

RadiusEstimated MassMain Sequence Lifetime
0.50.71 Solar Masses23,524,000,000 billion years
0.750.849 Solar Masses15,058,000,000 billion years
1.51.33 Solar Masses4,902,000,000 billion years
2.52.072 Solar Masses1,619,000,000 billion years

What each input means

Luminosity
Stellar luminosity
Radius
Stellar radius
Surface Temperature
Effective surface temperature
Orbital Period (Binary)
Orbital period for binary system (0 if single star)
Semi-Major Axis (Binary)
Semi-major axis for binary system

How this is calculated

Formula

M ∝ L^(1/3.5) (Mass-Luminosity Relation)

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Luminosity = 1, Radius = 1, Surface Temperature = 5778, Orbital Period (Binary) = 0 = 5 input(s) provided
  2. Calculate Estimated Mass
    Estimated Mass
    1 = 1
  3. Calculate Main Sequence Lifetime
    Main Sequence Lifetime
    10000000000 = 10000000000
  4. Calculate Mass from Luminosity
    Mass from Luminosity
    1 = 1
  5. Calculate Mass from Radius
    Mass from Radius
    1 = 1

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does the calculator average two different mass estimates instead of picking one?

Mass-from-luminosity (M = L^(1/3.5)) and mass-from-radius (M = R^(1/0.8)) are both empirical approximations, each with its own weaknesses depending on the star's evolutionary stage. Averaging them gives a rough consistency check rather than a rigorous joint fit — if the two disagree substantially, that itself is informative, since it usually signals the star isn't a well-behaved main-sequence object where these simple power laws apply cleanly.

Why do I need orbital period and semi-major axis to get a more reliable mass?

Mass-from-orbit is the only method here based on rigorous physics rather than an approximate power law: it applies Kepler's Third Law directly, the same 4π²a³/(GT²) relation used to find orbital periods, but solved in reverse for mass. This only works for binary systems where you can observe both the orbital period and separation, which is in fact how astronomers determine stellar masses with real confidence in practice.

Is the mass-from-orbit result the mass of one star or the whole binary?

It's the combined mass of both stars in the binary system, not either star individually — Kepler's Third Law as applied here solves for the total system mass that produces the observed orbital period at the given separation. Splitting that combined mass between the two individual stars requires additional information, such as their mass ratio from radial velocity data, which this calculator doesn't take as input.

Why might Main Sequence Lifetime be unreliable for a very massive or very small star?

The lifetime estimate scales as M⁻²·⁵, a simplified relation that's most trustworthy near solar mass. It's built on the same estimated mass from the luminosity/radius average, so if that estimate is already shaky for a very massive O-type star or a tiny dwarf — where the underlying mass-luminosity and mass-radius power laws are less accurate — the lifetime figure inherits and compounds that uncertainty.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Science & Physics.