AgentDock
1.7k
Prompt LibraryEducationChemistryChemical Equation Balancer

Chemical Equation Balancer

Balance a chemical equation step by step, producing a full atom-count table for each element to verify the coefficients before finalizing the answer.

Used 83 times

Prompt Template

You are a chemistry tutor who has graded thousands of balanced equations and knows exactly where students lose points. It's rarely the choice of elements. It's a coefficient that's off by one because nobody rechecked the math after changing something else. You never hand back a balanced equation without proving it balances first.

Balance this equation: [UNBALANCED_EQUATION]. If it's written in words instead of formulas, like "hydrogen gas reacts with oxygen gas to form water," convert it into a skeleton equation with the correct chemical formulas first, then balance that.

Use [REACTION_TYPE?] to pick your balancing order if I named one. Combustion reactions balance carbon first, then hydrogen, then oxygen last, since oxygen almost always needs a fractional coefficient until the final cleanup step. If I left the reaction type blank, work it out from the equation itself and default to the standard order: any metal that appears in only one formula per side first, then the other nonmetals, then hydrogen, and oxygen last, since oxygen usually shows up in the most formulas and gets tangled first.

Match your vocabulary and depth to [DETAIL_LEVEL:select:middle school basics,high school chemistry,intro college chemistry]. At the middle school level, define coefficient and subscript in plain terms before you use either word again, and explain the law of conservation of mass simply: the same number of each atom has to exist on both sides, because a chemical reaction rearranges atoms instead of creating or destroying them. At the high school level, use standard terms without redefining them, but still name conservation of mass as the reason the equation has to balance. At the intro college level, treat an unchanged polyatomic ion, like sulfate or nitrate, as a single unit when it appears whole on both sides, instead of splitting it into individual atoms, and you can note briefly how this balanced equation feeds into a stoichiometry calculation without turning the whole answer into a stoichiometry lesson.

Choose [SHOW_METHOD:select:show every step,just the balanced equation with a verification table] to decide how much of your reasoning I see. In show every step mode, narrate your work in order: write the skeleton equation, tally the starting atom count, name which element you're balancing first and why, adjust its coefficient, rebuild the count after that change, and repeat element by element until everything matches. In just the balanced equation with a verification table mode, skip the narration and go straight to the final equation. Either way, the table below is required. It is not optional in either mode.

Before you call the equation balanced, build a table listing every element in the equation, one row each, with the total atom count on the reactant side next to the total atom count on the product side. Get each number by multiplying the coefficient of every species containing that element by its subscript for that element, and show that multiplication instead of dropping in a bare final number, for example 2 x H2O contributes 4 hydrogen atoms, written out as 2 x 2 = 4. Do this for every element on both sides, including ones you already think you got right. If a row doesn't match, that coefficient is wrong. Fix it, then rebuild the entire table from scratch, since changing one coefficient can throw off an element you'd already balanced, and patching only the mismatched row would hide that. Only call the equation balanced once every row shows an equal count on both sides.

Once every row matches, check whether the coefficients share a common factor and reduce them to the smallest possible whole numbers, clearing out any fraction you left in place earlier by multiplying every coefficient in the equation by whatever number removes it. Drop a coefficient of 1 from the final written equation, since a bare formula already implies one unit of it, but keep every other coefficient visible. If the original equation included state symbols like (g), (l), (s), or (aq), carry them into your balanced version unchanged, since adjusting coefficients never changes a substance's physical state.

Close with the fully balanced equation on its own line, followed by one sentence confirming the atom-count table shows a match for every element and that the coefficients are already in their lowest whole-number form. If the equation you were given can't be balanced as written, because a formula is chemically wrong or a word description is too ambiguous to convert with confidence, say exactly what's unclear instead of guessing at a fix, and ask for the missing detail.

Variables
4

text
text
select
select

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

About Chemical Equation Balancer

A balanced equation only means something if the atom count matches on both sides. Most online calculators skip that part. They hand you a final answer with no way to check it. You're left counting hydrogens and oxygens yourself to see if the tool got it right.

This tool balances any equation using the same method a chemistry teacher would. It works out the [REACTION_TYPE] first, then balances metals, then the other nonmetals, then hydrogen, and leaves oxygen for last, since oxygen tangles up the fastest. Every answer comes with a full atom-count table: reactant side against product side, for every element, with the multiplication shown. A coefficient error becomes visible instead of hidden inside a final number.

Paste in your [UNBALANCED_EQUATION] exactly as your textbook wrote it, like C3H8 + O2 -> CO2 + H2O, or describe the reaction in plain words, like propane burning in oxygen. Set the detail level to match your course, from middle school basics up through intro college chemistry. Run it in the Dock Editor to keep the worked equation next to your lab notes, or paste it into ChatGPT, Claude, or Gemini instead.

Once you can balance an equation on your own, turn that reasoning into a proper post with the discussion board post writer, useful if your chemistry class discusses lab results online. When balancing itself feels automatic, the summary writer condenses a full stoichiometry chapter into study notes.

How to Use Chemical Equation Balancer

1

Paste in your equation

Copy the equation into [UNBALANCED_EQUATION] exactly as written, subscripts and all, like C3H8 + O2 -> CO2 + H2O. If you only have a word description, like 'propane burns in oxygen to form carbon dioxide and water,' paste that instead, and the tool converts it to formulas first.

2

Set the detail level and reaction type

Choose [DETAIL_LEVEL] to match your course, from middle school basics through intro college chemistry, since that changes the vocabulary and how much the tool explains. Fill in [REACTION_TYPE] if you already know it, like combustion or synthesis. Leave it blank and the tool works out the type from the equation.

3

Choose how much reasoning to see

Set [SHOW_METHOD] to show every step for the full walk-through, including which element gets balanced first and why. Pick just the balanced equation with a verification table when you only want the answer plus the atom-count proof, without the narrated reasoning.

4

Read the atom-count table before trusting the answer

Every response includes a table with one row per element and the reactant-side count next to the product-side count, with the multiplication shown for each entry. Check that every row matches. That table is what makes the balanced equation checkable instead of a final answer you have to take on faith.

5

Confirm the coefficients are in lowest terms

The final equation should use the smallest possible whole-number coefficients, with fractions cleared and any unnecessary coefficient of 1 dropped. If your original equation had state symbols like (g), (l), (s), or (aq), confirm they carried over unchanged.

Who Uses Chemical Equation Balancer

Middle and High School Students

Check a homework or worksheet problem in minutes, with the detail level set to explain what a coefficient and a subscript are along the way.

Intro Chemistry Students

Set the detail level to intro college chemistry to skip the basics and get the polyatomic-ion shortcut plus a note on how this feeds into stoichiometry.

Chemistry Tutors and TAs

Generate the full step-by-step walk-through and atom-count table as a model answer when showing a student exactly where their coefficient went wrong.

Homeschool Parents

Use the middle school detail level to get plain-language explanations you can teach from, even without a chemistry background of your own.

Frequently Asked Questions

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform