Ionic Formula Calculator

Predict ionic compound chemical formulas from cation and anion charges

🧬

Ionic Formula Calculator

Cation (Positive Ion)

Anion (Negative Ion)

Quick Reference

  • NaCl: Na+ + Cl- → 1:1 ratio
  • CaCl₂: Ca2+ + Cl- → 1:2 ratio
  • Al₂O₃: Al3+ + O2- → 2:3 ratio
  • • Cross-multiply charges to get subscripts

ℹ️What It Does

The ionic formula calculator predicts the chemical formula of an ionic compound by combining cations and anions in ratios that result in a neutral compound. It uses the cross-multiply method: the charge of the cation becomes the subscript of the anion, and vice versa, then simplifies to lowest terms.

📐Method

Total Positive Charge + Total Negative Charge = 0

(cation charge × cation count) + (anion charge × anion count) = 0

Cross-Multiply Method

Mm+ + Xn- → MnXm

Then reduce to lowest terms by dividing by GCD

Steps:

1.Write cation and anion with charges
2.Cross-multiply: cation charge → anion subscript
3.Simplify by dividing by greatest common divisor
4.Use parentheses for polyatomic ions if subscript > 1

📝Step-by-Step Example: Calcium Chloride

1

Identify Ions

Ca²⁺ (cation) and Cl⁻ (anion)

2

Cross-Multiply Charges

Cation charge (2) → anion subscript: Cl₂

Anion charge (1) → cation subscript: Ca₁

3

Simplify (if needed)

Ca₁Cl₂ → CaCl₂ (1 is omitted)

4

Verify Neutrality

(1 × +2) + (2 × -1) = +2 - 2 = 0 ✓

⚠️Common Mistakes

Not simplifying subscripts

Caâ‚‚Oâ‚‚ should be simplified to CaO

Wrong parentheses placement

Ca(OH)â‚‚, not CaOHâ‚‚ or Ca(OHâ‚‚)

Forgetting 1:1 ratios

When charges equal, subscripts are 1 (NaCl)

Reversing cation/anion

Always write cation first, then anion

Related Calculators

Frequently Asked Questions

What is an ionic compound?

An ionic compound is formed when a metal transfers electrons to a nonmetal, creating cations (+) and anions (-) held together by electrostatic attraction. Examples: NaCl (table salt), CaO (lime), MgSOâ‚„ (Epsom salt).

How do I know the charges of ions?

Main group elements: Group 1 = +1, Group 2 = +2, Group 13 = +3, Group 15 = -3, Group 16 = -2, Group 17 = -1. Transition metals have variable charges (shown in Roman numerals: Fe²⁺ = iron(II), Fe³⁺ = iron(III)). Learn common polyatomic ions.

Why do we use the cross-multiply method?

The cross-multiply method ensures the compound is electrically neutral (total positive charge = total negative charge). By making the charge of one ion the subscript of the other, we balance the charges. Example: Al³⁺ + O²⁻ → Al₂O₃ (2×3 = 3×2 = 6).

What are polyatomic ions?

Polyatomic ions are groups of atoms that act as a single ion with a charge. Common examples: NH₄⁺ (ammonium), OH⁻ (hydroxide), NO₃⁻ (nitrate), SO₄²⁻ (sulfate), CO₃²⁻ (carbonate), PO₄³⁻ (phosphate). Use parentheses when subscript > 1: Ca(OH)₂, not CaOH₂.

How do I name ionic compounds?

Name the cation first (metal name), then the anion (nonmetal root + "-ide" or polyatomic ion name). Examples: NaCl = sodium chloride, MgO = magnesium oxide, CaSO₄ = calcium sulfate. For transition metals, include charge in Roman numerals: FeCl₃ = iron(III) chloride.

When should I simplify subscripts?

Always simplify subscripts to lowest whole number ratio by dividing by the greatest common divisor (GCD). Examples: Ca₂O₂ → CaO (÷2), Mg₂S₂ → MgS (÷2), Al₃O₃ → AlO (÷3). Exception: Don't simplify within polyatomic ions like SO₄²⁻.

What is a formula unit vs. molecule?

Ionic compounds don't form discrete molecules; they form crystal lattices. We use "formula unit" to describe the simplest ratio of ions. Example: One formula unit of NaCl contains 1 Na⁺ and 1 Cl⁻, but in the crystal, each ion is surrounded by multiple oppositely charged ions.

Where It's Used

🎓

Education

Teaching ionic bonding fundamentals

📝

Chemical Formulas

Writing and predicting formulas

🧪

Nomenclature

Naming compounds correctly

🔬

Lab Work

Preparing ionic compounds