Audited ·Last updated 29 Jul 2026·6 citations·Tier 2·0 uses

Main-Sequence Star Lifetime Calculator

Estimate a star's main-sequence lifetime from its mass on the nuclear timescale, or invert it. Every model assumption is an editable, sourced input.

Star Lifetime Calculator

What do you want to find?
1 M☉ = 1.98841 × 10³⁰ kg (PDG 2024). Empirically calibrated mass–luminosity data covers 0.179–31 M☉ (Eker et al. 2018); below about 0.08 M☉ hydrogen fusion never ignites and there is no main sequence at all.
Used in the inverse route. In Julian years of exactly 31 557 600 s. For reference, the Hipparcos age of the Hyades cluster is 0.625 ± 0.050 Gyr (Perryman et al. 1998) and the universe is 13.787 Gyr old.
The single most important assumption on this page, and an empirical fit rather than a law. 3.5 is the conventional value for roughly 2–20 M☉. Eker et al. (2018) measure it from 509 eclipsing-binary components as 2.028 (0.179–0.45 M☉), 4.572 (0.45–0.72), 5.743 (0.72–1.05), 4.329 (1.05–2.40), 3.967 (2.40–7) and 2.865 (7–31). Cannot be exactly 1 in the inverse route.
The share of the star's total mass actually consumed in the core during the main sequence. 0.1 is the standard textbook figure; the true value depends on the size of the convective core and therefore on mass and metallicity. The lifetime is exactly proportional to it.
Fraction of rest mass released as energy by 4 ¹H → ⁴He. AME2020 atomic masses give (4 × 1.00782503190 − 4.00260325413)/(4 × 1.00782503190) = 0.0071185; about 2% escapes as neutrinos, leaving ≈ 0.006976 thermally available. The conventional 0.007 sits between them.
Main-sequence lifetime (Gyr)
10.3555
t = εfMc²/L on the nuclear timescale, in billions of Julian years. An order-of-magnitude scaling estimate that assumes constant luminosity and a single power-law mass–luminosity relation — not a stellar-evolution model.
Main-sequence lifetime (years)
10,355,462,213.3
Lifetime ÷ the Sun's
1
Luminosity (L☉)
1
Luminosity (W)
382,800,000,000,000,000,000,000,000
Mass (M☉)
1
Mass (kg)
1,988,410,000,000,000,000,000,000,000,000
Hydrogen consumed (kg)
198,841,000,000,000,000,000,000,000,000
Nuclear energy reservoir (J)
125,096,564,947,000,000,000,000,000,000,000,000,000,000,000
Model assumptions and limits for this result
Nuclear-timescale estimate, not a stellar-evolution model. It assumes the star shines at a CONSTANT luminosity for its whole main sequence (real stars brighten — the Sun is about 30% brighter now than at the zero-age main sequence), a single power-law mass–luminosity relation, no mass loss, no rotation and no convective-core overshoot. All three model parameters are yours to change: the mass–luminosity exponent, the core fuel fraction and the hydrogen-burning efficiency. Read the answer as an order-of-magnitude scaling law. For this mass, Eker et al. (2018) measure an exponent of 5.743 (0.72–1.05 M☉) from 509 detached eclipsing-binary components — compare that with the value you entered. NOTE: the conventional single exponent of 3.5 is quoted for roughly 2–20 M☉. This mass is outside that band, so a single power law is a poorer approximation here than usual.

Background.

A star's main-sequence lifetime is set by a tug-of-war between two quantities that both grow with mass. The fuel supply is proportional to the mass; the rate at which the star burns it — its luminosity — grows much faster than the mass. Divide one by the other and the lifetime shrinks steeply as stars get heavier. That is why the Sun has roughly ten billion years on the main sequence while a ten-solar-mass star has about thirty-three million: ten times the fuel, but 3162 times the burn rate, so 316 times less time.

This calculator implements the nuclear timescale, t = εfMc²/L, with a power-law mass–luminosity relation L/L☉ = (M/M☉)^α. It runs in both directions: enter a mass and get a lifetime, or enter a lifetime and get the mass that lives that long.

**None of this is exact, and the page is built so you can see exactly how inexact.** Unlike the Schwarzschild pages elsewhere in this section, every ingredient here is a fit or a modelling choice, so all three are exposed as labelled, editable inputs rather than hidden constants. The exponent α is the big one. The conventional 3.5 is a coarse average quoted for roughly 2 to 20 solar masses. Eker and colleagues (2018) fitted 509 main-sequence components of detached eclipsing binaries and found the exponent is not constant at all: 2.028 below 0.45 M☉, rising to 5.743 between 0.72 and 1.05 M☉, then falling through 4.329, 3.967 and 2.865 as mass climbs to 31 M☉. The calculator tells you which of those values applies to the mass you entered, so you can compare it with what you are using. Outside 0.179–31 M☉ there is no empirically calibrated relation at all, and the page says so rather than quietly extrapolating.

The other two parameters are the core fuel fraction f and the hydrogen-burning efficiency ε. The lifetime is exactly proportional to each of them, so a factor-of-two disagreement about f is a factor-of-two disagreement about the answer. The standard textbook f = 0.1 says a star burns about a tenth of its mass in the core before leaving the main sequence; the real value depends on how large the convective core is, which depends on mass and metallicity. For ε, AME2020 atomic masses give a mass defect of 0.0071185 for 4 ¹H → ⁴He, but about 2% of that energy leaves as neutrinos and never heats the star, leaving roughly 0.006976 thermally available. The default 0.007 is the conventional rounded value and sits between the two.

What the model ignores is as important as what it includes. It assumes the star shines at a constant luminosity for its whole main-sequence life — real stars brighten as they go, and the Sun is about 30% brighter now than it was on the zero-age main sequence. It ignores mass loss, rotation, convective-core overshoot and metallicity except through whatever numbers you type in. It cannot tell you anything about post-main-sequence evolution. Read the output as a scaling law that gets the exponent right and the prefactor approximately, not as a stellar-evolution code.

One calibration that shows the honest size of the uncertainty. The Hipparcos parallax survey dates the Hyades cluster at 625 ± 50 million years (Perryman et al. 1998). Ask this calculator which mass lives exactly 0.625 Gyr and the answer depends heavily on the exponent you chose: 3.074 M☉ with the textbook α = 3.5, 2.549 M☉ with α = 4.0, and 2.324 M☉ with Eker's measured α = 4.329 for that mass range. A 24% change in the exponent moves the answer by 32%. That spread is the honest precision of this method, and it is the reason the exponent is a field you can edit rather than a number baked into the code.

What is star lifetime calculator?

The main sequence is the long, stable phase in which a star fuses hydrogen to helium in its core, and it accounts for roughly 90% of a typical star's luminous life. Its duration is the nuclear timescale: the energy available divided by the rate it is spent.

The energy available is εfMc². M is the star's mass, f is the fraction of that mass that actually passes through the core reactions, and ε is the fraction of rest mass that fusion converts to energy — about 0.7% for hydrogen to helium, which is why stars last so long compared with anything chemical. The rate it is spent is the luminosity L, and for main-sequence stars L rises steeply with mass, roughly as a power law.

Putting those together, t ∝ M/L ∝ M^(1−α). With α greater than 1, the exponent is negative and heavier stars live shorter lives. With the conventional α = 3.5 the scaling is t ∝ M^−2.5, so a star ten times the Sun's mass lives about 1/316 as long.

The mass–luminosity relation itself is empirical. It was first mapped by Eddington in the 1920s and has been recalibrated many times since, most comprehensively from detached eclipsing binaries, which give masses and radii directly rather than through a model. It is not a single power law across the whole main sequence, and this page makes the exponent your choice for that reason.

What this is not: it is not a stellar-evolution model, it does not track how the star's structure changes, it says nothing about what happens after the main sequence, and it cannot be used to date an individual star from its present appearance. It answers one question — how long does hydrogen core burning last — under stated assumptions.

How to use this calculator.

  1. Choose the forward route (mass → lifetime) or the inverse (lifetime → mass).
  2. Enter the stellar mass in solar masses, or the lifetime in billions of years.
  3. Check the mass–luminosity exponent. 3.5 is the conventional value for 2–20 M☉; the result note tells you what Eker et al. (2018) measured for the mass you entered, and changing α is by far the biggest lever on the answer.
  4. Adjust the core fuel fraction if you have a better value than the standard 0.1. The lifetime is exactly proportional to it.
  5. Adjust the hydrogen-burning efficiency if you want the raw AME2020 mass defect (0.0071185) or the neutrino-corrected value (0.006976) instead of the conventional 0.007.
  6. Read the lifetime, and read the lifetime-relative-to-the-Sun figure alongside it — that ratio depends only on mass and α, so it is the most robust number on the page.
  7. Read the model note before quoting anything. It states the constant-luminosity assumption and warns if your mass falls outside the calibrated range.

The formula.

L ⁄ L☉ = (M ⁄ M☉)^α · t = ε f M c² ⁄ L · t(M) ⁄ t(☉) = (M ⁄ M☉)^(1 − α) · inverse: M = (t ⁄ K)^(1 ⁄ (1 − α)), K = ε f M☉ c² ⁄ L☉

The nuclear timescale is a two-line argument. The energy a star can release from core hydrogen burning is E = ε f M c², where f is the fraction of the star's mass that passes through the core reactions and ε is the fraction of rest mass fusion converts. Dividing by the rate at which the star radiates gives the time it can keep doing so: t = ε f M c² / L. Substituting the power-law mass–luminosity relation L = L☉(M/M☉)^α and collecting terms gives t = K (M/M☉)^(1−α), where K = ε f M☉ c²/L☉ is the lifetime of a one-solar-mass star under the same assumptions. Inverting that gives M = (t/K)^(1/(1−α)).

With the default numbers, K works out to ε f M☉ c²/L☉ = 0.007 × 0.1 × 1.98841 × 10³⁰ × 8.987551787 × 10¹⁶ / 3.828 × 10²⁶ = 3.26794 × 10¹⁷ seconds, which is 10.355 billion years. Every other answer on the page is that number multiplied by (M/M☉)^(1−α).

Units and dimensions. Mass is entered in solar masses and reported also in kilograms; luminosity in solar luminosities and watts; lifetime in Julian years of exactly 31 557 600 s and in Gyr. The exponent, the fuel fraction, the efficiency and the lifetime-relative-to-the-Sun ratio are all dimensionless. The dimensional guard the test suite runs is that the returned energy reservoir in joules, divided by the returned luminosity in watts, reproduces the returned lifetime in seconds — J/W = s, with no constants left over.

Rounding stage. No intermediate rounding: forty significant digits throughout, rounded once at the return boundary to twelve significant digits. Decimal-place rounding was rejected because the outputs span an enormous range — a 0.08 M☉ star gets 10⁴ Gyr and a 150 M☉ star gets 10⁻⁵ Gyr, and the energy reservoir is around 10⁴⁴ joules.

Significant figures. Two, at most. The page returns twelve digits so that ratios and round-trips are checkable, but the physics does not support more than about one significant figure: the fuel fraction alone is uncertain at the tens-of-per-cent level, and the exponent choice moves the answer by more than that.

Invalid-domain behaviour. Zero or negative mass, zero or negative lifetime, a non-positive exponent, a fuel fraction outside (0, 1] and an efficiency outside (0, 1) each raise their own field error. One case is a genuine mathematical singularity rather than a guard: **an exponent of exactly 1 makes the lifetime independent of mass**, because t ∝ M^(1−α) = M⁰, so the inverse M = (t/K)^(1/(1−α)) has no solution and the page raises an error explaining why. Near that pole the inverse runs away — at α = 0.9 a 5 Gyr lifetime implies 0.000689 M☉ and at α = 1.1 it implies 1452 M☉ — and if it runs away far enough to overflow double precision the calculator refuses rather than returning Infinity. Two mass thresholds attach notes rather than errors: outside 2–20 M☉ the conventional single exponent is flagged as out of its usual band, and outside 0.179–31 M☉ the page warns that no empirically calibrated mass–luminosity relation covers the mass at all.

A worked example.

Example

Take a ten-solar-mass star — a B-type main-sequence star, the kind that ends as a supernova. The mass–luminosity relation with α = 3.5 gives L = 10^3.5 = 3162.28 L☉, which is 1.21053 × 10³⁰ W. The fuel reservoir is ε f M c² = 0.007 × 0.1 × (10 × 1.98841 × 10³⁰ kg) × c² = 1.25097 × 10⁴⁵ J, ten times the Sun's 1.25097 × 10⁴⁴ J. Dividing energy by power gives 1.25097 × 10⁴⁵ / 1.21053 × 10³⁰ = 1.03341 × 10¹⁵ seconds, which is 32.75 million years — 0.0327468 Gyr. The ratio to the Sun is the clean way to see it: (M/M☉)^(1−α) = 10^−2.5 = 1/316.23. Ten times the fuel, but 3162 times the burn rate, so 316 times less time. That ratio is worth trusting more than the absolute number, because it depends only on the mass and the exponent — the fuel fraction and the burning efficiency cancel out of it entirely. Run the Sun through the same machinery for comparison: L = 1 L☉, reservoir 1.25097 × 10⁴⁴ J, lifetime 3.26794 × 10¹⁷ s = 10.355 Gyr. That is the conventional "about ten billion years", and the Sun's measured age of roughly 4.6 Gyr puts it a little under halfway through. Swap the efficiency for the raw AME2020 mass defect of 0.0071185 and the answer rises to 10.531 Gyr — a 1.7% change, which is a fair illustration of how little the efficiency matters compared with the exponent. Now the inverse route, against a real measurement. The Hipparcos survey dates the Hyades cluster at 625 ± 50 Myr (Perryman et al. 1998). Ask which mass lives exactly 0.625 Gyr: • with the textbook α = 3.5: **3.074 M☉** • with α = 4.0: **2.549 M☉** • with Eker et al.'s measured α = 4.329 for the 1.05–2.40 M☉ range: **2.324 M☉** A 24% change in the exponent moved the inferred mass by 32%. Approached from the other direction, a 2.5 M☉ star gets 1.048 Gyr at α = 3.5 but only 0.663 Gyr at α = 4.0, because the steeper exponent gives it 39.06 L☉ instead of 24.71 L☉ and it burns through the same fuel faster. Neither answer is "the" answer; the spread between them is what this method can honestly deliver, and it is why the exponent is a field you can edit.

lifetime Gyr10.355
mass Luminosity Exponent3.5
hydrogen Burning Efficiency0.007
mass Solar10
core Fuel Fraction0.1
solve ForlifetimeFromMass

Frequently asked questions.

What is the star lifetime formula?
On the nuclear timescale, t = εfMc²/L, where M is the stellar mass, f is the fraction of it burned in the core, ε is the fraction of rest mass fusion releases (about 0.007 for hydrogen to helium), and L is the luminosity. Combining that with the empirical mass–luminosity relation L ∝ M^α gives t ∝ M^(1−α). With the conventional α = 3.5 that is t ∝ M^−2.5, so relative to the Sun a star's lifetime is (M/M☉)^−2.5 × 10.4 billion years.
How long will the Sun stay on the main sequence?
This calculator's default assumptions give 10.355 billion years, and swapping the conventional ε = 0.007 for the raw AME2020 mass defect of 0.0071185 raises that to 10.531 billion. The Sun's measured age is about 4.6 billion years, so it is a little under halfway. Treat these as one-significant-figure numbers: they depend directly on the core fuel fraction, which is a modelling assumption uncertain at the tens-of-per-cent level, and full stellar-evolution codes that track the Sun's changing structure are the right tool for a precise answer.
Why do massive stars die so much faster?
Because luminosity grows far faster than mass. A ten-solar-mass star has ten times the Sun's fuel but, at α = 3.5, it radiates 10^3.5 = 3162 times as fast — so it lasts 10/3162 = 1/316 as long, about 33 million years against the Sun's 10.4 billion. That is the entire content of t ∝ M^(1−α). It is also why the most massive stars are always young: a 30-solar-mass star lasts around two million years, which is nothing on a galactic timescale, so any you can see must have formed essentially yesterday.
Is L ∝ M^3.5 actually correct?
It is a rough average, not a law, and this page is built around admitting that. Eker et al. (2018) fitted 509 main-sequence components of detached eclipsing binaries — the systems that give masses directly rather than through a model — and found the exponent varies systematically with mass: 2.028 for 0.179–0.45 M☉, 4.572 for 0.45–0.72, 5.743 for 0.72–1.05, 4.329 for 1.05–2.40, 3.967 for 2.40–7 and 2.865 for 7–31 M☉. The single value 3.5 is a compromise usually quoted for the 2–20 M☉ range. The calculator reports the measured exponent for whatever mass you enter, and lets you use it.
What is the core fuel fraction, and why is it 0.1?
It is the share of the star's total mass that actually passes through the core hydrogen reactions before the star leaves the main sequence. Only the core is hot and dense enough to fuse, and for most stars the core is a small fraction of the whole; 0.1 is the standard textbook figure. The real value depends on how large the convective core is, which grows with mass and depends on metallicity, and on whether convective overshoot mixes in extra fuel from outside the formal core boundary. Because the lifetime is exactly proportional to f, a disagreement about it propagates one-for-one into the answer — which is why it is an editable input here rather than a hidden constant.
Where does the 0.7% efficiency come from?
From the mass defect of the reaction. Fusing four hydrogen atoms into one helium-4 atom loses mass: using AME2020 atomic masses, (4 × 1.00782503190 − 4.00260325413) ÷ (4 × 1.00782503190) = 0.0071185, or 0.71185% of the rest mass, released as energy by E = mc². About 2% of that is carried off by neutrinos, which stream straight out of the star without heating it, leaving roughly 0.006976 thermally available. The conventional rounded value 0.007 sits between the two and is the default. Compare this with chemical burning, which releases around 10⁻¹⁰ of rest mass — a factor of about 70 million less, which is why a chemically powered Sun would last thousands of years rather than billions.
Can I use this to date a star or a cluster?
Not reliably, and the Hyades makes the point. The Hipparcos age of the cluster is 625 ± 50 Myr. Ask this calculator which mass lives that long and the answer is 3.074 M☉ with the textbook α = 3.5, 2.549 M☉ with α = 4.0, or 2.324 M☉ with Eker's measured α = 4.329 for that mass range — a 32% spread driven entirely by a modelling choice. Real cluster ages come from fitting the whole colour–magnitude diagram against isochrones from stellar-evolution codes, which track the star's changing structure rather than assuming a constant luminosity. Use this page for scaling arguments and intuition, not for measurement.
What happens if the mass–luminosity exponent is exactly 1?
The lifetime becomes the same for every star, and the inverse stops existing. If L ∝ M then t ∝ M/L ∝ M⁰, a constant — so knowing the lifetime tells you nothing about the mass and M = (t/K)^(1/(1−α)) divides by zero. The calculator raises an error in the inverse route and explains why; the forward route still works and correctly returns the same lifetime for every mass. Near that pole the inverse runs away in opposite directions: at α = 0.9 a 5 Gyr lifetime implies 0.000689 M☉ and at α = 1.1 it implies 1452 M☉. If it runs far enough to overflow double precision the page refuses rather than returning Infinity.
Why does the calculator warn outside 0.179 to 31 solar masses?
Because that is the mass range Eker et al. (2018) actually measured, and outside it every mass–luminosity exponent on offer is an extrapolation past its data. There are physical limits nearby too. Below about 0.08 M☉ the core never gets hot enough to fuse hydrogen at all — the object is a brown dwarf and has no main sequence, so a "main-sequence lifetime" is meaningless. At the top end, radiation pressure and severe mass loss dominate the evolution of the most massive stars, and a model with no mass loss cannot describe them. The calculator still returns a number outside the range, because refusing would be unhelpful, but it marks it as an extrapolation.

References& sources.

  1. [1]Eker, Z., et al. (2018), "Interrelated main-sequence mass–luminosity, mass–radius, and mass–effective temperature relations", Monthly Notices of the Royal Astronomical Society 479, 5491; arXiv:1807.02568, full text retrieved 2026-07-29. Uses absolute parameters of 509 main-sequence stars from detached eclipsing spectroscopic binaries. Table 4 gives the six-piece classical mass–luminosity relation L ∝ M^α with α = 2.028 (0.179–0.45 M☉), 4.572 (0.45–0.72), 5.743 (0.72–1.05), 4.329 (1.05–2.40), 3.967 (2.40–7) and 2.865 (7–31), and states that the exponent "is smallest (α=2.028) in the ultra low mass domain … then it increases and reaches its maximum (α=5.743) in the low mass domain". This is the second, independent authority: it contradicts the single conventional exponent 3.5 everywhere, which is why α is an editable input. Peer-reviewed; open-access preprint.
  2. [2]Perryman, M. A. C., et al. (1998), "The Hyades: distance, structure, dynamics, and age", Astronomy & Astrophysics 331, 81; arXiv:astro-ph/9707253, abstract retrieved 2026-07-29. States a cluster age of 625 ± 50 Myr from Hipparcos astrometry. Used here only as an external calibration point for the inverse route; the turnoff MASS is deliberately not quoted, because the abstract does not give one. Peer-reviewed; open-access preprint.
  3. [3]Wang, M., Huang, W. J., Kondev, F. G., Audi, G. and Naimi, S. (2021), "The AME 2020 atomic mass evaluation (II)", Chinese Physics C 45, 030003. Source of the atomic masses m(¹H) = 1.00782503190 u and m(⁴He) = 4.00260325413 u from which the hydrogen-burning efficiency ε = 0.0071185 is computed. Peer-reviewed; the evaluation and its data files are freely distributed by the AMDC. Bibliographic citation — the two mass values are standard and appear in every AME2020 mirror.
  4. [4]Prša, A., et al. (2016), "Nominal Values for Selected Solar and Planetary Quantities: IAU 2015 Resolution B3", Astronomical Journal 152, 41; arXiv:1510.07674, retrieved 2026-07-29. Table 1 gives the nominal solar luminosity 3.828 × 10²⁶ W used to normalise every luminosity here, and states that these are standard conversion factors rather than current best estimates of the real Sun. Peer-reviewed; open-access preprint.
  5. [5]Particle Data Group (Workman et al.), Review of Particle Physics, "Astrophysical Constants and Parameters", Table 2.1, revised August 2023; 2024 PDF retrieved 2026-07-29. Source of the solar mass M☉ = 1.98841(4) × 10³⁰ kg. Open access.
  6. [6]NIST/CODATA 2022, "Speed of light in vacuum": c = 299 792 458 m s⁻¹, exact. Retrieved 2026-07-29. Standards body; open access.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 682 calculators remain free
  • No billing is enabled
Coming soon