Rydberg Formula Calculator – Hydrogen Spectral Line Wavelengths

Use this free Rydberg Formula Calculator to find the wavelength of light emitted (or absorbed) when an electron in hydrogen jumps between shells n₂ and n₁. It names the spectral series (Lyman, Balmer, Paschen...) and tells you whether the line is ultraviolet, visible or infrared.

Hydrogen's spectrum is a barcode: a set of sharp coloured lines at precise wavelengths, with eerie gaps between them. In 1888 Johannes Rydberg found the single formula that generates every line — 1/λ = R × (1/n₁² − 1/n₂²) — from nothing but two whole numbers and one constant, R = 1.097 × 10⁷ per metre. Feed this calculator the shell the electron lands on (n₁) and the shell it starts from (n₂), and it returns the line's wavelength, its photon energy, its series name and its region of the spectrum. Behind that simplicity sits the deepest fact of atomic physics: atoms emit light only at wavelengths corresponding to differences between their allowed energies.

The series structure is the formula's family tree. All jumps ending at n₁ = 1 form the Lyman series, in the ultraviolet; ending at n₁ = 2, the Balmer series — the only one landing in visible light, and the source of hydrogen's famous red, cyan, blue and violet lines; ending at n₁ = 3, 4, 5, the Paschen, Brackett and Pfund series stretch into the infrared. Within each series the lines crowd closer and closer together until they merge at the series limit, the jump from n₂ = ∞ — an electron falling in from freedom itself — whose energy is exactly the ionisation energy of the lower shell.

Rydberg Formula Calculator — formula and diagram

Long before anyone knew what an atom was, this formula predicted hydrogen lines that had not yet been observed, in parts of the spectrum no one had searched. When Bohr's model arrived in 1913 it explained why the formula works — each term 1/n² is a shell energy in disguise (13.6/n² eV) — and derived R from fundamental constants. Today the Rydberg pattern is astronomy's workhorse: the same lines, redshifted by the expansion of the universe, are how we measure the composition, temperature and recession speed of gas clouds and galaxies billions of light-years away.

n = 4 n = 3 n = 2 n = 1 3 → 2: 656.3 nm (red) 4 → 1: 97.3 nm (UV)

Formula

Rydberg formula 1/λ = R × (1/n₁² − 1/n₂²)  •  R = 1.097 × 107 m−1, n₂ > n₁ ≥ 1

The photon's energy follows from E = hc/λ, which with this formula becomes E = 13.6 × (1/n₁² − 1/n₂²) eV — the two shell energies of the Bohr model subtracted. That identity is the fastest sanity check on any result: compute the energy both ways and they must agree. The formula inverts too: measuring λ gives the bracket, and from the bracket the shells. Two conventions guard against errors: n₁ is the lower (destination) shell and n₂ the upper (starting) shell — swap them and the bracket goes negative, nature's way of flagging the mistake — and for hydrogen-like ions the constant scales to R × Z². Wavelengths here are vacuum values, as spectroscopists quote them.

SymbolMeaningUnits
λwavelength of the emitted/absorbed lightm (reported in nm)
RRydberg constant, 1.097 × 107m−1
n₁lower shell (electron ends here)—
n₂upper shell (electron starts here)—
Ephoton energy, E = hc/λeV

Reading the series: why the lines crowd together

Within any series, successive lines pack tighter as n₂ grows — Balmer's lines run 656.3, 486.2, 434.1, 410.2 nm and then squeeze toward the 364.6 nm limit. The crowding is the 1/n² ladder made visible: high shells lie close together in energy, so jumps from them release nearly identical photons. The limit itself is physically special. It is the jump from n₂ = ∞, an electron arriving from rest at infinity, so its photon carries the entire binding energy of the destination shell — 3.40 eV for Balmer (n₁ = 2), 13.6 eV for Lyman (n₁ = 1). Beyond the limit (shorter wavelengths) there are no lines at all, but a continuum: photons there carry more than the ionisation energy, and the excess becomes the freed electron's kinetic energy, which can be anything — so the spectrum smears smoothly instead of breaking into lines.

The series also fingerprint the gas's condition. A series appears in emission when electrons cascade down through excited atoms (hot, thin gas glowing), and in absorption when light passes through cooler gas whose atoms sit in the destination shell — Balmer absorption requires atoms already in n = 2, so it appears only in stars hot enough to excite hydrogen but not ionise it. The same formula, read forward and backward, thus reports both the presence of hydrogen and its temperature.

656.3 486.2 434 · 410 limit 364.6 nm the Balmer series: lines crowd toward the series limit as the upper shells crowd in energy

How to use

  1. Enter n₁, the lower shell — the one the electron ends in (1 for Lyman, 2 for Balmer, 3 for Paschen).
  2. Enter n₂, the upper shell the electron starts from; it must be a whole number bigger than n₁.
  3. Click "Calculate Wavelength" to see the line's wavelength in nanometres (and metres), the photon energy in eV, the series name and the spectral region.
  4. For absorption, use the same two shells: the atom absorbs exactly the wavelength it would emit falling the other way.

Worked examples

Example 1 — H-alpha, the red line. n₂ = 3 → n₁ = 2:
1/λ = 1.097 × 107 × (1/4 − 1/9) = 1.097 × 107 × 0.13889 = 1.524 × 106 m−1, so λ = 656.3 nm and E = 1.89 eV — Balmer series, visible red. Cross-check by energies: 13.6 × (1/4 − 1/9) = 1.889 eV ✓. This single line paints emission nebulae red and is the most-used wavelength in observational astronomy.

Example 2 — H-beta, the cyan line. n₂ = 4 → n₁ = 2: 1/λ = 1.097 × 107 × (0.25 − 0.0625) = 2.057 × 106 m−1, giving λ = 486.2 nm, E = 2.55 eV — Balmer, visible blue-green. The ratio of H-alpha to H-beta brightness in a nebula measures how much dust lies between us and it, because dust dims the bluer line more.

Example 3 — Lyman-alpha, astronomy's ultraviolet workhorse. n₂ = 2 → n₁ = 1: 1/λ = 1.097 × 107 × (1 − 0.25) = 8.228 × 106 m−1, so λ = 121.5 nm, E = 10.21 eV — Lyman series, ultraviolet. Distant galaxies are hunted by this line: stretched by cosmic expansion into visible and infrared light, it reveals some of the earliest galaxies ever seen.

Example 4 — a Paschen line. n₂ = 4 → n₁ = 3: 1/λ = 1.097 × 107 × (1/9 − 1/16) = 5.333 × 105 m−1, so λ = 1875 nm, E = 0.66 eV — Paschen series, infrared. Infrared lines like this one pierce the dust that hides star-forming regions from visible telescopes.

Example 5 — the Balmer limit. n₂ = ∞ → n₁ = 2: 1/λ = 1.097 × 107 × 0.25 = 2.743 × 106 m−1, so λ = 364.6 nm and E = 3.40 eV — exactly the binding energy of the n = 2 shell. Photons shorter than this, absorbed by hydrogen in n = 2, ionise it outright; galaxy spectra show a visible step, the Balmer break, at this wavelength.

Example 6 — the Lyman limit: ionisation itself. n₂ = ∞ → n₁ = 1: λ = 1 ÷ 1.097 × 107 = 91.2 nm, E = 13.6 eV. This is the edge of hydrogen's world: photons beyond it destroy neutral hydrogen, so the early universe was opaque to them — and the moment the first stars produced enough of them to ionise everything, the cosmic dark ages ended.

Rydberg lines in real life

Identifying elements across the universe. Every element has its own Rydberg-like pattern; hydrogen's is the template. A spectroscope pointed at a star, a nebula or a galaxy reads these barcodes to report composition, temperature, density and motion — nearly everything astronomy knows arrives encoded in such lines.

Redshift and the expanding universe. When a galaxy recedes, all its lines stretch by the same factor. Recognising the Rydberg pattern in stretched form — H-alpha found at 800 nm instead of 656.3 nm, say — gives the galaxy's redshift and hence its distance. The Hubble and Lemaître laws were built from such shifts.

Hydrogen discharge lamps. The pinkish-purple glow of a hydrogen tube, resolved by a grating, shows the Balmer quartet — the calibration standard in every school spectroscopy lab, and the standard demonstration that this formula works.

Plasma and fusion diagnostics. In tokamaks and industrial plasmas, the brightness and width of Balmer lines report the plasma's temperature and density in real time — the lines' shapes are thermometers that survive conditions no probe could touch.

Lighting and lasers. Gas-discharge lighting (neon, sodium, mercury) exploits the same principle with other elements' patterns; the hydrogen maser, meanwhile, uses a ground-state hydrogen transition to keep time with a stability of one second in millions of years.

Exoplanet atmospheres. When a planet crosses its star, starlight filters through its atmosphere and hydrogen lines deepen or shift — astronomers have detected escaping hydrogen around hot Jupiters by watching the Lyman-alpha line of a star dim as its planet transits.

Lyman (UV) Balmer Paschen Brackett & beyond (IR) ends at n=1 ends at n=2 — the only series in visible light ends at n=3, 4, 5…

Quick reference: the hydrogen series

SeriesEnds at n₁RegionFirst line (n₂ = n₁+1)Series limit
Lyman1ultraviolet121.5 nm91.2 nm
Balmer2visible656.3 nm364.6 nm
Paschen3infrared1875 nm820 nm
Brackett4infrared4052 nm1458 nm
Pfund5infrared7460 nm2280 nm

Verify a row yourself: the Pfund first line, 6 → 5, gives 1/λ = 1.097 × 107 × (1/25 − 1/36) = 1.340 × 105 m−1, λ = 7460 nm — the formula generating the whole table from two integers at a time.

One constant, measured to eleven digits

The Rydberg constant is now among the most precisely known numbers in science — measured to better than a part in a trillion by laser spectroscopy of hydrogen. That precision turns this school-level formula into a research instrument: comparing R as measured in hydrogen and in its heavy isotope deuterium reveals the nucleus's effect on the atom (the tiny mass correction that makes deuterium's lines sit slightly short of hydrogen's — the shift by which deuterium was discovered in 1932, in spectra taken for exactly this comparison). Comparing R across experiments also tests quantum electrodynamics itself: any disagreement would signal new physics. Few calculators on any website rest on a constant known this well.

Rydberg atoms and the radio sky

The formula's reach extends far past n = 7. In the cold, near-vacuum of interstellar space, hydrogen atoms survive in states with n in the hundreds, and their transitions — between neighbouring enormous orbits — fall in the radio band: the step from n = 110 to n = 109, for instance, shrinks the energy gap to a whisper of the Lyman values and produces a spectral line at radio wavelengths that telescopes have detected from nebulae across the galaxy. These radio recombination lines are precision probes of the gas between the stars — so narrow and predictable that astronomers also use them as velocity rulers, reading the Doppler shifts of distant gas clouds straight off the formula's predictions — and every one of their frequencies is a Rydberg-formula calculation with very large n. Back in the laboratory, the same giant atoms — Rydberg atoms, with radii this formula puts at micrometre scale for n ≈ 140 — are tools in their own right: exquisitely sensitive electric-field detectors and strongly interacting qubits. A formula written for a spectroscope in 1888 now calibrates radio telescopes and quantum computers alike.

One practical extension keeps the formula useful beyond hydrogen: the quantum defect. In alkali atoms such as sodium, the outer electron's low orbits dive into the core of inner electrons and feel a stronger pull than hydrogen's electron does, shifting the levels. Spectroscopists absorb the whole complication into a small correction: replace n by (n − δ), where δ — the quantum defect — is nearly constant for each orbital shape (about 1.35 for sodium's s states, near 0 for its d states). With that single tweak, the 1888 formula organises the spectra of the entire alkali column, and the size of δ itself reports how deeply each orbit penetrates the core. Few formulas in physics have been stretched so far past their original jurisdiction with so little alteration.

Common mistakes

  • Swapping n₁ and n₂. n₁ is the lower, destination shell; n₂ the upper one. Reversed, the bracket turns negative and the "wavelength" comes out negative — an impossibility that helpfully announces the error.
  • Forgetting that the formula gives 1/λ. The output of R × (1/n₁² − 1/n₂²) is in m−1 and must be inverted, then converted to nanometres (× 109). Reporting 1.524 × 106 as a wavelength is the classic slip.
  • Expecting every series in visible light. Only Balmer lines are visible. Students hunt for Lyman lines in a rainbow and Paschen lines in a prism spectrum in vain — both lie outside the eye's range entirely.
  • Using R for other elements unchanged. For hydrogen-like ions the constant scales with Z²; for neutral multi-electron atoms the simple formula fails altogether, because outer electrons shield the nucleus unevenly.
  • Assuming absorption lines sit at different wavelengths. Absorption is emission run backwards between the same two shells, so the wavelengths are identical — a star's dark Balmer lines sit exactly where a nebula's bright ones shine.

FAQ

Why do only the Balmer lines appear in visible light?
Balmer transitions (down to n = 2) happen to have energies in the visible range. Lyman lines (to n = 1) are ultraviolet and Paschen lines (to n = 3) are infrared.

What about absorption?
The same wavelengths are absorbed when an electron jumps UP from n₁ to n₂ — the atom takes in exactly the photon it would emit falling down.

Does this work for other elements?
The simple formula is exact only for hydrogen. For hydrogen-like ions, replace R with R × Z²; multi-electron atoms have more complex spectra.

What is the Rydberg constant, physically?
It is hydrogen's ionisation energy expressed as a wavenumber: R = 13.6 eV ÷ hc. Bohr's model derives it from the electron's mass and charge, Planck's constant and the speed of light — one of the first triumphs showing atomic spectra come from universal constants, not from hydrogen's private properties.

Why are the lines sharp rather than smeared?
Because the shells have exact energies. A jump between two exact levels releases one exact photon energy, hence one exact wavelength. (In real gases the lines broaden slightly — atoms move, collide and sit in fields — and those broadenings are themselves used as diagnostics.)

What is the longest-wavelength hydrogen line?
Between neighbouring very high shells the photon energy shrinks toward zero, so radio astronomers observe hydrogen recombination lines at metre wavelengths from atoms cascading around n ≈ 100–1000 in space. There is no longest line — only fainter, more fragile atoms.

How was deuterium discovered with this formula?
Deuterium's nucleus is twice as heavy, which shifts its Rydberg constant very slightly; its spectral lines sit a fraction of a nanometre short of hydrogen's. In 1932 Harold Urey found those faint companion lines exactly where the mass-corrected formula predicted — spectroscopy as a discovery tool for new isotopes.

Can the formula predict lines nobody has seen?
It did: the Paschen, Brackett and Pfund series were calculated before they were observed, and found where predicted in the infrared. A formula that tells you where to look for things not yet seen is doing real explanatory work.

Why do distant galaxies show these lines at longer wavelengths?
Cosmic expansion stretches light in flight. The pattern of spacings between lines is preserved, so astronomers recognise hydrogen's barcode even when H-alpha arrives in the infrared — the stretch factor then gives the galaxy's redshift and distance.

What happens to the photon when n₂ = n₁?
Nothing — there is no transition and no photon. The bracket is zero, 1/λ = 0, and the "wavelength" is infinite, which is the formula's way of saying no jump, no light.

Yuki Tanaka

Yuki Tanaka

Physics Editor · Modern Physics

Yuki Tanaka creates and reviews our modern physics, relativity and cosmology calculators at CalcVIP. Every calculator is checked against hand-worked examples before it is published, so the formula, the diagram and the answer all agree.

View full profile & all calculators by Tanaka →