Physics & Chemistry
Hydrogen Spectrum Calculator (Rydberg Formula and Series)
When hydrogen gas is excited, for example in a discharge tube or a hot star, it emits light only at specific wavelengths, which appear as bright lines in its spectrum. In 1888 the Swedish physicist Johannes Rydberg found a simple formula that predicts all of them: the reciprocal of the wavelength equals a constant, now called the Rydberg constant, times the difference between the reciprocals of the squares of two whole numbers. Niels Bohr explained the formula in 1913. The electron in a hydrogen atom can occupy only certain energy levels, labelled by the principal quantum number n, with energies of about minus 13.6 electronvolts divided by n squared. When it drops from a higher level to a lower one, it emits a photon carrying exactly the energy difference. Lines that end on the same lower level form a series: the Lyman series in the ultraviolet ends on level 1, the Balmer series, partly visible, on level 2, the Paschen series in the infrared on level 3, followed by the Brackett and Pfund series. The red Balmer line from level 3 to level 2, called H-alpha, is used by astronomers to map hydrogen clouds in galaxies. The same formula, multiplied by the square of the nuclear charge Z, describes hydrogen-like ions with a single electron, such as singly ionised helium. This calculator uses the CODATA Rydberg constant, corrected for the proton's mass in the case of hydrogen, and returns the vacuum wavelength, the photon energy, the frequency, the series name, the spectrum region and the series limit.
How to use this calculator
- Enter the upper energy level n₂.
- Enter the lower energy level n₁, which sets the series.
- Keep Z = 1 for hydrogen, or enter the atomic number of a hydrogen-like ion.
- Read the wavelength, energy and frequency of the emitted photon.
- Check the series and the series limit.
Hydrogen lines in astronomy
Astronomers use hydrogen lines to measure the composition, temperature and motion of stars and galaxies. Shifts in the Balmer lines reveal how fast an object moves towards or away from us through the Doppler effect.
The 21 cm radio line of hydrogen, from a tiny energy change in the electron's spin, is not covered by the Rydberg formula but is used to map neutral hydrogen across the Milky Way.
Beyond the Bohr model
The Rydberg formula is extremely accurate for hydrogen, but precise measurements reveal tiny splittings, called fine structure and the Lamb shift, explained by relativistic quantum mechanics and quantum electrodynamics.
For atoms with more than one electron, the electrons screen each other and the simple formula no longer applies, although modified versions with quantum defects describe some alkali metal spectra.
Formula & method
1 ÷ λ = R Z² (1/n₁² − 1/n₂²)R_H = R∞ ÷ (1 + mₑ/m_p) = 1.09678 × 10⁷ m⁻¹ for hydrogen; R∞ used for Z > 1Energy levels Eₙ ≈ −13.6 eV × Z² ÷ n²Series: Lyman (n₁ = 1), Balmer (2), Paschen (3), Brackett (4), Pfund (5); wavelengths in vacuum1/λ = R Z²(1/n₁² − 1/n₂²) with R_H = R∞/(1 + mₑ/m_p) = 1.09678 × 10⁷ m⁻¹ for hydrogen and R∞ = 1.0973731568 × 10⁷ m⁻¹ for other ions.
Worked example
The H-alpha transition from n = 3 to n = 2 in hydrogen
- 1/λ = 1.09678 × 10⁷ × (1/4 − 1/9)
- = 1.09678 × 10⁷ × 0.13889 = 1.5233 × 10⁶ m⁻¹
- λ ≈ 656.47 nm (vacuum), photon energy ≈ 1.89 eV
Answer: This is the bright red H-alpha line, seen in glowing nebulae across the universe.
Frequently asked questions
What is the Rydberg constant?
It is a fundamental physical constant, R∞ ≈ 1.0973731568 × 10⁷ m⁻¹, linking atomic spectra to other constants. For hydrogen a slightly smaller value accounts for the motion of the proton.
Why is the visible spectrum of hydrogen red, blue-green and violet?
The visible Balmer lines are H-alpha at 656 nm (red), H-beta at 486 nm (blue-green), H-gamma at 434 nm and H-delta at 410 nm (violet).
What is a series limit?
It is the shortest wavelength in a series, reached as the upper level goes to infinity. For the Balmer series it is about 364.6 nm.
What is the ionisation energy of hydrogen?
About 13.6 eV, the energy needed to remove the electron from the ground state, equal to the Lyman series limit photon energy.
Why are the wavelengths in vacuum?
The Rydberg formula gives vacuum wavelengths. Wavelengths in air are about 0.03 % shorter, which is why tables often list H-alpha as 656.28 nm.
Can I use it for helium?
Only for singly ionised helium, He⁺, with Z = 2, which has one electron. Neutral helium has two electrons and a different spectrum.