To calculate the energy change resulting from electron changing energy levels, use:

where (Rydberg’s constant) and is the atomic number.

To calculate the energy of an electron at a certain energy level, use: