molecalculator

Moles & Molar Mass

Electron Configuration for Nitrogen (1s² 2s² 2p³)

Calculator No. 01-9623 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The electron configuration for nitrogen is 1s2 2s2 2p3. This means nitrogen’s seven electrons fill the 1s orbital (2 electrons), the 2s orbital (2 electrons), and then occupy three of the three available 2p orbitals (3 electrons), with each p orbital holding one electron before any pairing occurs.

Formula

Electron configurations are built using the Aufbau principle, which states that electrons fill atomic orbitals in order of increasing energy. The order is: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. Each orbital holds a maximum of two electrons (Pauli exclusion principle). The number of electrons equals the atomic number Z for a neutral atom. For nitrogen, Z = 7, so you count electrons: 2 (1s) + 2 (2s) + 3 (2p) = 7.

Worked Example

Using the default Z = 7 (nitrogen):

  1. Start with the lowest-energy orbital, 1s. It holds 2 electrons: 1s2 (now 2 of 7 electrons placed).
  2. Next is 2s, which also holds 2 electrons: 2s2 (now 4 of 7).
  3. Next is 2p, which has three orbitals (2px, 2py, 2pz), each holding up to 2 electrons. You have 3 electrons left (7 − 4 = 3). According to Hund’s rule, electrons occupy each p orbital singly before pairing. So each of the three 2p orbitals gets one electron: 2p3.

Total: 2 + 2 + 3 = 7 electrons. The configuration is 1s2 2s2 2p3.

Assumptions

  • The atom is neutral (number of electrons = atomic number).
  • The atom is in its ground state (lowest energy arrangement).
  • The Aufbau order applies; this is valid for nitrogen and all light elements.
  • No relativistic effects are considered (negligible for Z = 7).

Why Nitrogen’s Configuration Matters

Nitrogen’s configuration explains its chemistry. With three unpaired electrons in the 2p subshell, nitrogen has a half-filled p subshell, which is unusually stable. This is why nitrogen forms three covalent bonds (as in NH3, ammonia) and why N2 has a very strong triple bond (bond energy ≈ 941 kJ/mol), making it chemically inert at room temperature. The half-filled subshell also gives nitrogen a relatively high first ionization energy (1402 kJ/mol) compared to its neighbors carbon and oxygen.

How to Write Configurations for Other Elements

To find the configuration for any element, follow these steps:

  • Find the atomic number (Z) from the periodic table.
  • Fill orbitals in the Aufbau order, respecting the maximum 2 electrons per orbital.
  • Apply Hund’s rule when filling degenerate orbitals (same energy, like the three 2p orbitals): place one electron in each before pairing.
  • Use the noble gas shorthand for brevity: write the previous noble gas in brackets, then the remaining electrons. For nitrogen, the shorthand is [He] 2s2 2p3.

Common Mistakes and Misconceptions

  • Writing 2p3 as 2p22p1 – the superscript is the total number of electrons in the subshell, not split by orbital.
  • Pairing electrons too early – Hund’s rule requires that each p orbital gets one electron before any gets a second. So 2p3 means three unpaired electrons, not one pair and one single.
  • Using the wrong order – some students write 2p before 2s. Always fill 2s before 2p because 2s is lower in energy.
  • Forgetting that the 3d orbitals fill after 4s – this doesn’t affect nitrogen, but it’s a common error for transition metals.

Related Concepts: Valence Electrons and Lewis Structures

For nitrogen, the valence electrons are those in the outermost shell (n = 2), which are the 2s and 2p electrons: 2 + 3 = 5 valence electrons. This is why nitrogen is in group 15 of the periodic table. In Lewis structures, nitrogen is drawn with five dots (two paired in the s orbital, and three unpaired in the p orbitals). This also explains nitrogen’s common oxidation states: −3 (as in NH3), +3 (as in N2O3), and +5 (as in HNO3).

Frequently Asked Questions

What is the noble gas shorthand for nitrogen?
The shorthand is [He] 2s2 2p3. Helium has the configuration 1s2, so you replace that with [He] and then list the remaining electrons.

Why does nitrogen have 5 valence electrons?
Valence electrons are the electrons in the outermost shell. For nitrogen (n=2), that shell contains the 2s (2 electrons) and 2p (3 electrons) subshells, totaling 5. These are the electrons involved in chemical bonding.

Is nitrogen paramagnetic or diamagnetic?
Nitrogen is paramagnetic because it has three unpaired electrons in the 2p orbitals. Paramagnetic substances are attracted to magnetic fields due to unpaired electrons. (Note: N2 gas is diamagnetic because the unpaired electrons pair up in the molecular orbitals when two nitrogen atoms bond.)

What is the electron configuration of the nitride ion (N3−)?
The nitride ion has gained three electrons, so it has 10 electrons. Its configuration is 1s2 2s2 2p6, which is isoelectronic with neon.

Why is nitrogen’s configuration written as 1s2 2s2 2p3 and not 1s2 2s1 2p4?
Because the 2s orbital is lower in energy than the 2p orbitals. The Aufbau principle says to fill the lowest energy orbitals first. Even though a half-filled p subshell is stable, it is not more stable than having a full 2s orbital. The 2s electrons are paired, which is a lower energy state than having them unpaired in higher-energy p orbitals.

How does nitrogen’s configuration affect its bond order in N2?
In N2, each nitrogen atom contributes three unpaired electrons. These overlap to form one sigma bond and two pi bonds, giving a triple bond. The bond order is 3, which is why N2 is very stable and unreactive.

Related

Formula used
in z | Atomic number (Z) | - | 7 | 1
out config | Ground-state configuration | - | "1s² 2s² 2p³" | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →