Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Astronomy
  3. /Astronomy & Astrophysics Calculators
  4. /Hertzsprung-Russell Diagram Calculator

Hertzsprung-Russell Diagram Calculator

Calculator

Results

Estimated Radius

1

R☉

Approximate B-V Index

0.16

Spectral Class Code

6

HR Zone Code

1,783

log10 Luminosity

0

dex

log10 Temperature

3.7618

dex

Main Sequence Luminosity Estimate

1

L☉

Luminosity vs Main Sequence

1

x

Results

Estimated Radius

1

R☉

Approximate B-V Index

0.16

Spectral Class Code

6

HR Zone Code

1,783

log10 Luminosity

0

dex

log10 Temperature

3.7618

dex

Main Sequence Luminosity Estimate

1

L☉

Luminosity vs Main Sequence

1

x

The Hertzsprung-Russell (H-R) Diagram Calculator helps you locate a star on the most important diagram in stellar astrophysics and identify its physical properties. The H-R diagram, developed independently by Ejnar Hertzsprung and Henry Norris Russell in the early twentieth century, plots stellar luminosity against surface temperature and reveals the underlying order of stellar diversity.

When thousands of stars are plotted on the H-R diagram, they do not scatter randomly — they cluster into distinct groups. The main sequence is a diagonal band running from hot, luminous blue stars in the upper left to cool, dim red stars in the lower right. About 90% of all stars, including the Sun, lie on the main sequence. They are burning hydrogen in their cores and are in hydrostatic equilibrium.

Above and to the right of the main sequence lie the giant and supergiant branches — evolved stars that have expanded enormously after exhausting their core hydrogen. These stars can be hundreds or thousands of times more luminous than main sequence stars of similar temperature, purely because of their larger surface area. Red giants like Arcturus and Aldebaran, and supergiants like Betelgeuse and Rigel, populate this region.

Below and to the left lie the white dwarfs — the burned-out remnants of low and medium mass stars. Small, hot, and faint, white dwarfs radiate residual thermal energy and slowly cool over billions of years. They represent the ultimate fate of stars like our Sun.

This calculator uses the entered temperature and luminosity to compute the estimated radius via the Stefan-Boltzmann law, assign a spectral class, and identify the likely H-R diagram region. The B-V color index provides a color classification connecting the spectral analysis to photometric observations.

Visual Analysis

How It Works

Radius from Stefan-Boltzmann (solar units): R = sqrt(L) x (T_sun/T)^2. Spectral class from temperature: O (>30,000 K), B (10,000-30,000 K), A (7,500-10,000 K), F (6,000-7,500 K), G (5,200-6,000 K), K (3,700-5,200 K), M (<3,700 K). H-R region identified by the combination of luminosity and temperature thresholds. B-V color index interpolated from the standard temperature-color calibration.

Understanding Your Results

H-R region 0 = Supergiant/Giant (high luminosity, high temp), region 1 = Red Giant (high luminosity, low temp), region 2 = White Dwarf (low luminosity), region 3 = Hot massive main sequence (O/B), region 4 = Main Sequence. Radius significantly larger than expected from a main sequence star of the same temperature indicates an evolved (giant or supergiant) star.

Worked Examples

Rigel (Blue Supergiant)

Inputs

temp K12130
luminosity solar120000

Results

spectral class1
stellar radius78.9
hr region0
color index BV-0.03

Rigel is a B-type supergiant. Its high luminosity and temperature place it firmly in the supergiant region of the H-R diagram, with a radius about 79 times the Sun's.

Proxima Centauri (Red Dwarf)

Inputs

temp K3042
luminosity solar0.00155

Results

spectral class6
stellar radius0.154
hr region2
color index BV1.82

Proxima Centauri, our nearest stellar neighbor, is an M-class red dwarf with temperature ~3,042 K and luminosity just 0.15% of the Sun's — placing it at the bottom of the main sequence.

Frequently Asked Questions

The main sequence is a continuous band of stars on the H-R diagram that are burning hydrogen in their cores via nuclear fusion. It spans from massive, hot, blue O-type stars (upper left) to lightweight, cool, red M-type stars (lower right). The position of a star on the main sequence is determined almost entirely by its mass.

When a star exhausts the hydrogen in its core, nuclear burning ceases and the core contracts. The gravitational energy released heats the surrounding hydrogen shell, igniting shell burning, which causes the outer envelope to expand dramatically. The star moves off the main sequence to the right on the H-R diagram, becoming a giant or supergiant.

The Harvard classification system assigns spectral types O, B, A, F, G, K, M based primarily on surface temperature, running from hottest (O, >30,000 K) to coolest (M, <3,700 K). Each class is subdivided 0-9. The Sun is G2. The mnemonic is: Oh Be A Fine Girl/Guy Kiss Me. Modern additions include L, T, Y types for brown dwarfs.

The Morgan-Keenan (MK) system adds a luminosity class to the spectral type: I = supergiant, II = bright giant, III = giant, IV = subgiant, V = main sequence (dwarf). The Sun is G2V (G-type, subclass 2, main sequence). Rigel is B8Ia (B-type, supergiant). This two-dimensional classification encodes both temperature and evolutionary state.

White dwarfs appear in the lower left of the H-R diagram — they are hot but have very small radii (about the size of Earth), so their total luminosity is low despite their high temperature. As they cool over billions of years, they move to the right along the lower part of the diagram, eventually becoming theoretically cold black dwarfs (though none have had time to cool that far yet).

Horizontal branch stars are helium-burning stars in the cores of old globular clusters. After the red giant phase, when the helium ignites in a flash, stars settle into a horizontal band on the H-R diagram burning helium in their cores. The RR Lyrae variable stars lie on the instability strip crossing the horizontal branch and are important distance indicators.

The instability strip is a nearly vertical region on the H-R diagram where stars undergo pulsations — regular expansions and contractions. Cepheid variables and RR Lyrae variables lie in this strip. Their pulsation periods are related to their luminosities (the period-luminosity relation), making them crucial as standard candles for measuring cosmic distances.

Stellar evolution tracks — computed from models — trace paths on the H-R diagram showing how a star's position changes over time. A Sun-like star spends most of its life on the main sequence, then moves right and upward as it expands into a red giant, then drifts to the lower left as a hot white dwarf. The shape of these tracks depends sensitively on mass.

An isochrone (equal time) is a line on the H-R diagram connecting all points occupied by stars of the same age but different masses. Star clusters, in which all members formed at approximately the same time, trace out isochrones on the H-R diagram. The turn-off point — where stars leave the main sequence — moves to lower luminosity with age, providing a way to determine cluster ages.

It was the first diagram to reveal that stellar properties are not random but follow systematic patterns governed by physics. It provided the empirical basis for stellar astrophysics and served as a test bed for nuclear physics, quantum mechanics, and general relativity applied to stars. Every advance in stellar theory is ultimately tested against the H-R diagram.

Sources & Methodology

Russell, H.N. (1914) — Relations between the spectra and other characteristics of the stars. Popular Astronomy 22:275-294. Hertzsprung, E. (1911) — Zur Strahlungstheorie. Carroll & Ostlie — Introduction to Modern Astrophysics.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Telescope Magnification Calculator

Astronomy & Astrophysics Calculators

Planet Weight Calculator

Astronomy & Astrophysics Calculators

Star Age Calculator

Astronomy & Astrophysics Calculators

Star Mass Calculator

Astronomy & Astrophysics Calculators

Stellar Luminosity Calculator

Astronomy & Astrophysics Calculators

Main Sequence Star Calculator

Astronomy & Astrophysics Calculators