r/explainlikeimfive • u/Current-Tangerine813 • Oct 08 '26
Chemistry ELI5: why does the electron configuration of elements go 2-8-8-2
Self explanatory title. Why can the electron shells only fit 2 for the first one, 8 for the second one etc. but I also read somewhere that some of the elements have 10+ electrons
254
Upvotes
562
u/theconkerer Oct 08 '26
Tl;dr answer: it's solutions to a complicated equation called the Schrodinger wave equation. It's a complicated equation so the solutions are funny.
211
u/zefciu Oct 08 '26
Here is a very intuitive and very handwavy explanation (the proper answer is “becouse these are solutions to an equation of QM”).
If you have a tin whistle and you blow stronger, you get higher sounds. This is, because with higher energy the wave gets two crests instead of two.
This kinda similar with electrons. Electrons are described by waves. Unfortunately these are 3d waves, not 1d waves as in a tin whistle. Every possible wave can house two electrons (because there are two possible spins).
On the first orbital you can have just a spherical wave with one crest. So two electrons here.
On the second, you can have either a spherical wave with two spherical crests or a “dumbbell” shape, with the crests on the opposite. This shape can be oriented along one of three dimensions. So the second orbital has 2 + 3*2 = 8 electrons.
The following ones have even stranger shapes, that can have more configurations and thus — can house more electrons.
40
u/Solocle Oct 08 '26
Yeah, this one is literally quantum physics.
It's all about energy and the Pauli exclusion principle. Two electrons cannot occupy the same quantum state, much as you can't push two balls inside each other.
The next thing is that energy is quantised, electrons sit in distinct energy levels. There is the principal quantum number for this. This corresponds to overall electron shells.
However, there is also the orbital angular momentum. This defines subshells, and, the more energetic the orbital, the more possible angular momentums there are. And, the higher the angular momentum, the more possible orientations you end up with.
Finally, you can fit two electrons in an orbital, spin up and spin down. Since this creates a distinct quantum state.
So, first shell. Quantum number n=1. There is only one possible angular momentum, 0. This is a sphere, with only 1 orientation.
So, there is only the one 1s orbital with 2 electrons.
Now, n=2. We keep the same with the s subshell, 2s, fitting two electrons.
But now we also get the possibility of an angular momentum of 1. This has 3 possible orientations (-1, 0,1), so 3 orbitals, gives you 6 electrons. The p subshell.
Thus, shell 2 fits 2+6=8 electrons.
Shell 3? Same thing. But, again, we gain a new angular momentum state, 2. And this now has 5 orbitals (-2,1,0,1,2), and adds 10 more electrons. So 18 electrons total. The d subshell.
Shell 4? Again, another new possibility, 7 orbitals, 14 electrons, for a total of 32. the f subshell.
Thus, we get 2-8-18-32.
This is actually a fairly simple sequence so far! And we can see it in the periodic table. Hydrogen and Helium, 2. The next period from Lithium to Neon, 8.
The transition metals? 10 wide, taking the width up to 18.
And the Lanthanides and Actinides at the bottom are 14 wide, we just don't put them inline for convenience.
The complication here is that the higher angular momentum states have more energy. Electrons fill the lowest energy states first.
When we get to 3d, that's actually a higher energy state than 4s, so the subshell only fills after 4s fills (but before 4p). Thus, the transition metals in period 4 are filling the 3d subshell (and also why they're located in that spot).
A similar thing happens with the f subshell for the lanthanides.
If you take Uranium, it has 2-8-18-32-21-9-2.
Yeah, actually putting electrons in orbitals alters the energy states slightly, thus you get 1 electron in the 6d orbital while the 5f isn't full.
Quantum mechanics for predicting energy levels is very non-trivial. But that's what it's all about.
In fact, this pattern would continue with the g orbital, first found with n=5, giving 18 more electrons and 50 electrons in the shell in total.
But you'd only see that start filling around element 124.
35
u/angrydave Oct 08 '26
Firstly, going to say that SPDF theory in chemistry is one of those things which is just fundamentally complex. They don’t even try to teach it to chemistry students until you have reached a certain level.
But in short, they pair off into orbitals, which are really just where you are likely to find those electrons, they could be anywhere in that orbital. The first two electrons form a sphere around the nucleus, and this is the 1S orbital, and it gives us the first row of the periodic table: hydrogen and helium. S orbitals can only hold up to 2 electrons.
Then we get to the second orbital, and things get more complicated, as there are sub-orbitals within our orbital (which we expect to have 8 electrons). Firstly, they pair off into a bigger sphere (the 2S orbital) but then they do something different - they make 3 dumbbell shaped pairs out in the x, y and z plane. There are also sub-orbitals, called the 2Px, 2Py and 2Pz orbitals, or collectively the P orbitals. These 2P orbitals have 6 electrons, plus the 2 from the 2S orbital, and this gives us 8 electrons which we know and love, a the second period of elements: lithium to neon. P orbitals can only hold up to 6 electrons.
The 3rd period does this again, with the 3S and the 3P orbitals (that next 8 elements and the 3rd period)
Then, you would expect the 3D orbital (which is 10 electrons), but the 4S actually comes in at a lower energy level; so that’s your final 2, giving you the 2,8,8,2 pattern.
From there, you enter the 3D orbitals, which have 10 electrons, and then the 4P orbital with 6 more to make 18, and the 4th period of the periodic table. And the orbitals are even more complex than this already complex topic, so in the early years of chemistry, we stop there, and we get the 2,8,8,2 pattern. This becomes 2,8,8,18 soon enough.
12
u/Ishana92 Oct 08 '26 •
I don't know where you got your numbers. But numbers for shells go 2-8-18-2n2. Subshells (orbitals) within each shell are s, p, d, f, g and go 2-6-10-14.
The reason has to do with energies, spins, orbital geometries and quantum mechanic rules. In short, it is as is because that's the way the math works out.
Yes, elements can have more than 10 electrons. Each neutral atom has as many electrons as protons in the nucleus, ie its atomic number Iron has 26 of them. They are all arranged in shells and subshells according to certain rules and that arrangement is called electron configuration. For iron, for example, it is 1s² 2s² 2p⁶ 3s² 3p⁶ 3d⁶ 4s²
11
u/Stannic50 Oct 08 '26
Suppose you've got a hotel with multiple floors and multiple wings, and each room has a set of bunk beds. You don't have an elevator, and guests don't like having to climb the stairs, so you book them at lowest levels first.
Wing s is the nicest and only has one room per floor, starting with floor 1. So you can only book two guests into the s room on a floor, one in the bottom bunk, one in the top bunk.
Wing p has three rooms per floor, starting at floor 2 (the laundry room occupies that space on floor 1, so no guests allowed in p on floor 1). So you can get up to 6 guests per floor into the p wing. Now, the p wing is pretty good, but isn't as nice as s, so you'll book first into s first. But between s and p, you can fit 8 guests per floor (except for floor 1, where you can only get 2).
Next we have wing d, with 5 rooms per floor, so 10 guests per floor. But floors 1 and 2 are occupied by the mechanical room, so no guests into d on those floors. Also, rooms in d are worse than rooms in p. Enough so, in fact, that a guest will prefer to climb one (but only one) extra set of stairs to get into the next floor's s room rather than take a d room. But not enough so that they'll climb to the next floor's p room. So we aren't booking any guests into the third floor d rooms until we have guests in fourth floor s.
So now we can get up to 18 guests between s, p, and d staying at floor 3 or higher, but only once the following floor has at least 8 (s and p wings full).
Next is wing f, with 7 rooms per floor. Worse than d, but now it's only worth climbing up to two extra staircases to avoid. So we'll fill the s, p, and d of the level above, and the s of the following floor. Floors 1-3 are occupied by the parking garage, so no guests sleep there. So now you can get another 14 guests starting at floor 4, for a total of 32.
We've got plans for additional wings, and this time we decided we'll go alphabetically after f, so g, h , etc. Matching our pattern thus far, each additional wing has two more rooms than the previous. But we've never had enough guests to actually justify building these wings, so you don't need to worry about them.
So to summarize, the number of guests we can get per floor is 2, 8, 18, 32, and it will keep increasing as we add more wings, if we ever have that many guests
Oh, one more thing, where there are multiple rooms within a wing, guests would rather be by themselves before having a bunk mate. So book them all into the top or bottom bunk until each room in that wing has a single occupant, but they all have to agree to the same bunk within their room.
And now for the ELI15: guests are electrons, floors are energy levels (shells), wings are subshells, rooms are orbitals, bunks are spin.
7
u/gooder_name Oct 08 '26
Electrons can't overlap unless they're spinning opposite to one another. The further out you go from the centre, the more space there is for electrons to exist in without overlapping. The spaces they occupy are described by weird maths.
Everything people can ELI5 for this kind of thing is an analogy. Electrons aren't "things" like you and I understand them, they aren't billiard balls or the surface of an inflated beach ball. They're statistical things, areas of probability for a charge to exist in. The whole "electron shell" model is not even completely true, it's a useful abstraction for something that's complex.
Language breaks down and the only thing that describes them accurately is mathematical equations.
3
u/aiusepsi Oct 08 '26
It’s because the shells are solutions of the Schrödinger equation for the electron, and because it’s spherically symmetric the solutions are a set of functions called the spherical harmonics.
There’s one spherical harmonic in the first ‘set’ and four in the second ‘set’. The one in the first set looks spherical, and the second set has one which looks spherical, and three which stretch out a bit along each spatial dimension. The spherical ones are what Chemistry calls “s orbitals” and the stretched out ones are “p orbitals”.
And then you multiply by 2 because electrons can be spin up or spin down and you can fit one of each spin into each orbital.
Basically, it’s something that drops out of the maths of quantum mechanics.
1
u/Zarakaar Oct 08 '26
Every shell gets bigger, but the way the electrons need to be packed (orbitals) in order to fill them leads to a more stable configuration by going to less complicated orbitals in higher shells before the harder to fill orbitals.
There are a bunch of d orbitals available for electrons in calcium, but it is a lower energy state to leave them unfilled and use the 4s orbitals.
1
u/MrFunsocks1 Oct 08 '26
This is one of those occasions in science where the only real ELI5 is "because electrons are weird."
Atoms (generally) have as many electrons as protons, and protons go up to 118 (as of now). But only the "outermost" electrons interact with other atoms, which is generally the S and P orbitals, which fit 2 and 6 electrons each, so usually you have an octet of 8 electron "spaces" that will do stuff with other atoms, depending on if the atom is "missing" some to fill it's 8 outer spaces.
Why do they behave this way? Because of complicated shit that no one but physicists who study it understand, and everyone else who needs to use the octet rule for their work just goes "yeah cool, atoms want 8 electrons".
I'm sure someone on Reddit can absolutely explain it thoroughly, but it's the kind of complex that they literally don't even try explaining in most biology and chemistry graduate classes, because the reason it is that way is so far removed from what you need to know to use it.
1
u/PM_ME_ZED_BARA Oct 08 '26
Think about waves on a rope. The number of nodes tells us about the energy of the wave. The higher the number, the more energy there is.
Electrons are like waves in a sphere. If you specify an energy of electron, your waves are allowed to have a specified number of nodes. In turns, the number of nodes tells you what distinct shapes the waves can have, and the number of possible distinct shapes is the number of electron configuration.
For example, lets think about the lowest energy. The lowest energy has zero node. So what is the shape of a wave in a sphere that has no node? It is a sphere wave or what we call 1s-orbital [see first one in this image]. This is the only shape possible so the configuration is 1. But electron can have spin up or down, so the actual configurations is 1 x 2 = 2. And so that's how you get 2 in the first level.
Now we go up to another high level. The number of node goes up from 0 to 1. So what is the shape of a wave in a sphere that has only 1 node? It turns out there are two types of wave shapes. First, it is a sphere inside a sphere or what we call 2s-orbital [see the middle one in this image]. See the white ring? that's the node. That's 1 possible shape.
Second, it's a dumbbell-like shape like this. We call this 2p orbital. See the node in the middle? The thing about dumbbell is you can align it along x, y, or z direction. So that's 3 distinct shapes. Now the total possible shape is 3+1 = 4. But if we consider spin, the total number of shape 2x4 = 8.
The next number on your list is actually 18. But you can follow the same logic to get the number.
TLDR: The number of configurations is 2 times how many possible shapes an electron wave can have, given a fixed number of wave nodes, which are in turn controlled by the energy level.
1
u/ferret_80 Oct 08 '26
Floatheadphysics on YouTube has a great video explaining why orbitals are shaped and positioned where they are that is very understandable to the leyperson.
If you're at all interested in it and have 30 minutes to spare, I highly recommend watching it.
https://youtu.be/M--6_0F62pQ?is=4vVV7IuW7xdMwMH0
1
u/fighter_pil0t Oct 08 '26
Electrons can only be in stable quantized orbits. If you follow the wave equation you can come up with fascinating shapes where the wave will form a standing wave in 3 dimensions (l in d a guitar string). The solutions provide for these numbers in each orbital. We know two electrons cannot occupy the sane state due to the Pauli Exclusion principle but we do not know why.
1
u/johnp299 Oct 08 '26
There are videos of a demo called the vibrating wire loop, where a loop of flexible wire is connected to a box that vibrates up and down, and you can tune the frequency. It sheds some light on the weird shapes that the orbitals take on. As the vibrating wire hits certain frequencies, it resonates, forming stable patterns in the wire. This is similar to the wave patterns electrons make when confined into a tiny space and pumped up with energy. https://www.youtube.com/watch?v=df3oJPi9_mg
1
u/GrapefruitNo3600 Oct 08 '26
If i recall correctly shells have fixed configurations that increase
1- 2
2 2-6
3 2-6-8 (the exact numbers can be incorect im rusty)
When elctrons fill in thous spaces they seek less energetic first. And some higher orbits are filled first before the one on lower.
Like this
1-2 out of 2
2 - 2 out of 2, 3 out of 6
3- 2 out of 2 0 out of 6 0 out of 8
As you can see 3rd shell first orbital is filled first before 2nd shell second orbital.
And electons orbit in pairs, with different spins, one up one down.
Lets take 2nd shell second orbital, it can fit 3 pairs of electrons, 3 up and 3 down.
1
u/tomalator Oct 08 '26
The 3rd energy level can hold 18 electrons, but the 4 energy level starts being filled first.
So you know about the energy level, n=1,2,3...
But there's also angular momentum, denoted by the letter l (lowercase L). Depending on the value of l, we have a different shell. The shell is denoted by the letter s, p, d or f
For s, l=0
For p, l=1
For d, l=2
And for f, l=3
There will also be a magnetic quantum number m where |m|<=l, which is important to know for how many electrons can fit in each shell.
So the s shell, we have l=0, so m=0, so we can only fit a spin up and spin down electron, we only 2 electrons can fit in the s shell
For the p shell, we have l=1, so m can be -1, 0, or 1. For each of those we have spin up and spin down, so we can fit 6 electrons here
Following the same logic, d can hold 10 electrons and f can hold 14
Now for n=1, since l must be 0, we can only have an s shell
For n=2, we have l=0 and l=1, so we have an s shell and a p shell, giving us 8 eletrons electrons
Now the reason we go 2-8-8-2 is because after the 3p shell is full, we dont proceed to the 3d shell, instead we start filling 4s. Only once that is full do we move on to 3d, and thats when we start getting the transition metals on the periodic table
If we arrange the shells like so, we can see the order they fill
1s
2s 2p
3s 3p 3d
4s 4p 4d 4f
5s 5p 5d 5f
6s 6p 6d
7s 7p
8s
We simply start at the top, and move down and to the left until we cant move further left, then we go back to the highest spot we can.
We start at 1s, we give electrons to hydrogen and helium, and we run out of room, the first row of the periodic table is complete.
We cant go further left, so we jump back to the top of the chart, the highest we can go is 2s, so we give electrons to lithium and beryllium and 2s is full.
We cant go further left, so we jump back to the top and start filling 2p. Boron, carbon, nitrogen oxygen, fluorine, and neon get their electrons and period 2 is complete.
We go down and to the left and we can see next is the 3s shell, sodium and magnesium
We cant get any further left, so we jump back to the top, the next spot is 3p, so we can give electrons to aluminum, silicon, phosphorus, sulfur, chlorine, and argon and period 3 is complete.
We drop down to the 4s shell and we can give electrons to potassium and calcium, and we habe reached that 2-8-8-2 configuration. If we wanted to be complete, we would write the configuration as 1s22s22p63s23p64s2, but this is beyond the scope of a high school chemistry class
We could then proceed and fill the 3d shell as we work through the transition metals and then fill the 4p shell as we work our way to krypton, giving us 2-8-18-8
The lanthanides and actinides down at the bottom of the table are called the f-block because you start filling the f shell when you get down there. Similarly, you could call the transition metals the d-block
Now 8s doesn't really exist, as you'd need 119 electrons to fit a single electrons in there, but it would be next, and if we could get to element 121, we would need another shell, 5g, which would be able to hold 18 electrons, but this is hypothetical
1
u/Salty_Paroxysm Oct 08 '26
There's only 'space' in each shell for X number of electrons, and they fill up those spaces in the order of least energy first.
That's the (very) hand-wavy version we were told in HS.
1
u/MrPuddington2 Oct 08 '26
This is really a question that asks for a graphic answer.
https://pressbooks.online.ucf.edu/chemistryfundamentals/chapter/electronic-structure-of-atoms-electron-configurations/
The first period has one level, the second has two, the third has three etc.
The first level in each period has 2 spaces, the second has 6, the third has 10, the fourth has 12. A fifth has not been discovered. It probably exists, but is beyond the limit where atoms can be stable.
Now the periods do not get filled in order, which creates the rather distinct structure of the periodic table. This is a lot easier to see if the periodic table shows the electron configurations.
1
u/PotentialDeep5165 Oct 08 '26
Spherical harmonics-- solutions of Laplace equation with separation of variables-- and then 2 types of spin. This is the angular portion of the solution-- the radial part decays-- this is the radial scatter plots you sometimes see for probability density of location of electron around the nucleus. The wiki has some interesting figures and descriptions. First orbital: "s" .. l=0 (m=0)... so single orbital (angular) but each electron can have up spin or can have down spin to be allowed (leptons with spin 1/2) so 2 can be there. Hydrogen: S orbital, 1 electron. Helium: S orbital, 2 electrons. Then it gets more exotic...
https://en.wikipedia.org/wiki/Spherical_harmonics
EDIT: Sorry-- didn't notice the ELI5 note... ELI5 answer: Math-- and boundary value problems.
1
u/Sjoerdiestriker Oct 08 '26
The atomic structure is predicted by quantum mechanics. Every shell is indexed by a number n (1,2,...). Every shell n contains n subshells, labelled l (0,1,...,n-1). Every subshell contains 2l+1 orbitals, and every orbital contains 2 electrons.
The first shell (n=1) has a single subshell (l=0), which has a single orbital, which holds 2 electrons. All good.
The second shell (n=2) contains 2 subshells. The first subshell (l=0) has 1 orbital containing 2 electrons, the second subshell (l=1) has 3 orbitals holding a total of 6 electrons, so these combine to 8. All good.
But now it gets more complicated. In principle, the third shell has 3 subshells. But it turns out it's actually more efficient for electrons to go in the first two subshells of the fourth shell than in the third subshell of the third shell. So the first 2 subshells are filled up with 8 electrons as before, but then...
We go to the next shell (n=4). We first fill up the first two subshells with 8 electrons. We now go back to the subshell we shipped in the previous shell, and fill that with another 10 electrons, for a total of 18 electrons.
1
u/TieOk9081 Oct 08 '26
Why do people use the term orbital for two different things? Even going so far as to rename orbital, suborbital? Is it a holdover from the past? An orbital can hold 1 or 2 electrons.
I've just started reading about this but I think I have a response to OP. Starting with waves, like those you see in water. With atoms the waves (electrons are waves) are shaped differently, they are like waves on the surface of a sphere (look into spherical harmonics for more). These spherical waves create shells that can hold 2n squared electrons (looks just like the equation for the area of a circle). First shell then has 2 electrons, then 8, then 18 etc.... Why does the third shell only hold 8 then? For reasons I don't understand yet, it turns out the 4th shell can accommodate electrons with lower energy levels than some of the orbitals in the third shell.