Formula Bro

Math and physics formulas, explained like you are new.


Rydberg Formula

In one sentence: The Rydberg formula gives the exact color of the light that a hydrogen atom gives off when its electron drops from one energy level to a lower one.

1λ=RH(1n12−1n22)\frac{1}{\lambda} = R_H\left(\frac{1}{n_1^2} - \frac{1}{n_2^2}\right)

Read it out loud: “One over lambda equals R sub H, times, in brackets, one over n sub 1 squared, minus one over n sub 2 squared. Lambda (LAM-duh) is the wavelength of the light. R sub H is the Rydberg constant for hydrogen. n sub 1 and n sub 2 are two energy levels, whole numbers such as 1, 2 and 3, with n sub 2 the larger one. The small 2 after a number means squared, which is the number times itself.”

Before you start

The ideas and signs this page uses, explained from zero. For powers of ten, Greek letters and other notation in general, see Math basics.

Powers of ten, like 10710^{7} and 10−910^{-9}

The Rydberg constant is 1.09678×1071.09678 \times 10^{7} per meter. The 10710^{7} means 1 followed by seven zeros, which is 10,000,000, so the constant is about ten million. A nanometer is 1nm=10−91\ \text{nm} = 10^{-9} m. The minus sign means divide by ten nine times, so a nanometer is one billionth of a meter. To multiply powers of ten, add the exponents: 107×10−9=10−210^{7} \times 10^{-9} = 10^{-2}.

Wavelength λ\lambda (lambda) and the nanometer

The Greek letter λ\lambda, said LAM-duh, is the usual name for wavelength, the distance from one wave crest to the next. For light, wavelengths are often given in nanometers. Visible light runs from about 400 nm for violet to about 700 nm for red. A wavelength near 656 nm is red, so the light from hydrogen is a color you can see.

Squares and fractions, like 1n2\frac{1}{n^2}

A square means a number times itself, so n2n^2 with n=2n = 2 is 2×2=42 \times 2 = 4. The fraction 1n2\frac{1}{n^2} is one divided by that square. For n=2n = 2 it is 14=0.25\frac{1}{4} = 0.25, and for n=3n = 3 it is 19≈0.111\frac{1}{9} \approx 0.111. The bigger the level number, the smaller this fraction gets. Subtracting two fractions works like subtracting any numbers, once they share the same bottom number.

Units per meter, like m−1\text{m}^{-1}

The unit m−1\text{m}^{-1} is read ‘per meter’, which means one divided by meters. A quantity in per meter counts waves in each meter. For example, 1/λ=51/\lambda = 5 per meter means one wave crest every 0.2 meters, because 1÷5=0.21 \div 5 = 0.2. The Rydberg constant is in per meter, so the left side 1/λ1/\lambda is in per meter too.

Energy levels and light from an atom

An electron in an atom can only sit at certain energy levels, like rungs on a ladder, and it cannot sit between them. When the electron drops from a higher rung to a lower rung, the atom gives off the energy difference as one packet of light, called a photon. The photon’s color depends on its energy, so the size of the drop sets the color and the wavelength.

Subscripts, like n1n_1 and n2n_2

A small number written below a letter is a subscript. It tells similar quantities apart. n1n_1 and n2n_2 are two different level numbers, read ‘n one’ and ‘n two’. They are not multiplied together. The subscript H in RHR_H means the constant belongs to hydrogen. Subscripts are only labels, and they never change the value of a letter.

What each symbol means

SymbolMeaning

λ\lambda

The wavelength of the light the atom gives off or absorbs, in meters (m) inside the formula. Visible hydrogen light has wavelengths of about 400 to 700 nanometers, which is 4×10−74 \times 10^{-7} to 7×10−77 \times 10^{-7} m. Convert nanometers to meters before you use the formula.

RHR_H

The Rydberg constant for hydrogen, a fixed number that sets the scale of the whole pattern: 1.09678×1071.09678 \times 10^{7} m−1^{-1}, about ten million waves per meter. For a nucleus of infinite mass the value is 1.0973731568×1071.0973731568 \times 10^{7} m−1^{-1}. The small difference comes from the proton’s finite mass.

n1n_1

The lower energy level, the level the electron ends up on. It is a whole number 1, 2, 3 and so on, and it must be smaller than n2n_2. Level 1 is the lowest, closest to the nucleus. The number has no unit, because it only counts levels.

n2n_2

The higher energy level, the level the electron starts from. It is a whole number bigger than n1n_1. For example, if the electron falls from level 3 to level 2, then n2=3n_2 = 3 and n1=2n_1 = 2. Like n1n_1, it has no unit.

The formula piece by piece

n2n_2

Start with the higher level n2n_2. It is the level the electron starts from, a whole number such as 3. A bigger n2n_2 means the electron starts higher up, so it has more energy to give away when it falls.

n1n_1

The lower level n1n_1, where the electron ends up, is also a whole number, and it must be smaller than n2n_2. The smaller n1n_1 is, the bigger the energy drop, so n1=1n_1 = 1 gives the most energetic light of the pattern.

1n12−1n22\frac{1}{n_1^2} - \frac{1}{n_2^2}

Take one over each level squared, then subtract. The result is a positive fraction that depends only on the two levels. For n1=2n_1 = 2 and n2=3n_2 = 3 it equals 14−19=536\frac{1}{4} - \frac{1}{9} = \frac{5}{36}. It is positive because n2n_2 is bigger, so 1n22\frac{1}{n_2^2} is smaller than 1n12\frac{1}{n_1^2}.

RH(1n12−1n22)R_H\left(\frac{1}{n_1^2} - \frac{1}{n_2^2}\right)

Multiply that fraction by the Rydberg constant RHR_H. The constant sets the scale, and the answer is 1/λ1/\lambda, a number of waves per meter. This step turns a pure fraction into a size that belongs to real light.

1λ=RH(1n12−1n22)\frac{1}{\lambda} = R_H\left(\frac{1}{n_1^2} - \frac{1}{n_2^2}\right)

The whole formula in one sentence: one over the wavelength equals the Rydberg constant times the difference between one over the lower level squared and one over the higher level squared, so the wavelength is the reciprocal of that result.

What the formula is doing, and why

An electron in a hydrogen atom can only sit at certain energy levels, numbered by whole numbers. When it falls from a higher level n2n_2 to a lower level n1n_1, it gives off one photon of light. The Rydberg formula gives the wavelength λ\lambda of that photon. What goes in is two whole numbers, the two levels. What comes out is the wavelength, in meters or nanometers.

Why one over the wavelength? A photon’s energy is linked to its wavelength by E=hc/λE = hc/\lambda, so the energy is proportional to 1/λ1/\lambda. Writing the formula with 1/λ1/\lambda makes the energy drop between two levels a simple difference of two fractions. A large value of 1/λ1/\lambda means a big energy drop and a short wavelength, such as violet or ultraviolet light.

Why the squares? In hydrogen, the energy of level nn is a fixed amount divided by n2n^2. The levels crowd together as nn grows. The gap between levels 1 and 2 is about 10.2 eV, but the gap between levels 5 and 6 is only about 0.17 eV. The bracket is the difference of two such fractions, so it gives the size of the energy drop.

Why the minus sign? The bracket is a subtraction: one over n12n_1^2 minus one over n22n_2^2. Because n2n_2 is the larger level, its fraction is the smaller one, so the bracket comes out positive. A photon must have a positive energy, so n2n_2 must be the larger level. If you put the larger number in the n1n_1 place, the bracket turns negative and the answer makes no physical sense.

Where it applies. Johannes Rydberg built this general pattern from measured spectral lines. The formula is very accurate for hydrogen when you use the constant RHR_H above. It also works for ions that have only one electron, such as singly ionized helium, if you multiply the constant by Z2Z^2, the square of the nuclear charge. Jumps that end on level 2 form the Balmer series, mostly visible light. Jumps that end on level 1 form the Lyman series in the ultraviolet. Atoms with several electrons have extra effects that shift their lines, so the simple formula is only a rough guide for them.

An everyday picture

Think of a staircase with uneven steps. Each step has a fixed height, and a jump from one step to another releases a fixed amount of energy. The Rydberg formula is a table of those step heights. From the table you can work out the color of the light that each jump gives off. Big jumps release a lot of energy and give short wavelengths, while small jumps give longer wavelengths.

Worked example: The H-alpha line: an electron falls from level 3 to level 2

A hydrogen atom has its electron on level n2=3n_2 = 3, and it falls to level n1=2n_1 = 2. We want the wavelength of the light it gives off, using RH=1.09678×107R_H = 1.09678 \times 10^{7} m−1^{-1}. Then we will find the energy of the photon in electron volts (eV), a small unit of energy used for atoms and light.

  1. Write down the two levels. The electron starts on level 3, so n2=3n_2 = 3, and it ends on level 2, so n1=2n_1 = 2. Level 3 is the higher one, as the formula requires, because n2n_2 must be larger than n1n_1.
  2. Work out the bracket. The bracket is 1n12−1n22=122−132=14−19\frac{1}{n_1^2} - \frac{1}{n_2^2} = \frac{1}{2^2} - \frac{1}{3^2} = \frac{1}{4} - \frac{1}{9}. Using 36 as the shared bottom number gives 936−436=536≈0.13889\frac{9}{36} - \frac{4}{36} = \frac{5}{36} \approx 0.13889. The bracket is a plain number with no unit.
  3. Multiply by RHR_H and tidy the power of ten. Multiply 1.09678×0.13889≈0.152331.09678 \times 0.13889 \approx 0.15233, and keep the 10710^{7} with it: 0.15233×1070.15233 \times 10^{7}. Move the decimal point one place to the right, which makes the front number ten times bigger and lowers the exponent by one: 0.15233×107=1.5233×1060.15233 \times 10^{7} = 1.5233 \times 10^{6} per meter. This is 1/λ1/\lambda.
  4. Invert to find the wavelength. To get λ\lambda, divide 1 by 1/λ1/\lambda, so λ=11.5233×106\lambda = \frac{1}{1.5233 \times 10^{6}} m. The reciprocal of 1.5233 is about 0.6565, and the reciprocal of 10610^{6} is 10−610^{-6}. So λ≈0.6565×10−6\lambda \approx 0.6565 \times 10^{-6} m, and moving the decimal point one place to the right gives 6.565×10−76.565 \times 10^{-7} m.
  5. Convert meters to nanometers. One nanometer is 10−910^{-9} m, so a length in meters divided by 10−910^{-9} gives nanometers. Dividing 6.565×10−76.565 \times 10^{-7} m by 10−910^{-9} m gives 6.565×102=656.56.565 \times 10^{2} = 656.5 nm. The exponents subtract: −7−(−9)=2-7 - (-9) = 2.
  6. Check the color. Visible light runs from about 400 nm for violet to about 700 nm for red, so 656.5 nm sits in the red part of the rainbow. This red line is called H-alpha. It is one reason hydrogen gas glows reddish-pink in discharge tubes.
  7. Find the photon energy in electron volts. The energy of a photon is E=hc/λE = hc/\lambda. Using the shortcut hc=1239.84hc = 1239.84 eV nm, which combines Planck’s constant and the speed of light, gives E=1239.84/656.5≈1.889E = 1239.84 / 656.5 \approx 1.889 eV. One electron volt is 1.602×10−191.602 \times 10^{-19} J, so this photon carries about 1.89 eV.

Answer: The electron gives off light with a wavelength of about 656.5 nm, which is red. The photon carries about 1.89 eV of energy. The Rydberg formula gives the color, and the energy comes from the same drop between the two levels.

The numbers in this example are recomputed by script every time the site is built.

Common mistakes

Where you will meet it

Questions people ask

What are $n_1$ and $n_2$?

They are the two energy levels in one jump. n2n_2 is the higher level the electron starts from, and n1n_1 is the lower level it falls to. Both are whole numbers, and n2n_2 is always larger.

Why does the formula use one over the wavelength?

A photon’s energy is proportional to 1/λ1/\lambda, so the energy drop between levels becomes a simple difference of fractions. Taking one over the wavelength gives a number of waves per meter, which makes the pattern easy to write.

Does the same formula describe absorption?

Yes. An electron absorbs a photon of exactly the same energy when it jumps up, so the same wavelengths show up as dark lines in an absorption spectrum.

Sources

  1. Rydberg formula, Wikipedia
  2. Hydrogen spectral series, Wikipedia
  3. Fundamental physical constants, NIST

| All Quantum formulas |

Published 2026-10-22. Plain-text copy for AI agents and readers: quantum-mechanics/rydberg-formula.md.