The number of spectral lines formula is : if a sample of hydrogen atoms has electrons excited up to level n, the total number of different lines that can appear in its emission spectrum as the electrons fall back to the ground state is n(n − 1)/2. From n = 4, for example, the count is 4 × 3 / 2 = 6.
When the electrons stop at a lower level n₁ instead of the ground state, the total number of spectral lines formula becomes . The idea is simple counting: every pair of levels gives one line. It appears in the Class 12 atoms chapter and in Class 11 chemistry under atomic structure, and it is a favourite one mark question in JEE and NEET. See the modern physics formula sheet for the Bohr's model results it builds on.
Quick facts
Formula
to the ground stateGeneral form
,Single atom
At most n − 1 lines from level nUnit
None; it is a countWhy it works
Number of pairs from n levels,Energy of a line
Why the number of spectral lines formula works
An emission line is produced when an electron jumps from a higher level to a lower one and gives out a photon of energy . Each different pair of levels gives a different photon energy, so a different line. With n levels in play, the number of ways to pick two of them is
Another way to see it: from level n the electron can fall to n − 1 lower levels, from n − 1 to n − 2 lower levels, and so on down to one jump from level 2. The total is . Both arguments assume a large number of atoms, so every possible route is taken by some atom at the same time.
Formula for number of spectral lines between any two levels
If the electrons fall from n₂ but only as far as n₁, only the levels from n₁ to n₂ take part. That is levels with , so
Put n₁ = 1 and this reduces to n(n − 1)/2 with n = n₂. The calculator above uses the general form: enter n₂ and n₁ to get N, or enter N and one level to find the other.
| From n₂ | To n₁ | Levels involved | N |
|---|---|---|---|
| 3 | 1 | 3 | 3 |
| 4 | 1 | 4 | 6 |
| 5 | 1 | 5 | 10 |
| 6 | 1 | 6 | 15 |
| 5 | 2 | 4 | 6 |
| 6 | 3 | 4 | 6 |
Worked examples
Example 1: the basic count
Electrons in a hydrogen sample are excited to n = 5. How many spectral lines can be emitted?
Ten different lines are possible.
Example 2: stopping at n = 2
Electrons fall from n = 6 and stop at n = 2. How many lines appear, and in which series?
All ten end at or above n = 2. The four that end on n = 2 belong to the Balmer series.
Example 3: exam style with energy
Ground state hydrogen atoms absorb photons of 12.75 eV. How many lines appear in the emission spectrum that follows?
Energy after absorption: . Since eV, , so n = 4.
Six lines: three Lyman, two Balmer and one Paschen.
One atom versus many atoms
A single atom makes one jump at a time. Starting from level n, it gives the most lines if it steps down one level at a time, which yields n − 1 lines, and the fewest (one line) if it drops straight to the ground state. The formula n(n − 1)/2 counts lines from a whole sample, where different atoms take different routes at once. Read the question carefully: "a hydrogen atom" and "a sample of hydrogen atoms" have different answers.
Spectral series of hydrogen
| Series | Lower level n₁ | Region |
|---|---|---|
| Lyman | 1 | Ultraviolet |
| Balmer | 2 | Visible (and near ultraviolet) |
| Paschen | 3 | Infrared |
| Brackett | 4 | Infrared |
| Pfund | 5 | Infrared |
The wavelength of each line comes from the Rydberg formula, with for hydrogen. The counting formula tells you how many lines there are; the Rydberg formula tells you where they sit. Photon energy and wavelength are linked by , covered on the wavelength formula page. The angular momentum of each Bohr level is on the orbital angular momentum formula page.
Slips that cost marks
- Using n(n + 1)/2. The factor is n − 1, because a level cannot jump to itself.
- Using n₂ in place of Δn. When the lowest level is not 1, use the difference n₂ − n₁ in the general formula.
- Ignoring the single atom case. One atom gives at most n − 1 lines.
- Counting absorption lines the same way. In absorption from the ground state, atoms start at n = 1, so only n − 1 lines (to levels 2 through n) are seen.
- Forgetting to find n first. In energy questions, use eV to locate the level, and check that n comes out a whole number.
Frequently asked questions
What is the formula for number of spectral lines?
For electrons falling from level n to the ground state, N = n(n − 1) / 2. Between two levels n₂ and n₁, use N = (n₂ − n₁)(n₂ − n₁ + 1) / 2.
How many spectral lines are produced when an electron falls from n = 4 to n = 1?
In a sample of atoms, 4 × 3 / 2 = 6 lines. For a single atom the most it can give is 3 lines, by stepping 4 to 3 to 2 to 1.
What is the total number of spectral lines formula from n₂ to n₁?
N = Δn(Δn + 1) / 2 with Δn = n₂ − n₁. From n₂ = 5 to n₁ = 3, Δn = 2, so N = 3.
Does the number of spectral lines depend on the element?
The counting formula only uses the number of levels, so it holds for any one electron system such as H, He⁺ or Li²⁺. The wavelengths of the lines do depend on the element through Z².
Why is the number of spectral lines formula n(n − 1)/2?
Each line comes from one pair of levels, and the number of pairs that can be picked from n levels is n(n − 1) / 2.