Energy Level Calculator using Principal Quantum Number


Energy Level Calculator using Principal Quantum Number

Calculate the energy of an electron in a hydrogen-like atom based on its principal quantum number (n) and the atom’s nuclear charge (Z).



An integer (1, 2, 3…) representing the electron shell. n=1 is the ground state.

Please enter a positive integer.



The number of protons in the nucleus (e.g., 1 for Hydrogen, 2 for Helium).

Please enter a positive integer.



Choose the unit for the calculated energy.

Energy Levels Chart

Chart showing the discrete energy levels (n=1 to 10) for the specified atom. Notice how the levels get closer together as ‘n’ increases.

Energy Levels Table


Principal Quantum Number (n) Calculated Energy
Energy values for the first 10 principal quantum numbers for the given atom.

What is Calculating Energy Using Principal Quantum Number?

Calculating the energy of an electron using its principal quantum number (n) is a fundamental concept from the Bohr model of the atom. It allows us to determine the specific, quantized energy levels an electron can occupy within a hydrogen-like atom (an atom with only one electron). The principal quantum number, ‘n’, can be any positive integer (1, 2, 3, …). A value of n=1 represents the electron’s most stable state, closest to the nucleus, known as the ground state. As ‘n’ increases, the electron occupies shells farther from the nucleus, and its energy increases (becomes less negative).

This calculation is crucial for physicists, chemists, and students studying atomic structure. It helps explain atomic emission spectra, the stability of atoms, and the foundational principles of quantum mechanics. A common misunderstanding is that this simple formula applies to all atoms; however, it is only accurate for single-electron systems like hydrogen (H), or ions like He+ or Li2+. For multi-electron atoms, electron-electron repulsions complicate the energy levels, and a more advanced quantum number calculator would be needed. This calculator focuses on the foundational Bohr model for clarity.

The Formula for Calculating Energy Using Principal Quantum Number

The energy (E) of an electron in a hydrogen-like atom is determined by a beautifully simple formula that connects it to the principal quantum number (n) and the nuclear charge (Z). The formula is:

E = -RH * (Z² / n²)

This equation shows that the energy is negative, which signifies that the electron is bound to the nucleus. An energy of zero would mean the electron is infinitely far from the nucleus and no longer bound to the atom. For more information on the model, see our article, Bohr model explained.

Variables in the Energy Level Formula
Variable Meaning Unit Typical Range
E Electron Energy Level electron-Volts (eV) or Joules (J) Negative values approaching zero
RH Rydberg Constant ~13.6 eV or ~2.18 x 10⁻¹⁸ J Constant value
Z Atomic Number (Nuclear Charge) Unitless (integer) 1, 2, 3…
n Principal Quantum Number Unitless (integer) 1, 2, 3…

Practical Examples

Example 1: Hydrogen’s First Excited State

Let’s find the energy of an electron in a hydrogen atom that has been excited to the second energy level.

  • Inputs: Principal Quantum Number (n) = 2, Atomic Number (Z) = 1
  • Unit: electron-Volts (eV)
  • Calculation: E = -13.6 eV * (1² / 2²) = -13.6 * (1 / 4) = -3.4 eV
  • Result: The energy of the electron is -3.4 eV.

Example 2: Helium Ion Ground State

Now, let’s calculate the ground state energy for a helium ion (He+), which has lost one electron and thus has Z=2 and a single electron.

  • Inputs: Principal Quantum Number (n) = 1, Atomic Number (Z) = 2
  • Unit: electron-Volts (eV)
  • Calculation: E = -13.6 eV * (2² / 1²) = -13.6 * (4 / 1) = -54.4 eV
  • Result: The ground state energy is -54.4 eV, significantly lower (more stable) than hydrogen’s due to the stronger nuclear charge. Using a Rydberg formula calculator can help verify these transitions.

How to Use This Energy Level Calculator

  1. Enter Principal Quantum Number (n): Type the integer for the desired energy shell (e.g., ‘1’ for the ground state).
  2. Enter Atomic Number (Z): Input the number of protons for the atom (e.g., ‘1’ for hydrogen).
  3. Select Energy Unit: Choose whether you want the result in electron-Volts (eV) or Joules (J). eV is more common in atomic physics.
  4. Calculate and Interpret: Click “Calculate Energy”. The result will show the electron’s energy in that state. The chart and table will update to show the energy landscape for that specific atom.

Key Factors That Affect Electron Energy Levels

  • Principal Quantum Number (n): This is the most direct factor. As ‘n’ increases, the energy level increases (becomes less negative), and the electron is, on average, farther from the nucleus.
  • Nuclear Charge (Z): A higher nuclear charge (more protons) pulls the electron closer and makes the energy levels more negative (more stable). The energy scales with Z².
  • Electron Shielding: In multi-electron atoms (not covered by this calculator’s formula), inner electrons “shield” the outer electrons from the full nuclear charge, raising their energy levels compared to the Bohr model prediction. Our guide on atomic structure basics covers this in more detail.
  • Azimuthal Quantum Number (l): For multi-electron atoms, orbitals within the same shell (same ‘n’) have slightly different energies depending on their shape (s, p, d, f orbitals). This splitting of energy levels is not present in single-electron systems.
  • Relativistic Effects: For atoms with a very high atomic number (Z), the inner electrons move at a significant fraction of the speed of light, requiring relativistic corrections to the simple energy formula.
  • External Fields: Applying a strong magnetic or electric field can split and shift the energy levels (known as the Zeeman and Stark effects, respectively).

Frequently Asked Questions (FAQ)

1. What does a negative energy value mean?

A negative energy signifies that the electron is bound to the nucleus. Energy must be supplied to the system to overcome the electrostatic attraction and remove the electron from the atom. An energy of zero corresponds to a free, unbound electron.

2. Why can’t the principal quantum number (n) be zero?

The quantum number ‘n’ must be a positive integer (1, 2, 3, …). An n=0 state is not a valid solution to the Schrödinger equation and would imply the electron is inside the nucleus, which is impossible.

3. Why do the energy levels get closer together as ‘n’ increases?

The energy is proportional to 1/n². The difference between consecutive levels (e.g., between n=1 and n=2) is much larger than the difference between higher levels (e.g., between n=5 and n=6). This convergence is clearly visible on the energy level chart.

4. Does this calculator work for all elements?

No. The formula used is for “hydrogen-like” atoms—those with only one electron. This includes the hydrogen atom (Z=1) and ions like He⁺ (Z=2), Li²⁺ (Z=3), etc. It is a foundational model for understanding quantum numbers.

5. What is an electron-Volt (eV)?

An electron-Volt is a unit of energy commonly used in atomic and particle physics. It is the amount of kinetic energy gained by a single electron when it accelerates through an electric potential difference of one volt. You can learn more in our glossary definition of an electron-volt.

6. How is this different from a photon energy calculator?

This calculator determines the *energy state* of an electron within an atom. A photon energy calculator determines the energy of a particle of light (photon), which is often emitted or absorbed when an electron transitions *between* these energy states.

7. What is the ground state?

The ground state is the lowest possible energy state that an electron can occupy. For any atom, this corresponds to the principal quantum number n=1.

8. Can I enter a non-integer for ‘n’?

No, the principal quantum number is, by definition, an integer. The energy levels of an atom are quantized, meaning they can only take on discrete, specific values, not continuous ones.

© 2026 Your Website. All rights reserved. For educational purposes only.



Leave a Reply

Your email address will not be published. Required fields are marked *