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

Worked example: Finding the formula of an ionic compound

To find the formula of an ionic compound, first identify the cation and write down its symbol and charge. Then, identify the anion and write down its symbol and charge. Finally, combine the two ions to form an electrically neutral compound. In this video, we'll walk through this process for the ionic compound calcium bromide. Created by Sal Khan.

Want to join the conversation?

  • blobby green style avatar for user graccebird121
    I'm still a little confused on how to know what the chemical name is going to end with depending on the number of ions
    (41 votes)
    Default Khan Academy avatar avatar for user
  • starky tree style avatar for user alex
    At , this is confusing. This way of figuring out the number of atoms works on this particular equation, but I'm not sure on how to work it on equations with more atoms.
    (17 votes)
    Default Khan Academy avatar avatar for user
  • mr pants teal style avatar for user Andrea Balingit
    Why did he not put a parenthesis? Ca(Br)2?
    (13 votes)
    Default Khan Academy avatar avatar for user
    • orange juice squid orange style avatar for user awemond
      Parentheses are generally only used for complex ions. Since the anion here, Br, is a single atom, there is no need to include parentheses. If the anion had been, for example HSO4-, then we would have included parentheses to make it clear that here are two of these complex anions: Ca(HSO4)2.
      (17 votes)
  • starky ultimate style avatar for user Matt Broadley
    What is the rule for an ionic compound ending in ate, ite, or ide (or any other suffix)? The way I understand it right now is that "ide" is from when there is two of an anion, "ite" is for three of an anion, and "ate" is for four of an anion. Is this right?
    (6 votes)
    Default Khan Academy avatar avatar for user
    • mr pants purple style avatar for user Ryan W
      -ide is just the negative anion of that element, chloride, sulfide, nitride

      -ate depends on the central atom, it's generally the most common n eg phosphate is PO4 3-, sulfate is SO4 2- but nitrate is NO3 - and chlorate is ClO3 -

      -ite is 1 less oxygen than -ate, phosphite is PO3 3-, sulfite is SO3 2-, nitrite is NO2 -

      Hypo- -ite means 1 oxygen less than -ite eg ClO2- is chlorite and ClO- is hypochlorite

      Per- -ate means 1 oxygen more than -ate eg ClO3 - is chlorite and ClO4- is perchlorate
      (28 votes)
  • blobby green style avatar for user Matthew Nodar
    How do we know that Bromine will gain an electron just based on where it is on the periodic table?
    (6 votes)
    Default Khan Academy avatar avatar for user
  • starky sapling style avatar for user Ahmed Mohamed Salah Elkhodary
    At , the ionic compound was turned into a formulae. but how we can turn a transition element like iron 2 ,iron 3 (Fe2,Fe3) or copper 1,copper 2 (Cu1,Cu2)
    (4 votes)
    Default Khan Academy avatar avatar for user
    • mr pants purple style avatar for user Ryan W
      You would need to know what oxidation state the metal is in first. It should always be included in the name.

      Iron(II) bromide would be FeBr2 while iron(III) bromide would be FeBr3

      Copper(I) bromide would be CuBr while copper(II) bromide would be CuBr2

      Does that help?
      (8 votes)
  • aqualine tree style avatar for user courtney
    How do you know which elements are going to be 2+ or 1- and so on?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • leaf red style avatar for user Richard
      For the most part it depends on the group (column) in which the element is found in on the periodic table. It corresponds to how many valence electrons those elements in that group have and therefore how many they wish to donate to other atoms to form cations. Elements in group 1, the alkali metals, have one valence electrons so they tend to lose that one electron and take on a +1 charge. Elements in group 2, the alkaline earth metals, take on a +2 charge for a similar reason. Elements in group 13 take on a +3 charge. Elements in group 14 have the possibility of taking on a +4 or a -4 charge. And the groups further to the right tend to take on negative charges to become anions because they like to accept electrons now instead of donate them.

      Collectively these elements in groups 1-2 & 13-18 are known as main block elements and have (usually) constant charges. The elements in the middle of the periodic table, the transition metals, are odd in that they have the potential of taking on several possible positive charges.

      Hope that helps.
      (7 votes)
  • duskpin ultimate style avatar for user C4LOwenZ
    I'm pretty sure Bromine is a Halogen but Sal says that it is a Halide. Is there any difference between the two terms?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Jean Helen
    Its still not clear how there are 2 bromides in the end. Can you please explain?
    (1 vote)
    Default Khan Academy avatar avatar for user
    • mr pants purple style avatar for user Ryan W
      Calcium commonly forms a cation with a charge of +2
      Bromine commonly forms an anion with a charge of -1

      In the formula of an ionic compound we are showing the ratio between the ions.

      The overall charge of any ionic compound is 0 so for that to happen we need 2 bromide ions for every 1 calcium ion.
      So the formula is CaBr2
      (6 votes)
  • stelly blue style avatar for user Polly Bochkariov
    There is something I don't understand. How can I figure out the formula of an ionic metal compound using the periodic table? How do I know that Iron is going to form a more than one positive ion? My textbook has this example question where it says, "What is the chemical name for the ionic compound CuCl2?" The answer is, of course, copper (II) chloride. But why can't it be Copper (IV) chloride? Or Copper (III) chloride? Do you use electron configurations? Or does this have to do with the charge of the atoms?
    Sorry for a million questions, but I DO need help! Thank you!
    (2 votes)
    Default Khan Academy avatar avatar for user
    • leaf red style avatar for user Richard
      Ionic compound’s empirical formulae always have a neutral net charge, or a total charge of 0. The positive charges must equal and cancel all the negative charges. So the cumulative charges of the cations (a metal often) must equal the charges of the anions (a nonmetal often).

      The elements in the s and p blocks (groups 1,2, & 13-18) are collectively referred to as main group and for the most part have constant charges. Group 1 elements have 1+ charges for example, while group 17 elements have 1- charges. This is a generalization and there are exceptions to this rule; lead for example is a main group element but can take on +2 and +4 charges.

      Elements in the middle of the periodic table, the transition metals, can take on several different positive charges in different compounds. We differentiate between these possible charges by using roman numerals in their names.

      So CuCl2, has copper (the cation and a transition metals with variable charges) and chlorine (the anion with a constant 1- charge). We know the whole formula must be neutral to the copper’s positive charge must cancel the negative charges of the two chlorines. We can determine the copper’s charge using algebra: x + 2(-1) = 0, where x is the copper’s charge. Doing some quick math, we find that x = 2, so copper has a 2+ charge. The name should therefore be copper(II) chloride.

      Copper(III) chloride and copper(IV) chloride would have the formulas CuCl3 and CuCl4 respectively using the same rules.

      Hope that helps.
      (3 votes)

Video transcript

- [Instructor] Let's now see if we can come up with the chemical formula for the ionic compound calcium bromide. And like always, if you are inspired, pause the video and see if you can come up with it on your own. All right, so the convention is that we write the positive ion first and so that's a pretty good clue that calcium is going to be the positive ion. Now let's look at the periodic table to confirm that it's likely that calcium would ionize as a cation. Well, calcium is right over here in Group Two, and Group Two elements, also known as alkaline earth metals, they tend to ionize by losing two electrons and that's because they have two electrons in their outermost shell and they would like to lose them. And so when calcium ionizes, it is going to be, it is going to ionize as Ca2+. Now, let's look at the bromide part. The -ide tells us that this is going to be a negative ion or it's going to be an anion. And if you look at where bromine sits in our periodic table, right over here, we see it is a halide. We see that it likes to gain an electron and so it makes sense that it's going to be our anion. And so bromine would like to gain an electron to have eight electrons in its outermost shell. So, our bromide anion is going to look like this. It's going be to 1-. It's gonna wanna gain an electron, that's what the elements in this group like to do. Now, what is the formula going to be, and remember, the key here is for an ionic compound, especially one that has, well, we don't see any net charge here, for an ionic compound, these things are going to cancel each other out. The charge of the calcium cation is going to cancel out with the bromide anion. So how is that going to happen? Well, have you 2+ here, you only have 1- here, so you're gonna have to have two bromides for every of the calcium ions. So this is going to be, for every one of the calciums, you're going to have two bromides. So it's going to be like this, Br2, and there you have it, that is the chemical formula for calcium bromide. And how did we know that we have two bromides for every calcium? Well, because when calcium ionizes, it's going to be 2+, it's a Group Two element right over here. And bromine only gets a -1 or a 1- charge, so you're gonna need two of the bromides for every one of the calciums.