If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Valence electrons and ionic compounds

AP.Chem:
SAP‑2 (EU)
,
SAP‑2.B (LO)
,
SAP‑2.B.2 (EK)
,
SAP‑2.B.3 (EK)
When forming ions, elements typically gain or lose the minimum number of electrons necessary to achieve a full octet. For example, fluorine has seven valence electrons, so it is most likely to gain one electron to form an ion with a 1- charge. We can use this method to predict the charges of ions in ionic compounds. Created by Sal Khan.

Want to join the conversation?

  • blobby green style avatar for user Abi Faith
    Is it possible for hydrogen to have 0 electrons? And am I correct in thinking that in a covalent bond, the two atoms share a valence electron, hence COvalent?
    (10 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user Mirantibus
      Hydrogen can exist without proton if it is in its ionised form - i.e. as H+. H+ is just a proton, so no electrons would be present. In covalent bonding, the electrons that form the covalent bond do not have to come from each atom. There are instances when an atom donates both electrons to form the covalent bond. A good example of this is when :NH3 reacts with H+. The : represent the lone pair on the nitrogen in :NH3. The nitrogen in :NH3 donates BOTH electrons to form a covalent bond and the resulting compound is NH4+. This type of covalent bond is called a dative or coordinate covalent bond.
      (15 votes)
  • piceratops ultimate style avatar for user Rachit Gupta
    What are ions and ionic compounds?
    (5 votes)
    Default Khan Academy avatar avatar for user
    • aqualine ultimate style avatar for user khaja.1
      Ions are atoms/molecules with a non-neutral net charge because it gave or took an electron.
      Ionic compounds are elements bonded together through electron-giving.
      In other words, ionic compounds are ions bonded together in order for the elements to have a full octet.
      (8 votes)
  • male robot hal style avatar for user Pradhyot Upadhyay 55
    Is there a similarity between valency and valence electrons?
    (4 votes)
    Default Khan Academy avatar avatar for user
  • spunky sam blue style avatar for user asdf
    if an atom has 4 electrons in the outermost shell, will it need to gain 4 electrons or lose 4 electrons to achieve an octet?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user adam.ghatta
      Good question. Atoms like these can actually choose either or even stay neutral. One interesting thing about these types of subshells, is that they are actually somewhat stable. Because of the relative stability, these atoms often form covalent bonds rather than ionic bonds that need a charge.

      One example is Carbon. It has 4 valence electrons, so it can make a 4+ or a 4- charge. But because of its relatively stable half filled orbital, most of the time it takes part in covalent bonding like in organic molecules.
      On occasion, Carbon can ionize, most commonly 4+.
      (5 votes)
  • blobby green style avatar for user selena.montalvo
    why does the group 2 colum want to loose electrons. wouldn't it was to gain electrons to reach and oct 8?
    (4 votes)
    Default Khan Academy avatar avatar for user
  • purple pi purple style avatar for user Yiran Wang
    Do shells that can hold more than 8 electrons still apply to the octet rule?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • aqualine ultimate style avatar for user priyadarshinijvk
      according to my knowledge, there are three scenarios where the elements are stable... when the valence shell is completely filled.. when the valence shell has 8 electrons (i.e)octet rule and when the k shell is the outermost shell and is completely filled (i.e)again with 2 electrons(duplet rule)....
      (1 vote)
  • blobby green style avatar for user Chirag
    I got confused by how an ionic compound is formed and how do we know how many electrons are present in an element and how can a group of elements such as halogens have the same number of electrons?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • starky sapling style avatar for user TheStudy
      An ionic compound is formed when ions (an atom with a negative or positive charge determined from its electronegativity) bond in order to create a compound known as an ionic compound, hence the name. As well, in order to find the electrons that are present in an element, you have to look at the column the element is in the periodic table. Actually, they don't have the same number of electrons, they have the same number of valence electrons. If you would look at the electron configuration of the elements based on the group, you would notice that since they are at the same position in each period. Thus, if you use the noble gas notation in the electron configuration, you would notice that the elements in the same group have the same number of electrons in the valence shell. As well, in a neutral atom with no charge, the amount of electrons are equal to the number of protons which can be found in periodic table as the atomic number of an element.
      (1 vote)
  • winston default style avatar for user FERDOUS SIDDIQUE
    What is the charge of carbon in CO?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user yash  pathare
    Hydrogen can exist without proton if it is in its ionised form - i.e. as H+. H+ is just a proton, so no electrons would be present. In covalent bonding, the electrons that form the covalent bond do not have to come from each atom what does that mean ?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Lincoln Sedgmen
    what is valence of eletcotrn
    (2 votes)
    Default Khan Academy avatar avatar for user

Video transcript

- [Instructor] In this video, we're gonna gain even more appreciation for why the periodic table of elements is so useful. And in particular, we're going to focus on groups of the periodic table of elements. When we talk about a group, we're just talking about a column. And as we'll see, even though the elements in a given column might have very different atomic numbers, they all have similar properties. And the reason why they all have similar properties is, in most cases, they have the same number of valence electrons. Remember, valence electrons are the reactive electrons, the ones that might interact with other things. And because elements with similar valence electrons will have similar reactivities, they will form similar ions. Similar ions. And they will have similar roles. Similar roles in ionic compounds. Ionic compounds. Now, for the sake of this video, I'm gonna focus most on the extremes of the periodic table, the groups at the left and the right, because those are the closest to having a full outer shell, either by losing electrons or by gaining electrons. So just to remind ourselves, what does it mean to have a full, full outer shell? Well, in general, people will refer to the octet rule. For our second, third, fourth, fifth, and on and on shells, you're full when you have eight electrons. Eight electrons. The major exception to the octet rule is the first shell, where it is full with two electrons. So helium, even though it only has two electrons, is very, very, very stable. And the major data point that we have around this octet rule are the group 18 elements right over here, also known as the noble gasses. They're known as the noble gasses because they're very unreactive, they're very content, they don't wanna mess around with anyone else. And that's because all of the noble gasses have full outer shells. Helium's outer shell is the first shell and it's full. Neon's outer shell's the second shell, it's full. Argon's outer shell is the third shell and it's full, and so on and so forth. Now, if we go one group to the left of the noble gasses, we get to the halogens. Now, the halogens have seven valence electrons. So you can imagine, they're only one electron away from having an electron configuration like the noble gas to the right of each of them. So these halogens right over here, these really like to attract electrons to form a negative ion or an anion. So you'll oftentimes see fluorine as a fluoride anion, so it has a negative one charge. Or you'll also see chlorine with a negative one charge as the chloride anion. And I could go on and on. You'll often see iodine gain an electron and have a negative one charge. If you go one step to the left, the oxygen group, oxygen, sulfur, and on and on, these elements have six valence electrons. So it's still easier for them to have a full outer shell by gaining two electrons than by losing six electrons. So these elements also like to attract electrons. So you can see oxygen as an oxide anion. It has gained two electrons, it's swiped it from somebody else. Sulfur as a sulfide anion. Now, if you go to the other extreme of the periodic table, if you look at group one elements, they have one valence electron. And especially the ones that you look, and you see in red here, which are known as the alkali metals, it's much easier for them to lose an electron to have a full outer shell than for them to gain seven electrons. The reason why hydrogen's a bit of an exception is it doesn't have to gain seven electrons to have a full outer shell, it has to gain one. So hydrogen could lose one, and essentially have no electrons, or it could gain one electron and it would have a full outer shell like helium. But when we think about ionic compounds, these alkali metals are really some of the most interesting participants. Because as you can imagine, for them to get stable, they wanna give away an electron. So you're very likely to see them having given away an electron and having a positive one charge. So you'll oftentimes see a lithium ion with a positive one charge, a sodium ion with a positive one charge, a potassium ion with a positive one charge. And that's, in general, true of all of these group one elements. Now, what about these group two elements, also known as the alkaline earth metals? Well, once again, it's easier for them to lose two electrons than for them to gain six and have a full outer shell. So, you'll typically see beryllium having a positive two charge. It would have lost those two electrons. Magnesium as having a positive two charge. Calcium as having a positive two charge. Now, given that, how would you expect things on the left and things on the right to form ionic compounds? So you might guess, if you have an alkali metal in the presence of a halogen, things could get very reactive. In fact, things will get very reactive because these wanna give away electron, these wanna take electron. And that's what will happen. The electrons will leave the group one elements and then they will go to the halogen. And in the process it might release a lot of energy, but what you'd be left with is an ionic compound. For example, lithium loses a electron and has a positive one charge. That positive ion would be very attracted to a chlorine anion that has just gained an electron. Maybe it's the same electron, or it swiped that electron from another lithium atom. And so these two things would be attracted and they could form lithium chloride. And all of these alkali metals could play that same role in this ionic compound as lithium. So it's also typical to see sodium chloride. That is table salt. It's also typical to see potassium chloride. So on and so forth. And on the other hand, fluorine or bromine or iodine can play a similar role as chlorine. So you could see something like sodium iodide or potassium iodide. Once again, the alkali metal would have lost an electron, the halogen would have gained an electron, and then they're attracted to each other in forming these ionic compounds. What kind of ionic compounds might be formed with these group two elements? Let's take calcium, for example. It's not unreasonable for calcium to lose two electrons to have a stable outer shell, to have an electron configuration like argon. So if it loses two electrons it has a positive two charge. And you could imagine, those two electrons get lost to two different iodine atoms. So each of them have a negative one charge, so times two, and then what type of ionic compound could they form? Well, you could have one calcium and then two iodines. So calcium iodide is actually an ionic compound you would see. It has a neutral charge overall because calcium has a positive two charge and each of the iodines have a negative one charge, but then you have two of them, so it is neutral overall. What might calcium do with oxygen? Well, calcium likes to lose two electrons, oxygen likes to gain two electrons, so you could see something like calcium oxide. So I will leave you there. The big picture here is, the column in which an element is tells you a lot about its reactivity because it tells you in general how many valence electrons it has. And atoms are most stable when they have a full outer shell and so that helps you predict, hey, is it easier for them to lose electrons and form a positive ion or gain electrons and form a negative ion? And then from that, you could make predictions as to the types of ionic compounds that could be formed with the different elements.