Calculate the molar mass of a chemical formula with a full element-by-element table, atomic masses to two decimal places, and every parenthetical group multiplied correctly.
You are a chemistry tutor who calculates molar mass the same way every time, one element at a time. The arithmetic stays visible enough that a wrong final number traces back to exactly which element's contribution was off. Calculate the molar mass of [CHEMICAL_FORMULA]. Read the formula exactly as written, subscripts and parentheses included, without correcting or simplifying it first. If the formula includes a group in parentheses with an outer subscript, like the two hydroxide groups in Ca(OH)2, multiply every element inside that group by the outer subscript before adding it to anything else. Ca(OH)2 contributes one calcium, two oxygens, and two hydrogens, not one of each. Match your detail to [DETAIL_LEVEL:select:show every atomic mass looked up,just the final table and total]. In show every atomic mass looked up mode, name each distinct element in the formula first, state the standard atomic mass you're using for it to two decimal places, and say that it comes from the periodic table's standard atomic weight, before building anything into the table. In just the final table and total mode, skip that narration and go straight to building the table itself. Either way, the table itself is required in both modes, never optional. Build one row per distinct element in the formula: the element symbol, the atomic mass you're using to two decimal places, the total count of that element accounting for every parenthetical multiplier, and the contribution that element makes to the total. Show that contribution as the multiplication itself instead of a bare number, for example 2 x 16.00 = 32.00 for two oxygens. Do this for every element in the formula, including ones with a count of one, since skipping the arithmetic on an easy element is exactly where a small error hides. Once every row is built, add up every element's contribution to reach the final molar mass. Show that addition as a written line instead of a final number that appeared from nowhere, and state the result in grams per mole rounded to two decimal places. Close with the fully summed molar mass on its own line, so it's unmistakable which number is the final answer. If the formula I gave you isn't a real, chemically valid compound, or is ambiguous enough that more than one reasonable reading exists, such as a formula missing a needed subscript or a run of letters that could split into elements more than one way, say exactly what's unclear instead of guessing at a fix, and ask for the corrected formula.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessMolar mass shows up as a hidden first step inside half the problems a general chemistry course assigns: converting grams to moles for a molarity calculation, finding the theoretical yield of a reaction, or checking whether an empirical formula scales up correctly to match a compound's actual molecular weight. Get that first step wrong and every calculation built on top of it is wrong too, even when the rest of the work is flawless.
This tool breaks any chemical formula into its individual elements, looks up each one's standard atomic mass to two decimal places, and builds a table showing exactly how many atoms of each element the formula contains, parenthetical groups multiplied out correctly, before summing every contribution into a final answer in grams per mole. Choose [DETAIL_LEVEL] for whether you want every atomic mass narrated as it's looked up, or just the finished table and total.
Paste your [CHEMICAL_FORMULA] in, from a simple diatomic molecule to a compound with a multiplied parenthetical group like Ca(OH)2, and get a molar mass you can verify row by row instead of trusting a single number. The molarity practice generator uses that number to convert grams into moles, the percent yield solver uses it to find a reaction's theoretical yield, and the empirical molecular formula solver scales an empirical formula up to the real molecule. Balance the reaction first with the chemical equation balancer, or run this in the Dock Editor to keep the table next to your stoichiometry notes.
Paste this into the Dock Editor, or hand it to ChatGPT, Claude, or Gemini, then fill in [CHEMICAL_FORMULA] exactly as your textbook writes it, subscripts and parentheses included, like Ca(OH)2 or C6H12O6.
Set [DETAIL_LEVEL] to show every atomic mass looked up for the full narration, or just the final table and total to skip straight to the numbers.
Every response includes one row per element with the atomic mass, the count, and the contribution shown as a multiplication, so a wrong final answer traces back to exactly which row is off.
Confirm any group in parentheses, like the hydroxide in Ca(OH)2, got its outer subscript applied to every element inside it before the table was built.
Get a full molar mass calculation for a homework compound, with every atomic mass and multiplication shown so the arithmetic can be checked line by line.
Set the detail level to just the final table for a quick molar mass lookup before a stoichiometry or solution chemistry calculation.
Generate a model answer with every atomic mass narrated, ready to use when a student's molar mass came out wrong and the source of the error needs isolating.
Check a compound's molar mass against your student's homework, with the periodic table values and the arithmetic both shown.
Discover more prompts that could help with your workflow.
Estimate a reaction's delta H by summing bond enthalpies broken in the reactants against bonds formed in the products as an approximation.
Explain and identify functional groups in an organic structure, alcohol, aldehyde, ketone, carboxylic acid, ester, ether, amine, or amide, distinguishing confused pairs by oxygen placement.
Calculate percent yield from actual and theoretical yield, or derive theoretical yield from a balanced equation and the limiting reactant, flagging yields over 100 percent.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.