Foundations Section 2 of 123

Orbitals

the why on every wrong step

13 min readfree

Video lesson · 16 min

Atomic Orbitals and Electron Configuration (s and p, Hund's Rule)

Posted 22 Oct 2026 on our YouTube channel. The player loads from YouTube only when you press play.

Chapters 13
  1. 0:00 Start here
  2. 1:18 What an orbital is
  3. 2:34 Two electrons per orbital
  4. 3:41 s and p orbital shapes
  5. 5:38 Why 2 and 8
  6. 6:40 Phase: the two colors
  7. 7:51 Filling order and configurations
  8. 9:55 The 4s and 3d trap
  9. 11:08 Hund's rule, box by box
  10. 13:24 Reading the periodic table
  11. 13:57 Recap
  12. 14:37 Practice problems
  13. 15:53 Next: hybridization

Carbon has 6 electrons: 2 in the K shell and 4 in the L shell, as Atomic structure counted them. Shells get those counts right. They say nothing about where the electrons are, or what shape of space they fill.

Shape is what a chemist needs. It explains why methane, CH₄, is a tetrahedron (a pyramid with four triangular faces, the carbon at its center), why a C=C double bond refuses to twist, and why benzene, a ring of six carbons, is flat. This page replaces shells with orbitals, the shapes electrons actually occupy. Everything later in the course builds on them.

What an orbital is

Start with hydrogen: one proton and one electron. The electron does not circle the nucleus on a track. Take a snapshot of where it is, then another, and another, and each snapshot finds it somewhere new. Mark every sighting with a dot. The dots build a round cloud, thickest near the nucleus and thinning out with distance.

many snapshotsthe 1s orbitalHHone dot per sightingelectron inside thisboundary 90% of the time
Hydrogen’s single electron. The H at the center of each panel is the nucleus, one proton.

Now draw a boundary around the region where the electron is found 90% of the time. That region is an orbital: a region of space where an electron is likely to be found. It is a cloud of probability, not a path. Hydrogen's electron sits in an orbital called 1s.

Every orbital belongs to a shell. The shell number is written n: the K shell is n = 1, the L shell is n = 2 and the M shell is n = 3. In an orbital's name, the number is its shell and the letter is its shape. So 1s is the s-shaped orbital of the K shell.

Two electrons per orbital: the Pauli principle

Helium has two electrons, and both sit in the 1s orbital. They differ in one property, called spin. Each electron behaves like a tiny magnet that points one of two ways, spin up or spin down, drawn ↑ and ↓. Helium's two electrons have opposite spins: ↑↓.

Lithium's third electron cannot join them. It has to go into the next shell. The rule behind that is the Pauli exclusion principle: no two electrons in one atom can have both the same orbital and the same spin. An orbital therefore holds at most 2 electrons, and those two have opposite spins.

s orbitals: spheres

Hydrogen's 1s orbital is a sphere centered on the nucleus. Every shell has exactly one s orbital, starting with 1s in the K shell. The L shell's s orbital is 2s. It is a bigger sphere, because an n = 2 electron spends most of its time farther from the nucleus.

1s2sa spherearound the nucleusnodebigger sphere, node inside
The dot at each center is the nucleus. The dashed circle inside 2s is its node, and the shade changes there.

Inside the 2s sphere is a node: a surface where the electron is never found. For 2s the node is a small sphere around the nucleus. The electron can be inside it or outside it, but never on it.

p orbitals: two lobes and a nodal plane

The L shell also has orbitals of a second shape, called p. Take one of them, 2px. It has two lobes, rounded regions on opposite sides of the nucleus, lying along the x axis. The shape is often called a dumbbell. The lobes pinch to nothing at the nucleus itself.

xlobelobenodal planenucleusone orbital, two lobes
One 2p orbital, lying along x. The dashed sheet is its nodal plane, seen at a slant.

Between the lobes lies a flat nodal plane. It passes through the nucleus at right angles to the x axis, and the electron is never found on it.

The two lobes are one orbital, not two. An electron in 2px can turn up in either lobe, and the whole orbital still holds at most 2 electrons.

Three p orbitals, at right angles

The L shell has three 2p orbitals, not one. The second, 2py, lies along the y axis. The third, 2pz, lies along the z axis, which points straight out of the page. Each one sits at 90° to the other two.

1. 2px alonexyz2. add 2pyxyz3. add 2pzxyz2pz2px2py90° to 2px
Same axes in every panel. z comes out of the page toward you, so its lobes look shorter.

The three 2p orbitals have the same shape and the same energy. They differ only in direction. Orbitals with exactly equal energy are called degenerate. The five 3d orbitals, met below, are another degenerate set. Every shell from n = 2 on has one set of three p orbitals; the K shell has none.

Those 90° angles leave a puzzle. Methane's H–C–H angles are 109.5°, not 90°. Hybridization shows how carbon gets from one to the other.

d and f orbitals, and what a shell holds

Heavier atoms use two more shapes. d orbitals are mostly four-lobed cloverleaves, and each shell from n = 3 on has five of them. f orbitals have still more lobes, and each shell from n = 4 on has seven. Organic chemistry happens almost entirely in s and p orbitals. You need to recognize d and f, not draw them.

s1 per shellfrom n = 1p3 per shellfrom n = 2d5 per shellfrom n = 3f7 per shellfrom n = 4
One example of each type. The dot is the nucleus.

Now count the M shell, n = 3. It has one 3s, three 3p and five 3d orbitals: nine in all. At 2 electrons each, it holds 18. The n = 4 shell adds seven f orbitals and holds 32.

Orbital typeShapeOrbitals per shellFirst shellElectrons per set
ssphere1n = 12
ptwo lobes, nodal plane between3n = 26
dmostly four lobes5n = 310
fmore lobes still7n = 414

These numbers match the shells you already know. The K shell is the single 1s orbital, so it holds 2. The L shell is 2s plus the three 2p orbitals, four orbitals in all, so it holds 8. Nothing about the counting changes. What orbitals add is the shape of the space the electrons fill, and that shape sets the shape of molecules.

The periodic table's rows are 2, 8, 8, 18, 18, 32 and 32 elements long, built from the same numbers. Row 3 stops at 8 rather than 18 because of the filling order, set out below.

Phase: what the two shades mean

Look back at the p orbital. Its two lobes are drawn in two shades. The shades show phase. An electron in an orbital behaves like a wave, and a mathematical function called the wavefunction describes that wave. Like a wave on water, it has a plus part and a minus part. The shades mark those two signs. They are not electric charges.

A 1s orbital has one sign all over, and either sign is allowed. A 2s orbital has both: one sign inside its node and the other outside. The node is where the sign changes.

Phase matters when orbitals on two atoms overlap. Bring two hydrogen atoms together with their 1s orbitals in the same phase, and the two waves add up between the nuclei. The electron pair gathers there and holds both nuclei: a bond.

Bring the same two atoms together in opposite phase, and the waves cancel between the nuclei. A node appears there, and the electrons are kept out of the space that would hold the atoms together. This combination is called antibonding. It does not make a bond.

+−signs of the wave,not chargesHHsame phase:waves add up→ a bondshared pair between the nucleiHHopposite phase:waves cancel→ no bondnode between the nuclei
Row 1 shows what the two shades mean. Rows 2 and 3 bring the same two hydrogen atoms together with their 1s orbitals in matching and in opposite phase.

A bond, then, is overlap between orbitals on two different atoms. Keep that apart from Hybridization, the next page, in which one atom mixes its own orbitals into new shapes before it bonds.

You can set phase aside for a while, but it returns. Bonding uses it to build single and double bonds. Aromatic Chemistry uses it to explain aromaticity, the extra stability of certain flat rings such as benzene.

Filling order: lowest energy first

Lithium has 3 electrons. Two fill 1s. The third goes into the n = 2 shell, and it goes into 2s, not 2p. Boron, with 5, puts 2 in 1s and 2 in 2s, and only its fifth electron goes into a 2p orbital.

The rule is that electrons fill the lowest-energy orbitals first. This is the Aufbau principle, from the German for "building up". Within one shell, energy rises in the order s < p < d < f, so 2s fills before 2p.

An atom's filling is written as its electron configuration. Each subshell, meaning all the orbitals of one type in one shell, is written with a superscript giving its electrons. The 2p subshell is the three 2p orbitals together. Boron's configuration is 1s² 2s² 2p¹.

Why s fills before p: shielding and penetration

Take lithium's third electron. The nucleus pulls on it with a charge of +3. The two 1s electrons sit closer in, and they repel it, cancelling part of that pull. This is shielding: inner electrons screen an outer electron from the nucleus.

Now compare a 2s electron with a 2p electron. The 2s electron spends a little of its time right by the nucleus, inside the 1s electrons. The 2p electron gets inside the 1s electrons too, but less, and never reaches the nucleus itself, which sits on its nodal plane. Getting in close like this, inside the inner electrons, is called penetration.

chance of finding the electrondistance from the nucleus →1s core2s bump inside the core2s2p
Hydrogen-like curves, 2s and 2p on one scale. Only 2s has a bump inside the core.

More penetration means less shielding. Less shielding means the electron feels a stronger pull from the nucleus, and a stronger pull means lower energy. So 2s lies below 2p. The same argument puts p below d, and d below f.

When 4s fills before 3d

Potassium has 19 electrons. The first 18 fill 1s, 2s, 2p, 3s and 3p, exactly as in argon. The 19th could go into 3d or 4s. It goes into 4s.

Here penetration beats the shell number. A 4s electron penetrates far more than a 3d electron, so 4s lies lower in energy even though 4 is larger than 3. Potassium and calcium fill 4s before any element fills 3d. That is why the d-block starts in row 4 of the periodic table, not row 3.

energy1sholds 22sholds 22pholds 63sholds 23pholds 64sholds 23dholds 10the n = 2 shell4s sits below 3d,so it fills first
Fill from the bottom rung up. Each box is one orbital and holds 2.

Configurations get long, so chemists write a filled core as the group 18 element (a noble gas) that has it. [Ar] stands for argon's 18 electrons, 1s² 2s² 2p⁶ 3s² 3p⁶. Potassium is then [Ar] 4s¹.

Common slip: writing 3d before 4s because 3 comes before 4. Energy, not shell number, sets the filling order, and around row 4 the two disagree. Potassium is [Ar] 4s¹, not [Ar] 3d¹.
The 4s-before-3d order describes filling potassium and calcium, and it is the order courses grade by. Past calcium, once 3d holds electrons, 3d drops below 4s. That is why iron, [Ar] 3d⁶ 4s², becomes Fe²⁺ as [Ar] 3d⁶: the ion loses its 4s electrons, not its 3d. Organic chemistry rarely needs this.

Hund's rule: spread out, then pair

Nitrogen has 7 electrons. Four fill 1s and 2s, which leaves three for the three 2p orbitals. They go one to each orbital, all with the same spin, and none of them pair.

That is Hund's rule: when electrons fill a set of degenerate orbitals, each orbital takes one electron, all with the same spin, before any orbital takes a second. The spreading comes from repulsion. Two electrons in one orbital share one region of space and push against each other. An empty orbital of equal energy lets them stay apart, so they take it. An electron alone in its orbital is called unpaired.

Worked example — carbon, nitrogen, oxygen and fluorine, box by box

Carbon has 6 electrons. 1s takes 2 and 2s takes 2, which leaves 2 for the 2p set. Hund's rule puts them in separate 2p orbitals. Result: 1s² 2s² 2p², with two unpaired electrons and one 2p orbital empty.

C, 6 electrons2p2s1s1s² 2s² 2p²2 unpairedpairs: 1s, 2sN, 7 electrons2p2s1s1s² 2s² 2p³3 unpairedpairs: 1s, 2sO, 8 electrons2p2s1s1s² 2s² 2p⁴2 unpairedpairs: 1s, 2s, one 2pF, 9 electrons2p2s1s1s² 2s² 2p⁵1 unpairedpairs: 1s, 2s, two 2p
Compare the 2p rows. Single arrows are the unpaired electrons. For N, O and F, the paired boxes in n = 2 become lone pairs.

Nitrogen (7 electrons) is 1s² 2s² 2p³, with one electron in each 2p orbital. Three unpaired electrons mean three bonds. The 2s pair is already paired, and that pair becomes the lone pair in ammonia, NH₃. In ammonia itself the pair no longer sits in a pure 2s orbital; Hybridization shows where it goes.

Oxygen (8 electrons) is 1s² 2s² 2p⁴. The first three 2p electrons take one orbital each, and only the fourth has to pair. Two unpaired electrons mean two bonds. The two pairs in the n = 2 shell, one in 2s and one in 2p, become oxygen's two lone pairs.

Fluorine (9 electrons) is 1s² 2s² 2p⁵. Two 2p orbitals are full and the third holds one electron. That gives one unpaired electron, one bond and three lone pairs.

Read down the four. Nitrogen, oxygen and fluorine form as many bonds as they have unpaired electrons: three, two and one. Carbon breaks the pattern. Its configuration predicts two bonds, yet carbon forms four. The last section of this page takes that up.

Reading the periodic table by blocks

Sodium's last electron goes into 3s. Carbon's last electron goes into 2p, and chlorine's into 3p. The periodic table groups elements by the subshell their last electron fills. Those groupings are its blocks.

123456789101112131415161718grouprow 1HHerow 2LiBeBCNOFNerow 3NaMgAlSiPSClArrow 4KCaScTiVCrMnFeCoNiCuZnGaGeAsSeBrKrf-blocklanthanides and actinides, drawn below the tables-blockd-block (groups 3–12)p-block
Rows 1 to 4. The outlined cells are C, N, O and F. Helium is shaded with the s-block: its electrons are 1s², though it sits at the top of group 18.
  • The s-block is groups 1 and 2, the two leftmost columns.
  • The p-block is groups 13 to 18, the six columns on the right. Essentially every element of organic chemistry lives here: C, N, O, F, S, P, Cl, Br and I.
  • The d-block is groups 3 to 12, the ten middle columns: the transition metals (group 12 is not always counted as transition metals).
  • The f-block is the two rows pulled out beneath the table, the lanthanides and actinides.

Read this way, the table stops being a chart to memorize. It becomes a map you can work out. An element's position gives its last-filled subshell, that gives its valence configuration, and that tells you how it bonds.

The periodic table tool (the ⚛ button) shows every element in its group and row, so you can read off its block there. Its colors mark categories such as halogens and noble gases, not blocks.

Why eight is the limit for carbon, nitrogen, oxygen and fluorine: their valence shell, n = 2, has exactly four orbitals, one 2s and three 2p. Four orbitals hold at most 8 electrons. There is nowhere for a ninth to go. That is the octet rule.

That counting argument does not cap row 3 at eight, because the n = 3 shell has nine orbitals, not four. Sulfur, for example, forms SF₆, with six bonds to one sulfur. Lewis structures sets out how such compounds are drawn and how best to describe their bonds.

The problem this leaves behind

Carbon's ground-state configuration (its lowest-energy arrangement), 1s² 2s² 2p², has only two unpaired electrons. Taken at face value, that predicts two bonds, giving something like CH₂. But carbon forms four bonds in essentially every stable organic compound you will draw. Methane is CH₄, with four identical bonds at identical angles.

So something must happen to carbon's orbitals before it bonds. That is the subject of the next page, Hybridization, and its answer is the single most useful idea in structural organic chemistry.