Hertzsprung Russell Diagram Plotter Calculator
Plot a star on the H-R diagram using its luminosity and surface temperature. Enter values for instant results with step-by-step formulas.
Calculator
Adjust values & calculateFormula
Derived from the Stefan-Boltzmann law: L = 4 pi R^2 sigma T^4. The stellar radius relative to the Sun is calculated from the luminosity ratio and temperature ratio. Absolute magnitude is computed as Mv = 4.83 - 2.5 log10(L/L_sun).
Last reviewed: December 2025
Worked Examples
Example 1: Plotting the Sun on the HR Diagram
Example 2: Plotting Betelgeuse as a Red Supergiant
Background & Theory
The Hertzsprung Russell Diagram Plotter applies the following established principles and formulas. Astronomy and space science rely on a set of precisely defined physical relationships that allow distances, sizes, motions, and energies of celestial objects to be calculated from observational data. Kepler's three laws of planetary motion, derived empirically in the early seventeenth century, describe elliptical orbits, equal areas swept in equal times, and the harmonic law Tยฒ = aยณ, where T is the orbital period in Earth years and a is the semi-major axis in astronomical units (AU). This relationship holds for any object orbiting the Sun and can be generalized using Newton's law of gravitation. Distances in astronomy are expressed in multiple units: one light-year equals approximately 9.461 ร 10ยนโต meters, one parsec equals 3.086 ร 10ยนโถ meters or about 3.26 light-years, defined as the distance at which one AU subtends one arcsecond of parallax. Angular size is calculated as ฮธ = 206,265 ร (d / D) arcseconds, where d is the physical diameter and D is the distance. The stellar magnitude system uses Pogson's formula: m1 โ m2 = โ2.5 ร log10(F1 / F2), where F represents flux. Each magnitude step corresponds to a flux ratio of approximately 2.512, meaning a first-magnitude star is 100 times brighter than a sixth-magnitude star. Hubble's Law relates recessional velocity to distance: v = Hโd, where the Hubble constant Hโ is approximately 70 km/s/Mpc. Escape velocity from any body is given by v = โ(2GM/r), yielding 11.2 km/s for Earth. Orbital period for a circular orbit follows T = 2ฯโ(rยณ/GM). Luminosity and distance are linked by the inverse square law: F = L / (4ฯdยฒ). Stars are classified by spectral type using the mnemonic OBAFGKM, corresponding to surface temperatures from approximately 30,000 K (O-type) to under 3,500 K (M-type). Each type reflects characteristic absorption spectra tied to ionization states of elements in the stellar photosphere.
History
The history behind the Hertzsprung Russell Diagram Plotter traces back through the following developments. The history of astronomy is one of progressive scale โ each era expanding humanity's conception of the universe's size and structure. The Copernican revolution of 1543, when Nicolaus Copernicus published De revolutionibus orbium coelestium, displaced Earth from the center of the cosmos and placed the Sun at the center of the planetary system. Decades later, Galileo Galilei turned a Dutch-invented telescope toward the sky in 1609, discovering the moons of Jupiter, the phases of Venus, and the cratered surface of the Moon โ observations that provided compelling evidence for the heliocentric model and led to his conflict with the Catholic Church. Johannes Kepler, working from Tycho Brahe's meticulous naked-eye observations, derived his three laws of planetary motion between 1609 and 1619. Isaac Newton unified celestial and terrestrial mechanics with his law of universal gravitation in 1687, explaining the cause behind Kepler's empirical laws and enabling precise prediction of planetary positions. The eighteenth and nineteenth centuries brought systematic sky surveys, stellar parallax measurements, and the discovery that the Milky Way is itself a galaxy among many. Edwin Hubble's 1929 observations using the 100-inch Hooker Telescope at Mount Wilson demonstrated that galaxies are receding from us at velocities proportional to their distance โ the first direct evidence for an expanding universe and the empirical basis for Big Bang cosmology. NASA was founded in 1958 following the Sputnik shock, and the Apollo 11 mission landed humans on the Moon on July 20, 1969. The Hubble Space Telescope, launched in 1990, revolutionized observational astronomy by operating above Earth's atmosphere and producing imagery from ultraviolet to near-infrared wavelengths. The first confirmed exoplanet around a Sun-like star was detected in 1995 by Michel Mayor and Didier Queloz using the radial velocity method. The James Webb Space Telescope, launched in December 2021 and fully operational by 2022, extended infrared observations to probe the earliest galaxies formed after the Big Bang.