Stellar Luminosity Calculator
Stellar luminosity from radius and temperature, observed flux and distance, or solar units, with flux and IAU 2015 bolometric magnitudes for any distance.
Luminosity Calculator
Background.
Above Earth's atmosphere, every square metre facing the Sun receives about 1,361 watts. Spread that over a whole sphere one astronomical unit in radius and the total comes to 3.8275 × 10²⁶ W, which rounds to the IAU's nominal solar luminosity of 3.828 × 10²⁶ W. That is the first way to find a star's luminosity — its total radiated power, at every wavelength and in every direction: measure the flux arriving here, know the distance, and undo the inverse-square spreading.
The second way works from the star itself. A sphere of radius R at effective temperature T radiates L = 4πR²σT⁴, the Stefan-Boltzmann law applied to a star. Put in the IAU's nominal solar radius, 6.957 × 10⁸ m, and nominal effective temperature, 5,772 K, and the result is 3.828 × 10²⁶ W again, within 2.4 parts per million of the nominal luminosity. The fourth power makes temperature the dominant term: twice the radius gives four times the luminosity, twice the temperature gives sixteen times.
Both routes rest on conventions worth knowing before you quote a number. Magnitudes here are bolometric, covering all wavelengths, so they will not match a catalogue V magnitude. The effective temperature is defined by the Stefan-Boltzmann relation rather than measured on a surface. And no correction is made for interstellar dust, which dims starlight on its way to us: a luminosity worked out from an observed flux comes out low whenever dust lies along the line of sight.
You can start from either pair of quantities, or from a luminosity in solar units, and the calculator fills in the rest: luminosity in watts and solar units, the flux at whatever distance you set, the star's radius, and its absolute and apparent bolometric magnitudes on the scale fixed by IAU 2015 Resolution B2. On that scale the Sun's absolute bolometric magnitude is 4.74 and its apparent bolometric magnitude seen from Earth is −26.83.
What is luminosity calculator?
Luminosity, L, is the total power a star emits, in watts or in multiples of the nominal solar luminosity, 3.828 × 10²⁶ W. It belongs to the star and does not depend on where it is seen from. Flux, f, is what arrives: the power crossing one square metre at the observer, which falls with the square of distance as f = L ÷ 4πd². A nearby faint star and a distant luminous one can therefore deliver identical flux, and distance is what separates them. Magnitudes restate both on a logarithmic scale that runs backwards, so smaller numbers are brighter. Absolute bolometric magnitude, M_bol, measures luminosity; apparent bolometric magnitude, m_bol, measures flux at the observer. By definition, the two coincide for a star seen from exactly 10 parsecs.
How to use this calculator.
- Choose the route that matches what you know: radius and effective temperature, an observed bolometric flux and a distance, or a luminosity in solar units.
- Enter the effective temperature in kelvin whatever the route; it is how the calculator turns a luminosity into a radius. 5,772 K is the nominal value for the Sun.
- Enter the distance in parsecs, which sets the flux and apparent magnitude. Use 10 pc if you only need absolute quantities, or 0.0000048481 pc for about one astronomical unit.
- Fill in the driving quantity for your route: radius in solar radii, flux in W/m² summed over all wavelengths, or luminosity in solar luminosities.
- Read the conventions note under the results. It repeats the bolometric and effective-temperature caveats, adds the missing-extinction warning on the flux route, and warns if the observer is closer than ten stellar radii.
The formula.
Three relations do all the work. The Stefan-Boltzmann law says a blackbody emits σT⁴ watts from each square metre, with σ = 5.670374419 × 10⁻⁸ W m⁻² K⁻⁴, exact in CODATA 2022. A star's surface is 4πR², so L = 4πR²σT⁴. Run backwards, R = √(L ÷ 4πσT⁴), which is how the radius is found on the flux and luminosity routes. The inverse-square law, f = L ÷ 4πd², spreads that power over a sphere whose radius is the observer's distance, with 1 parsec = 648,000/π au exactly, about 3.0857 × 10¹⁶ m or 206,265 au.
The magnitudes compare those powers with fixed zero points from IAU 2015 Resolution B2: M_bol = −2.5 log₁₀(L ÷ L₀) with L₀ = 3.0128 × 10²⁸ W, and m_bol = −2.5 log₁₀(f ÷ f₀) with f₀ = 2.518021002 × 10⁻⁸ W m⁻². The factor −2.5 is Pogson's convention: five magnitudes are a power ratio of exactly 100, so one magnitude is 100^(1/5) ≈ 2.512, and the minus sign keeps bright objects at small numbers. The two zero points match each other at 10 parsecs, so the difference m_bol − M_bol depends only on distance: it is 5 log₁₀(d ÷ 10 pc), the distance modulus.
The solar units are the IAU 2015 B3 nominal values: 6.957 × 10⁸ m for the radius and 3.828 × 10²⁶ W for the luminosity. They are fixed conversion factors, not the latest measurements of the real Sun, and because they were rounded independently they are not perfectly consistent with 5,772 K through the Stefan-Boltzmann law; the mismatch is a few parts per million.
The flux formula is often described as a point-source approximation, but for a star radiating evenly in all directions it holds at any distance outside the star: at d = R it reduces to σT⁴, the power leaving each square metre of the surface. The calculator still warns when the distance is under ten stellar radii, a cautious threshold of its own rather than a published standard, because that close the star fills a large part of the sky and stops behaving like a point of light.
A worked example.
Take the Sun, using the IAU nominal radius of 1 R☉ (6.957 × 10⁸ m) and effective temperature of 5,772 K, seen from 0.0000048481 pc, the length of an astronomical unit rounded to five significant figures in parsecs. The surface area is 4π × (6.957 × 10⁸)² = 6.0821 × 10¹⁸ m². Each square metre emits σT⁴ = 5.670374419 × 10⁻⁸ × 5,772⁴ = 6.2939 × 10⁷ W. Multiplying gives a luminosity of 3.828 × 10²⁶ W, or 0.999998 of the nominal solar luminosity. Against the zero point, 3.828 × 10²⁶ ÷ 3.0128 × 10²⁸ = 0.012706, and −2.5 × log₁₀(0.012706) gives an absolute bolometric magnitude of 4.74. The distance is 1.49597 × 10¹¹ m, so the sphere the light has spread over has an area of 2.8123 × 10²³ m², and the flux is 3.828 × 10²⁶ ÷ 2.8123 × 10²³ = 1,361.1839 W/m². Dividing by f₀ gives 5.4058 × 10¹⁰, and −2.5 times its logarithm is an apparent bolometric magnitude of −26.8321. Those figures land on the IAU's own: B3 sets the nominal solar irradiance at 1,361 W/m², and B2 quotes the Sun's bolometric magnitudes as about 4.74 and −26.832. At exactly 1 au the flux would be 1,361.1632 W/m²; the rounded distance accounts for the small excess.
Frequently asked questions.
Why does 1 L☉ at 5,772 K give a radius of 1.0000012 R☉ instead of exactly 1?
Is the effective temperature the temperature of the star's surface?
Why doesn't the absolute magnitude match the one in a star catalogue?
Why do brighter stars have smaller, even negative, magnitudes?
How much does an error in distance change the luminosity?
What does interstellar dust do to the result?
Why is a temperature required even when I start from the luminosity?
Why does a warning appear when the observer is very close to the star?
Why are absolute magnitudes tied to 10 parsecs?
How does this differ from the Stefan-Boltzmann law calculator?
References& sources.
- [1]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 (full text retrieved 2026-07-29). Table 1 gives the nominal solar radius 6.957 × 10⁸ m, nominal total solar irradiance 1361 W m⁻², nominal solar luminosity 3.828 × 10²⁶ W, nominal solar effective temperature 5772 K, and nominal solar mass parameter 1.327124 × 10²⁰ m³ s⁻². The paper states these "should be interpreted as standard values and not as CBEs". Peer-reviewed; open-access preprint.
- [2]Mamajek, E. E., et al. (2015), "IAU 2015 Resolution B2 on Recommended Zero Points for the Absolute and Apparent Bolometric Magnitude Scales", arXiv:1510.06262 (full resolution text retrieved 2026-07-29). Gives L₀ = 3.0128 × 10²⁸ W for M_bol = 0; f₀ = 2.518021002 × 10⁻⁸ W m⁻² for m_bol = 0; M_bol = −2.5 log L + 71.197425; m_bol = −2.5 log f − 18.997351; M_bol(Sun) ≈ 4.739996 and m_bol(Sun) ≈ −26.832; and the parsec as exactly (648000/π) au. Open-access preprint of an adopted IAU resolution.
- [3]NIST/CODATA 2022, "Stefan-Boltzmann constant": σ = 5.670 374 419 × 10⁻⁸ W m⁻² K⁻⁴, listed as exact with no standard uncertainty (a consequence of the 2019 SI redefinition fixing h, k and c). Retrieved 2026-07-29. Independent standards body; open access.
- [4]NIST/CODATA 2022, "Speed of light in vacuum": c = 299 792 458 m s⁻¹, exact. Retrieved 2026-07-29. Underpins the light-year and, through the IAU parsec definition, the distance conversions used here.
- [5]International Astronomical Union, "Measuring the Universe" (IAU public archive, retrieved 2026-07-29). Gives the astronomical unit as exactly 149 597 870 700 m per IAU 2012 Resolution B2, used here to convert the worked example's 1 au observing distance into parsecs. Independent of the arXiv resolution papers above; open access.
- [6]European Space Agency, Science & Technology education resource, "Stellar Distances" (retrieved 2026-07-29). States that absolute magnitude is "what the apparent magnitude of that star would be if it were placed exactly 10 parsecs away from the Sun", gives M = m − 5 log(D/10), and states the Pogson relation: "the difference between each step on the scale is equal to a decrease in brightness of 2.512 and (2.512)⁵ = 100". Independent of the IAU documents; open access.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 6 cited below
- Method
- L = 4πR²σT_eff⁴ · f = L ⁄ (4πd²) · M_bol = −2.5 log₁₀(L⁄L₀) · m_bol = −2.5 log₁₀(f⁄f₀)
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled