ComparisonChemical bonds

Ionic vs Covalent Bond: Key Differences With Examples

Three bond diagrams from left to right: a nonpolar covalent bond, a polar covalent bond and an ionic bond
Three bond diagrams from left to right: a nonpolar covalent bond, a polar covalent bond and an ionic bond. Image: Robert Lancashire, UWI (CC BY-SA 3.0), via Wikimedia Commons

Ionic bonds transfer electrons from one atom to another, while covalent bonds share electrons between atoms. The difference shows up in the bond type, the structure of the substance, its melting point and whether it conducts electricity. Table salt is ionic, and water is covalent.

Ionic bond vs Covalent bond at a glance

FeatureIonic bondCovalent bond
ElectronsTransferred from one atom to anotherShared as one or more pairs between two atoms
Atoms involvedA metal and a nonmetal (NaCl, MgO)Usually two nonmetals (H–O in water, C=O in CO2)
StructureGiant lattice of ions, not separate moleculesSeparate molecules (H2O, CO2), or a giant network (diamond)
Melting pointHigh: NaCl 801 °C (1,474 °F), MgO 2,852 °C (5,166 °F)Low for small molecules: H2O 0 °C (32 °F), CO2 −78 °C (−109 °F)
Electrical conductionOnly when molten or dissolved, not as a solidUsually none, since no free ions or electrons move (graphite is an exception)
ExamplesNaCl, MgO, CaCl2H2O, CO2, CH4, diamond

The main difference

An ionic bond forms when a metal atom gives one or more electrons to a nonmetal atom. Both atoms become charged ions, and the opposite charges attract each other across the whole crystal. The result is a giant lattice, not a set of separate particles, and its formula, such as NaCl, shows only the simplest ratio of ions.

A covalent bond forms when two atoms share electrons so that each atom gets a full outer shell. The shared pair is attracted to both nuclei and holds the atoms together. Most covalent bonds form between nonmetals, and they produce separate molecules such as H2O and CO2 or, in a few cases, giant networks such as diamond.

In short, ionic means transfer and charged ions, while covalent means sharing and neutral molecules or networks.

The reason an atom gives up or shares electrons depends on how strongly it holds them. A metal such as sodium holds its outer electron weakly, so giving it to chlorine costs little energy overall. A nonmetal such as chlorine pulls strongly on electrons, so it can gain one easily. When two nonmetals with similar pulls meet, neither atom can take the electrons completely, so they share them instead. The same reasoning explains why bonds are described on a scale rather than as two fixed boxes.

Difference 1: structure and particles

An ionic compound is made of ions packed in a regular pattern. In sodium chloride, each Na⁺ is surrounded by six Cl⁻ ions, so there is no single NaCl molecule to point to. The formula tells you the ratio of ions in the lattice.

A covalent compound is often made of separate molecules. One molecule of water contains two O–H bonds and no other bond to its neighbors, apart from weaker forces between molecules. That is why the ratio H2O describes a single particle.

Diamond is a special covalent case. Each carbon atom bonds covalently to four others, so an entire diamond crystal is one giant network of covalent bonds. It is hard and has a very high melting point for that reason, not because it contains ions.

Difference 2: melting point and electrical conduction

Ionic compounds have high melting points because a lot of energy is needed to pull apart the strong attractions between ions. Sodium chloride melts at 801 °C (1,474 °F), and magnesium oxide melts at 2,852 °C (5,166 °F), because its ions carry 2+ and 2− charges.

Small covalent molecules melt at much lower temperatures, because the forces between molecules are weaker than the bonds inside them. Water melts at 0 °C (32 °F), and carbon dioxide turns from solid to gas at about −78 °C (−109 °F). Covalent bonds inside a molecule are strong, but the forces that hold molecules together are weak.

Electrical conduction follows the same logic. Solid ionic compounds do not conduct, because their ions cannot move. When melted or dissolved in water, the ions can move and carry charge. Covalent compounds usually do not conduct in any state, because they have no free ions or electrons, with graphite as a well-known exception.

Difference 3: where the bond sits on the electronegativity scale

Electronegativity is how strongly an atom pulls on shared electrons. The Pauling scale gives the difference between two atoms, ΔEN, which is a useful guide to bond type:

ΔEN = EN(A) − EN(B)

Here EN(A) and EN(B) are the Pauling electronegativity values of the two atoms, which have no unit. A difference below about 0.4 gives a nonpolar covalent bond, a difference from about 0.4 to 1.7 gives a polar covalent bond, and a difference above about 1.7 usually gives an ionic bond.

Sodium has a value of about 0.93 and chlorine about 3.16, so their difference is about 2.2, which is ionic. Hydrogen (2.20) and chlorine (3.16) differ by about 0.96, so HCl is polar covalent. Hydrogen and carbon (about 2.55) differ by only about 0.35, so the C–H bond in methane is nonpolar.

What they have in common

Both bond types hold atoms together by electrical forces, and both arise because atoms try to reach stable outer electron arrangements. Both can be drawn with dot-and-cross diagrams, which is why students often confuse them. A diagram of a bond between a metal and a nonmetal can look like a diagram of sharing if the electrons are not shown moving clearly.

Both bond types are also described by the same basic rule of thumb in exams: atoms gain, lose or share electrons until they have a stable outer shell, often eight electrons, which is called the octet rule. The octet rule is a useful guide rather than a law, because some molecules, such as boron trifluoride, have fewer than eight electrons around the central atom.

Both bond types can also appear in one compound. Sodium hydroxide (NaOH) has an ionic bond between Na⁺ and OH⁻ and covalent bonds inside the hydroxide ion. The labels apply to each bond, not to the whole substance.

How to tell them apart

Use this checklist. First, find the elements. If there is a metal and a nonmetal, it is probably ionic. If there are only nonmetals, it is probably covalent. Second, look at the structure: a giant lattice of ions suggests ionic, while small molecules suggest covalent. Third, check the electronegativity difference if you have the values.

As a worked example, take magnesium oxide and carbon dioxide. Magnesium (electronegativity about 1.31) and oxygen (about 3.44) differ by about 2.1, and the compound is a metal oxide with a high melting point, so MgO is ionic. Carbon (about 2.55) and oxygen differ by about 0.9, so CO2 is polar covalent, and it is a gas at room temperature. For more detail, see ionic bond and covalent bond.

Frequently asked questions

What is the main difference between ionic and covalent bonds?

An ionic bond transfers electrons from a metal to a nonmetal, which forms charged ions that attract each other. A covalent bond shares electron pairs between atoms, usually two nonmetals. The difference in electronegativity between the atoms shows which one is likely.

How do you tell if a bond is ionic or covalent?

Compare the electronegativity values of the two atoms. A difference above about 1.7 on the Pauling scale usually means an ionic bond, and a difference below about 0.4 usually means a nonpolar covalent bond. Values in between are polar covalent.

Is water ionic or covalent?

Water is covalent. Each oxygen atom shares electron pairs with two hydrogen atoms, forming H2O molecules. The bonds are polar because oxygen pulls the shared electrons more strongly.

Is salt ionic or covalent?

Table salt, sodium chloride (NaCl), is ionic. Sodium gives one electron to chlorine, and the resulting Na⁺ and Cl⁻ ions form a crystal lattice held together by electrostatic attraction.

Can a compound have both ionic and covalent bonds?

Yes. Sodium hydroxide (NaOH) has an ionic bond between Na⁺ and OH⁻, and covalent bonds inside the hydroxide ion. Many salts that contain polyatomic ions, such as sodium sulfate, work the same way.

Sources and further reading

  • OpenStax, "Chemistry 2e"
  • IUPAC, "Compendium of Chemical Terminology (Gold Book)"
  • Encyclopaedia Britannica, "Covalent bond"
  • Linus Pauling, "The Nature of the Chemical Bond" (3rd ed., 1960)

Cite this page

“Ionic vs Covalent Bond: Key Differences With Examples.” Atoms & Forces, https://science.bigworldlist.com/compare/ionic-vs-covalent-bond/.

More about Ionic bond