Sodium chloride (NaCl) is the standard example of an ionic compound, and water (H₂O) is the standard example of a covalent compound. The distinction comes down to one measurable property: electronegativity difference. When two bonded atoms differ by roughly 1.7 or more on the Pauling scale, the bond is ionic; below that, it is covalent. Sodium's value is 0.93 and chlorine's is 3.16, a gap of 2.23. Hydrogen's is 2.20 and oxygen's is 3.44, a gap of 1.24. Those two numbers place NaCl and H₂O on opposite sides of the line.
Why Sodium Chloride Counts as the Ionic Example and Water as the Covalent One
Start with what each compound is made of. Sodium chloride forms from a metal (sodium, group 1) and a nonmetal (chlorine, group 17). Water forms from two nonmetals (hydrogen and oxygen). That metal-plus-nonmetal pattern is the quickest first-pass screen in introductory chemistry, and it flags NaCl as ionic and H₂O as covalent before you calculate anything.
The electron bookkeeping confirms it. A neutral sodium atom has the configuration 1s²2s²2p⁶3s¹, with one lonely electron in its third shell. Chlorine is 1s²2s²2p⁶3s²3p⁵, one electron short of a full third shell. Sodium loses that 3s electron to become Na⁺; chlorine gains it to become Cl⁻. Both ions then carry the argon configuration, 1s²2s²2p⁶.
Water does none of this. Oxygen is 1s²2s²2p⁴ and needs two electrons to complete its second shell, but it does not strip them from hydrogen. Hydrogen holds its single electron tightly enough, and oxygen's pull is strong but not absolute, so the two atoms share pairs instead. Two O–H bonds, two shared pairs, no ions formed.
The result is that solid NaCl is a lattice of alternating Na⁺ and Cl⁻ ions held by electrostatic attraction in every direction, while a water molecule is a discrete unit of three atoms with two shared electron pairs and two lone pairs on oxygen. That structural difference, not the formula, is what generates every property difference in the sections below.
The 1.7 Electronegativity Cutoff, Worked Through Four Real Compounds
The Pauling electronegativity scale, developed by Linus Pauling in the 1930s and still the version printed in most textbooks, assigns each element a number reflecting how strongly its atoms pull shared electrons. The widely taught rule of thumb sets the ionic threshold near 1.7, though the boundary is a continuum rather than a cliff. Here is how four familiar compounds sort out.
| Compound | Elements (electronegativity) | Difference | Bond character |
|---|---|---|---|
| NaCl | Na (0.93), Cl (3.16) | 2.23 | Ionic |
| MgO | Mg (1.31), O (3.44) | 2.13 | Ionic |
| H₂O | H (2.20), O (3.44) | 1.24 | Polar covalent |
| CH₄ | C (2.55), H (2.20) | 0.35 | Nonpolar covalent |
Notice that MgO, magnesium oxide, sits comfortably on the ionic side with a difference of 2.13, and it behaves accordingly: it is a white solid with a melting point around 2,852 °C, far above NaCl's 801 °C. The tighter, more highly charged Mg²⁺ and O²⁻ ions bind harder than Na⁺ and Cl⁻. That melting-point spread is a useful sanity check when you are unsure which side of the line a compound falls on.
The 1.7 figure is a convention, not a law. Hydrogen fluoride has a difference of 1.78 and is treated as polar covalent in most courses because it forms discrete HF molecules, not a lattice. That edge case is the honest caveat: electronegativity difference predicts bonding character well, but it does not settle every compound, and chemists sometimes describe bonds as having "ionic character" on a sliding scale rather than belonging to one box.
Electron Transfer Versus Electron Sharing, Step by Step
If you want to see the difference rather than memorize it, walk through the formation of each compound in order. This is the sequence to reproduce on paper or a whiteboard.
1: Write the electron configuration of each neutral atom: Na is 1s²2s²2p⁶3s¹, Cl is 1s²2s²2p⁶3s²3p⁵. 2: Identify the stable target: the nearest noble-gas configuration, argon (1s²2s²2p⁶), which both atoms can reach. 3: For NaCl, transfer the single 3s electron from sodium to chlorine. Sodium becomes Na⁺, chlorine becomes Cl⁻, and the two ions attract electrostatically into a lattice. 4: For H₂O, note that oxygen needs two electrons and hydrogen has one each. No transfer occurs; instead, each hydrogen shares its electron with oxygen in a single covalent bond. 5: Draw the Lewis structure: for NaCl, bracket each ion with its charge; for H₂O, draw O with two bonding pairs and two lone pairs, each H singly bonded.
If a compound refuses to sort cleanly, check the elements first, then the electronegativity difference, then the physical state. A metal plus a nonmetal with a difference above 1.7 is ionic with high confidence. Two nonmetals with a difference below 1.7 are covalent. A difference between 1.5 and 1.9 is the gray zone, and in that band you should look up the actual structure rather than force a label.
Physical Properties That Reveal Which Bond Type You Are Holding
The properties are consequences, not coincidences. Ionic lattices hold ions in fixed positions, so the solid does not conduct electricity, but the molten liquid or dissolved solution does because the ions become mobile. Covalent molecular substances like water keep their electrons locked in molecules, so pure water conducts almost nothing.
Melting points split the same way. NaCl melts at 801 °C and boils at 1,413 °C, according to values published in the CRC Handbook of Chemistry and Physics. Water melts at 0 °C and boils at 100 °C at standard pressure. Breaking a lattice of electrostatic attractions takes far more energy than overcoming the relatively weak forces between water molecules.
Solubility behavior is another tell. Ionic compounds generally dissolve in polar solvents like water and dissociate into ions; NaCl is the textbook case. Molecular covalent compounds vary: water is polar and dissolves many things, while methane is nonpolar and barely dissolves in water at all. Hardness follows too, since ionic crystals cleave along planes where like charges meet, and molecular crystals are soft.
The Boundary Case: When a "Covalent" Compound Still Conducts
Pure water is a poor conductor, and that fact trips people up. The measured conductivity of ultrapure water at 25 °C is tiny, roughly 0.055 microsiemens per centimeter, because water autoionizes only slightly into H⁺ and OH⁻. Tap water and seawater conduct well, but that is dissolved salts doing the work, not the H₂O molecules.
This is where a real failure case shows up in the lab. A student testing "does water conduct electricity" with tap water will see a reading and conclude water is ionic. The correct test uses deionized or distilled water and a conductivity meter, and the honest answer is that water's own conductivity is near zero while the salt inside ordinary water is what moves charge.
A second edge case sits on the ionic side. Not every ionic compound dissolves. Silver chloride, AgCl, is ionic by composition and electronegativity, yet its solubility in water at 25 °C is about 0.0019 grams per liter, essentially insoluble for practical purposes. Students who assume "ionic means soluble" get caught here. Solubility depends on the lattice energy versus the hydration energy, not on the bond type alone.
Why the Two Examples Behave Differently in Solution
Drop NaCl into water and it dissociates into free Na⁺ and Cl⁻ ions, which is why saltwater conducts. Drop sugar into water and its molecules disperse intact, which is why sugar water does not conduct. Both are covalent-ish situations worth distinguishing: sugar is a molecular covalent compound that dissolves without ionizing.
Water's own polarity explains why it is such a good solvent for ions. The oxygen end carries a partial negative charge and the hydrogen ends carry partial positive charges, so water molecules surround each ion in a shell, stabilizing it. That hydration is what pulls the lattice apart. The same polarity makes water a poor solvent for nonpolar covalent substances like oil, which is why oil and water separate.
For a quick at-home check, dissolve a spoon of table salt in a glass of water and a spoon of sugar in another, then test each with a battery-and-bulb conductivity tester. The salt glass lights the bulb dimly; the sugar glass does not. The sensory cue is real: the salt solution conducts because ions are loose, while the sugar solution keeps its molecules whole.
A Five-Question Decision Path for Any Unfamiliar Compound
When you meet a compound you have never seen, run these questions in order and you will classify most of them in under a minute.
1: Does the formula pair a metal with a nonmetal? If yes, lean ionic; if two nonmetals, lean covalent. Check groups on the periodic table. 2: Calculate the Pauling electronegativity difference. Above 1.7 tends ionic; below 1.7 tends covalent; 1.5–1.9 is the check-the-structure band. 3: Ask whether discrete molecules exist. If the formula describes separate molecules (H₂O, CO₂), it is covalent; if it is a repeating lattice formula unit (NaCl), it is ionic. 4: Test conductivity of the molten or dissolved substance. Conducts means mobile ions. 5: Check melting point. Very high (hundreds to thousands of °C) points ionic; low points molecular covalent.
Run this on calcium chloride, CaCl₂. Calcium is a metal, chlorine a nonmetal, difference 2.16, high melting point of 772 °C, conducts when molten. Ionic. Run it on carbon dioxide, CO₂. Two nonmetals, difference 0.89, sublimes at −78.5 °C, does not conduct. Covalent. The path holds.
Common Misconceptions That Cost Students Marks
The first misconception is that ionic compounds are always solid. Molten NaCl and dissolved NaCl are ionic and fluid, and the ions move freely. The solid state is the exception, not the definition.
The second is that covalent bonds are always weak. The O–H bond in water has a bond dissociation energy around 460 kilojoules per mole, which is strong. What is weak in molecular covalent substances is the attraction between molecules, not the bonds inside them. Diamond, a covalent network solid of carbon, is among the hardest substances known and melts above 3,500 °C.
The third is that the 1.7 cutoff is exact. It is a teaching convention. Hydrogen fluoride at 1.78 is the standard counterexample, and chemists describe bonds on a continuum of ionic character rather than in two bins. If a mark scheme demands a single label, use the cutoff, but know its limits.
Putting It Together: A Side-by-Side Summary
Here is the comparison in one table, with the values that matter for exams and lab work.
| Feature | Sodium chloride (ionic) | Water (covalent) |
|---|---|---|
| Bonding unit | Na⁺ and Cl⁻ ions in a lattice | H₂O molecules |
| Electronegativity difference | 2.23 | 1.24 |
| Melting point | 801 °C | 0 °C |
| Boiling point | 1,413 °C | 100 °C at 1 atm |
| Conducts when solid | No | No |
| Conducts when molten/dissolved | Yes | Negligible for pure water |
| Typical solubility in water | High (AgCl is the exception) | Not applicable |
The table is the takeaway. Ionic compounds are lattices of ions that conduct when mobilized and melt high; covalent molecular compounds are discrete molecules that stay intact, conduct barely if at all, and melt or boil low. NaCl and H₂O are the two cleanest examples because the numbers line up without argument.
FAQ
Is table salt ionic or covalent?
Table salt is ionic. Sodium's electronegativity is 0.93 and chlorine's is 3.16, a difference of 2.23, well above the 1.7 threshold. The resulting lattice of Na⁺ and Cl⁻ ions is what dissolves into conducting ions in water.
Can a compound be both ionic and covalent?
Yes, in the sense that many compounds contain bonds of mixed character. Sodium hydroxide has an ionic Na⁺–OH⁻ interaction and a covalent O–H bond. Chemists call this "ionic character" on a continuum rather than assigning one label to the whole substance.
Why does solid NaCl not conduct electricity but saltwater does?
In the solid, ions are locked in the lattice and cannot move. Dissolving in water frees the Na⁺ and Cl⁻ ions to migrate, which carries current. The mobile ions, not the salt itself, are what conduct.
Is hydrogen fluoride ionic or covalent?
Hydrogen fluoride is usually classed as polar covalent despite a difference of 1.78, just above the cutoff, because it forms discrete HF molecules rather than a lattice. It is the standard exception that shows the 1.7 rule is a convention.
Which has a higher melting point, NaCl or water, and by how much?
NaCl melts at 801 °C and water at 0 °C, a gap of 801 degrees. The ionic lattice's electrostatic attractions require far more energy to break than the forces holding water molecules together.
Is sugar ionic or covalent?
Sugar (sucrose) is covalent. It is a molecular compound that dissolves in water without dissociating into ions, which is why sugar water does not conduct electricity.
How do I test bond type at home?
Dissolve a small amount in distilled water and test with a low-voltage conductivity tester. A dim bulb or reading indicates mobile ions (ionic); no reading indicates intact molecules (covalent). Use distilled water, since tap water already contains ions.
Do all ionic compounds dissolve in water?
No. Silver chloride is ionic yet nearly insoluble, at about 0.0019 grams per liter at 25 °C, because its lattice energy outweighs the hydration energy. Solubility depends on that balance, not on bond type alone.