You know the names of the ions, yet the formula on your chemistry worksheet still looks like a guess. Should magnesium chloride be MgCl or MgCl₂? Does the small number show charge, atoms or whole groups? Ionic formula homework becomes easier when you separate those questions. Record the ions and their charges, find a neutral combination, write the simplest ratio and check the charge total independently. The goal is a formula you can justify, not a shortcut you cannot explain.
This guide uses selected classroom examples with charges supplied explicitly. It is about formulas of neutral ionic compounds, not balancing reaction equations or describing every possible chemical substance. Keep your class’s ion table and notation rules nearby. If you use Lirno, begin with the complete assignment, verify what was captured and request only the help you need. Make an attempt yourself before checking it, then use a different ion pair to test the method.
1. Capture the complete ionic formula homework task
Read the instruction before starting. A worksheet may ask you to write a formula from named ions, name a compound from a formula or explain a ratio in an ionic lattice. These are related tasks, but the required answer differs. Underline the requested output and note whether the ion charges are given. If the task supplies a table, use that table rather than assuming the symbol alone always identifies a unique charge for every element.
For a photo, include the full question, ion table, any Roman numeral in the compound name and your attempted working. Small superscripts, minus signs and brackets matter here. Avoid a tight crop that removes the table heading or the instruction to simplify. The homework-scanning workflow describes capturing the assignment and reviewing detected tasks before beginning. A clear image improves the input, but does not prove that every chemical symbol was read correctly.
After capture, compare the detected text with the original line by line. Check Mg versus Mn, Cl versus the letters C and I, and a charge of 2+ versus a subscript 2. Confirm that the question and your working have not been merged. Remove unrelated personal details before sending a worksheet. If the scan misses a symbol, correct the input or type the ion pair; repeatedly asking about a misread question will not repair its underlying assumptions.

2. Keep charge, subscript and coefficient separate
An ion carries an electrical charge. In Mg²⁺, the superscript describes the charge on one magnesium ion. In Cl⁻, the minus sign describes the charge on one chloride ion. In the neutral compound MgCl₂, the subscript 2 indicates two chloride ions for each magnesium ion in the formula ratio. It is not a statement that chloride now has charge 2−. Write a separate list of ion identities and charges before using small numbers in the final formula.
A coefficient before a whole formula counts formula units or proportional amounts in an equation. It does not change the internal ratio. Writing 2MgCl would not fix MgCl: each supposed unit still has the wrong balance for Mg²⁺ and Cl⁻. Building an ionic formula and balancing a reaction equation require different decisions.
The OpenStax discussion of ionic and molecular compounds provides reference context for ionic notation. For this worksheet method, use the charges stated in the task and keep a ledger of their totals. The formula of an ionic solid expresses a ratio of constituents in its extended structure; it does not imply that the solid consists of isolated little molecules with that exact arrangement. Follow your course’s terminology when describing a formula unit.
3. Ask for a hint and build the first neutral ratio
Take Mg²⁺ and Cl⁻ as our first pair. One magnesium ion contributes +2 in elementary-charge units. One chloride contributes −1, so one of each gives a total of +1 rather than zero. Two chloride ions contribute −2, which balances the +2 from one magnesium ion. The resulting ratio is one magnesium to two chlorides, written MgCl₂. Keep the ion charges unchanged; adjust the counts.
If that step is where you are stuck, choose a hint rather than requesting the completed worksheet. A useful request is: given Mg²⁺ and Cl⁻, which total should I compare to decide the number of chloride ions? The Lirno tutor workflow supports Hint, Explain and Check modes. Use the response as a prompt to continue your own working. This is an example request, not a claim that the app always produces a particular answer or guarantees a correct explanation.
Write the calculation explicitly: 1 × (+2) + 2 × (−1) = 0. Read the formula back in words and check that it matches that calculation. The numeral 1 is normally omitted from chemical formulas, so you write MgCl₂ rather than Mg₁Cl₂. If the task asks for a reason, say that two chloride ions balance the charge of one magnesium ion. That explanation is more useful than saying you crossed the numbers without knowing what they represent.

4. Find a common charge total and simplify the ratio
For Al³⁺ and S²⁻, neither one of each nor two of each gives a neutral combination. Find the smallest common positive magnitude of 3 and 2: it is 6. Two aluminium ions supply +6, while three sulfide ions supply −6. Their ratio is 2:3, giving Al₂S₃. Check it as 2 × (+3) + 3 × (−2) = 0. The sign tells you which contribution is positive or negative; the counts remain positive whole numbers.
Now compare Ca²⁺ and O²⁻. One of each already gives +2 − 2 = 0, so the formula is CaO. A mechanical crossing of charge magnitudes might produce Ca₂O₂. That combination is neutral but does not express the simplest whole-number ratio of these ions. Divide both counts by their common factor of 2. The ratio becomes 1:1, and neither 1 is written. Simplification is a separate check after finding a neutral combination.
A crossing shortcut can suggest counts, but neutrality and the simplest ratio must still be checked. Use a common charge magnitude or small multiples if crossing feels mysterious. Counts 4 and 6 for aluminium and sulfide give neutrality but reduce to 2 and 3. Do not stop at zero when the usual simplest formula is required.
5. Treat a polyatomic ion as a complete group
Some ions contain several bonded atoms but carry one overall charge. Use the supplied table to identify the whole group. Nitrate is NO₃⁻ in our example; calcium is Ca²⁺. Two nitrate ions are needed to balance one calcium ion, so the formula is Ca(NO₃)₂. The brackets show that the outside 2 applies to the entire nitrate group. The 3 inside nitrate describes its own composition and must not be changed merely to balance calcium’s charge.
Count both ions and atoms to check the notation. Ca(NO₃)₂ contains one calcium, two nitrogen atoms and six oxygen atoms per formula unit, with two nitrate groups. Its charge calculation is 1 × (+2) + 2 × (−1) = 0. CaNO₆ would not say the same thing because it loses the nitrogen count and the grouping. Charge reasoning chooses how many nitrate ions to use; correct notation records those complete groups without rewriting their identity.
For NH₄⁺ and CO₃²⁻, two ammonium groups balance one carbonate group, giving (NH₄)₂CO₃. The atom counts are N₂H₈CO₃, but retain the conventional grouped formula to show the ions. Simplify counts of whole ions when appropriate; never cancel a hydrogen subscript against an oxygen subscript inside different groups. If brackets remain confusing, ask for an explanation of what the outside number multiplies, then count the atoms yourself without asking the tool to replace your full attempt.

6. Read variable charges from the actual compound name
Some elements form more than one common ion. For a task giving iron(II) and chloride, use Fe²⁺ and Cl⁻, which produce FeCl₂. For iron(III) and chloride, use Fe³⁺ and Cl⁻, producing FeCl₃. The Roman numeral in these names describes the iron oxidation state, corresponding to the cation charge in these simple examples. It does not directly count how many iron atoms belong in the formula. Keep the supplied name visible while working.
If a worksheet gives only iron chloride without the charge, Roman numeral or other identifying information, do not silently invent one formula. State what is missing and consult the class table or ask your teacher which ion is intended. A periodic table alone does not establish a unique charge for every transition-metal compound. AI may confidently choose a familiar possibility, but confidence cannot supply information absent from the task. An honest question about the missing condition is better than a guessed completed row.
Reverse the reasoning when a formula is supplied. In FeCl₃, three chlorides at −1 contribute −3, so the single iron must contribute +3. In FeCl₂ it must contribute +2. This check depends on the supplied chloride charge and simple compound model. Do not extend it automatically to unfamiliar formulas or every class of substance.
7. Check your attempt at the first incorrect step
Suppose your attempt says MgCl because the ion charges were copied correctly but the counts were set to one each. Ask Check to review your reasoning, not just to stamp the final answer. Include the original pair, your count choice and your calculated total. A focused request is: identify the first step where my formula fails charge neutrality and let me revise it. Then calculate +2 − 1 yourself and decide what count would remove the remaining +1.
For Al₃S₂, check 3 × (+3) + 2 × (−2) = +5. The formula fails neutrality, even though both charge numbers appear somewhere in it. For Ca₂O₂, neutrality passes but the ratio still needs simplification. For Ca(NO₃)₂, check the ion-group count as well as the atom count. These examples distinguish three error types: wrong count, unreduced ratio and damaged group notation. Fix the actual error instead of applying the same memorised correction to every formula.
If a feedback explanation disagrees with your ion table, stop and resolve the input first. AI can misread notation or reason incorrectly. Your school’s rules still apply, and Lirno does not guarantee correctness, grades, mastery or permission to use assistance. Keep a corrected attempt showing why it is neutral and simplest. Do not submit a confident answer you cannot reconstruct, and do not treat an app response as independent evidence that your teacher’s instructions permit the help you used.

8. Test the method with a fresh ion pair
Hide the worked formulas and try these supplied pairs: Na⁺ with O²⁻, Al³⁺ with Cl⁻, K⁺ with SO₄²⁻, and Mg²⁺ with O²⁻. For each, record the ion identities, smallest neutral counts, grouped formula and charge total. Only then compare with Na₂O, AlCl₃, K₂SO₄ and MgO. These prompts test notation and charge balance, not mastery of all ionic chemistry.
Change one source of difficulty at a time. If your errors concern brackets, practise two compounds with the same polyatomic ion before switching ions. If simplification is the problem, compare charges of equal magnitude. The study-practice workflow offers an optional way to revisit a topic after tutoring. You can also use folded paper cards with an ion pair on one side and your own charge check on the other. A short, explainable retry is more informative than copying another page.
This article is published by Lirno and describes the workflow shown on its feature pages, not an independent app test or comparison. Lirno is free to download or start; some AI usage levels or advanced features may require Premium. Finish by explaining one formula without looking: which ions, which charges, why those counts, why those brackets and why the ratio is simplest. That explanation shows the reasoning you used and the point you still need to practise.
