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
Results
Estimated Mass
1 Solar Masses
Main Sequence Lifetime
10,000,000,000 billion years
How to Use This Calculator
- Enter Luminosity (solar luminosities), Radius (solar radii), and Surface Temperature (K) from spectrophotometry.
- For a binary system, also enter Orbital Period (days) and Semi-Major Axis (AU) to enable the most precise mass estimate.
- Read Estimated Mass (solar masses) — the best combined estimate from all available methods.
- Compare Mass from Luminosity, Mass from Radius, and Mass from Orbit to assess measurement consistency.
- Use Main Sequence Lifetime (billion years) and Surface Gravity (m/s²) to characterize the stellar evolutionary stage.
How the result changes with Radius
| Radius | Estimated Mass | Main Sequence Lifetime |
|---|---|---|
| 0.5 | 0.71 Solar Masses | 23,524,000,000 billion years |
| 0.75 | 0.849 Solar Masses | 15,058,000,000 billion years |
| 1.5 | 1.33 Solar Masses | 4,902,000,000 billion years |
| 2.5 | 2.072 Solar Masses | 1,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
- Identify Input Parameters4 parametersLuminosity = 1, Radius = 1, Surface Temperature = 5778, Orbital Period (Binary) = 0 = 5 input(s) provided
- Calculate Estimated MassEstimated Mass1 = 1
- Calculate Main Sequence LifetimeMain Sequence Lifetime10000000000 = 10000000000
- Calculate Mass from LuminosityMass from Luminosity1 = 1
- Calculate Mass from RadiusMass from Radius1 = 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.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Stellar Luminosity Calculator
Calculate stellar luminosity using Stefan-Boltzmann law. Find absolute magnitude, main sequence lifetime, and stellar parameters.
Astrophysics & AstronomyOrbital Period Calculator
Calculate orbital period using Kepler's laws. Find orbital velocity, angular velocity, and perihelion/aphelion distances.
AstronomyBinary Star Orbit
Calculate the total mass of a binary star system from orbital period and semi-major axis using Kepler's Third Law.
AstronomyStar Magnitude Calculator
Calculate absolute magnitude from apparent magnitude and distance using the distance modulus formula. Includes luminosity ratio and parallax.
Discrete MathematicsRecurrence Relation Calculator
Solve linear recurrence relations a_n = p*a_{n-1} + q*a_{n-2} with given initial conditions.
More in Science & Physics.