Reaction Stoichiometry Mass-to-Volume Calculator
Convert the mass of any reactant or product into the volume of a gas (or the volume of a gas back into a mass) using a balanced equation and the ideal gas law, at STP, NTP, room temperature, or any conditions you set.
Type your equation, pick a known and a target species, and choose your gas conditions.
Classic STP — molar volume ≈ 22.41 L/mol
Volume of CO2
2.2395 L
Equivalent to 0.09991 mol of CO2, at STP (0°C, 1 atm)
0.09991
Reaction extent (mol)
44.009 g/mol
Molar mass of CO2
273.15 K
Temperature used
1 atm
Pressure used
Every Species, Side by Side
Moles, gas volume, and mass for every reactant and product at the same reaction extent.
Step-by-Step Mass-to-Volume Calculation
Here's exactly how this answer was calculated, one step at a time.
Given: CaCO3 + HCl -> CaCl2 + H2O + CO2
Step 1: Balance the chemical equation
The coefficients set the exact mole ratio between every species in the reaction.
CaCO3 + 2 HCl -> CaCl2 + H2O + CO2Step 2: Convert the known amount of CaCO3 to moles
Mass is converted to moles by dividing by the molar mass — moles are what the mole ratio actually works with.
10 g of CaCO3 = 0.09991 mol (M = 100.086 g/mol)Step 3: Conditions used: STP (0°C, 1 atm)
Every gas volume in this calculation is worked out at this temperature and pressure using the ideal gas law.
T = 0°C = 273.15 K, P = 1 atmStep 4: Find the reaction extent from CaCO3
Dividing by the coefficient scales the known species down to one 'unit' of the balanced reaction.
0.09991 mol ÷ 1 = 0.09991 (reaction extent)Step 5: Use the mole ratio to find moles of CO2
1 mol of CO2 forms (or reacts) for every complete "set" of the balanced reaction.
moles of CO2 = 0.09991 × 1 = 0.09991 molStep 6: Convert moles of CO2 to volume
The ideal gas law converts moles straight into a gas volume at the chosen temperature and pressure.
V = nRT ÷ P = 0.09991 × 0.08206 × 273.15 ÷ 1 = 2.23947 L = 2.2395 L
Volume of CO2:
2.2395 L
Reaction Stoichiometry Mass-to-Volume Calculator: Turn Grams Into Liters of Gas
This mass-to-volume stoichiometry calculator takes the mass of any reactant or product in a chemical reaction and works out the volume of gas connected to it — or the other way around, turning a gas volume back into a mass. Type your equation, tell it what you're starting with, pick what you want to find, and it does the rest, showing every step along the way.
It's built for the exact kind of problem that trips up a lot of chemistry students: you're given grams of one substance and asked for liters of a gas, or you measure a gas volume in the lab and need to know how many grams of a solid it corresponds to. Instead of hunting through separate mole, molar mass, and gas-law calculators, this one connects all three in a single tool, using a real balanced equation and the actual ideal gas law — not just a fixed 22.4 number.
What Is Mass-to-Volume Stoichiometry?
Mass-to-volume stoichiometry is the part of a stoichiometry problem where one substance is measured as a mass (grams, milligrams, kilograms) and another is measured as a gas volume (milliliters, liters, cubic meters). It shows up constantly in real chemistry: how many liters of carbon dioxide come off when a certain mass of baking soda reacts with vinegar, how much hydrogen gas forms when a strip of zinc dissolves in acid, or how much oxygen a given mass of potassium chlorate releases when it decomposes.
The link between mass and gas volume isn't direct — you can't convert grams to liters without going through moles first. Moles are the common currency of a balanced equation, and this calculator handles every leg of that journey: mass to moles using molar mass, moles of one substance to moles of another using the mole ratio from the balanced equation, and moles of a gas to a volume using the ideal gas law.
It's called mass-to-volume specifically because the two quantities are measured completely differently in the lab — mass on a balance, gas volume with a syringe, a eudiometer, or by water displacement — yet a single balanced equation ties them together precisely. Get the mole ratio right and the mass-volume relationship holds every time, regardless of how the reaction is actually carried out.
Advanced Features Built Into This Calculator
Most simple stoichiometry tools only handle grams-to-grams conversions, or use a single fixed 22.4 L/mol constant that only works at one specific temperature and pressure. This calculator goes further: it runs the full ideal gas law behind every volume it shows, so switching between STP, IUPAC STP, NTP, room temperature, or any custom conditions you type in actually changes the answer correctly, instead of quietly staying wrong at non-standard conditions.
It also works in both directions from the same equation — mass to volume, or volume back to mass — without asking you to re-enter your reaction, and it shows every species in the equation side by side in a chart and a table, not just the one pair you're solving for. Between the dual-direction mode, the five pressure units, the two temperature units, and the full reaction comparison view, this is built for exam-style problems as well as quick real-world estimates.
How to Calculate Gas Volume From Mass, Step by Step
Start with a balanced chemical equation, since the coefficients tell you exactly how many moles of each substance are involved. Convert the mass you're given into moles by dividing by that substance's molar mass. Then use the mole ratio between your known substance and your target substance — taken straight from the coefficients — to find how many moles of the target substance you actually have.
The last step turns those target moles into a volume using the ideal gas law, at whatever temperature and pressure the gas is measured under. This calculator runs through all four of these moves automatically every time you change an input, so you can watch the numbers update instantly and check the full working underneath.
The Formula Behind This Calculator
Two formulas do all the work here. The first is the mole ratio from the balanced equation: moles of target = moles of known ÷ coefficient of known × coefficient of target. The second is the ideal gas law, PV = nRT, rearranged to solve for volume: V = nRT ÷ P, where R is the gas constant, T is the absolute temperature in kelvin, and P is the pressure.
Working backward from a known volume to a mass uses the same two formulas in reverse — first n = PV ÷ RT to get moles of the known gas, then the mole ratio to get moles of the target substance, then moles × molar mass to get its mass. This calculator supports both directions with a single toggle, so you never need a second tool for the reverse problem.
STP, NTP, Room Temperature — Which Conditions Should You Use?
STP (Standard Temperature and Pressure) traditionally means 0°C and 1 atmosphere, where one mole of an ideal gas occupies about 22.41 liters — this is the number most textbooks use for quick gas stoichiometry problems. IUPAC's more current definition of STP uses 0°C and 100 kilopascals instead of exactly 1 atmosphere, which shifts the molar volume slightly to about 22.71 liters, and it's worth checking which definition your textbook or exam expects.
NTP (Normal Temperature and Pressure, 20°C and 1 atm) and room temperature or SATP conditions (usually taken as 25°C and 1 atm) come up in lab settings where reactions genuinely aren't happening at freezing point. This calculator includes all four as one-click presets, and also lets you type in any custom temperature and pressure — in Celsius or kelvin, and in atmospheres, kilopascals, millimeters of mercury, bar, or psi — so it isn't locked to a single textbook convention.
Worked Example: Volume of CO2 From Limestone and Acid
Take the reaction CaCO3 + 2HCl → CaCl2 + H2O + CO2. Say you start with 10 grams of calcium carbonate. Its molar mass is about 100.1 g/mol, so 10 grams gives roughly 0.0999 mol of CaCO3. Since CaCO3 has a coefficient of 1 and CO2 also has a coefficient of 1, the mole ratio is 1:1, meaning about 0.0999 mol of CO2 gas is produced.
At STP, plugging that into V = nRT ÷ P gives V = 0.0999 × 0.08206 × 273.15 ÷ 1 ≈ 2.24 liters of carbon dioxide gas — the same result this calculator returns instantly, along with the exact working shown underneath the answer.
Now compare that with a metal-acid reaction: Zn + 2HCl → ZnCl2 + H2. Starting from 13 grams of zinc (molar mass about 65.4 g/mol) gives roughly 0.199 mol of Zn. Zinc's coefficient is 1 and hydrogen's coefficient is 1, so the mole ratio is again 1:1, giving about 0.199 mol of H2 gas. At room temperature (25°C, 1 atm), V = 0.199 × 0.08206 × 298.15 ÷ 1 ≈ 4.87 liters of hydrogen — noticeably more than the STP figure for a similar mole amount, simply because warmer gas takes up more space at the same pressure.
Mass-to-Volume vs Volume-to-Mass: Working Both Directions
Not every stoichiometry problem hands you a mass to start with. Sometimes you measure a gas volume directly — collecting it over water in a lab, or reading it off a gas syringe — and need to work backward to find the mass of a solid reactant or product connected to it. This calculator's Volume → Mass mode handles exactly that, starting from a gas volume and the same temperature and pressure conditions.
Both directions share the same underlying balanced equation and mole ratio, so switching between them doesn't require re-entering your reaction — just toggle the mode, pick which species is known and which is the target, and the calculator adjusts its inputs and its working automatically.
Common Mistakes in Gas Stoichiometry Problems
The most common mistake is using the classic 22.4 L/mol shortcut at conditions that aren't actually STP — that number only applies at 0°C and 1 atmosphere. At room temperature, the molar volume is closer to 24.5 liters, and using 22.4 anyway quietly introduces an error of several percent. This calculator avoids that trap entirely by computing the real molar volume from the ideal gas law at whatever conditions you actually select.
A second common mistake is forgetting to convert temperature to kelvin before using it in the gas law — Celsius values plugged directly into PV = nRT give meaningless results. A third is skipping the mole ratio step and assuming moles of one substance simply equal moles of another, which only holds when both coefficients happen to be equal. This calculator applies each conversion in the correct order automatically, every time.
A fourth, quieter mistake is mixing up pressure units mid-problem — treating a pressure given in kilopascals as if it were already in atmospheres, or forgetting that 760 mmHg equals 1 atm. Because this calculator lets you pick the pressure unit directly from a dropdown and converts it internally, that particular slip simply can't happen here, even when a question is set entirely in kPa, bar, or psi.
Real-World Uses of Mass-to-Volume Stoichiometry
Outside the classroom, mass-to-volume stoichiometry shows up anywhere a solid or liquid reaction produces or consumes a gas. Airbag designers calculate how much sodium azide is needed to inflate a fixed volume of nitrogen gas in milliseconds. Antacid tablets are formulated using the same math, matching a dose of solid acid-neutralizer to a predictable volume of carbon dioxide released in the stomach.
Industrial chemists scaling up a gas-producing reaction — fermentation, combustion, or a gas-evolving synthesis step — use mass-to-volume calculations to size reactors, vents, and gas-collection equipment correctly. Environmental engineers use the same relationships to estimate the volume of gases like methane or carbon dioxide released from a known mass of decomposing material.
In the classroom, mass-to-volume questions are a staple of school and college exams precisely because they combine several skills at once — balancing an equation, converting units, and applying the gas law — into a single problem. Practicing with a calculator that shows every intermediate step, rather than just a final number, is a genuinely effective way to spot exactly which part of the method needs more review before a test.
How to Enter Your Reaction Correctly
Type your equation using standard chemical notation — a capital letter to start each element symbol, a lowercase letter if the symbol has two letters, and a number right after an element for its subscript, like Ca(OH)2 or C6H12O6. Separate compounds on the same side with a plus sign, and separate reactants from products with an arrow (->) or an equals sign. You don't need to balance it yourself — this calculator balances it automatically.
Once the equation is valid, dropdowns appear for every reactant and product, so you can pick exactly which one you're starting with (the known) and which one you want the answer for (the target). This works for reactions with any number of reactants and products, including combustion reactions, decompositions, and multi-product reactions.
Mass-to-Volume Stoichiometry Calculator FAQ and Quick Reference
To go from mass to gas volume, balance the equation, convert the known mass to moles, use the mole ratio to find moles of the target gas, then apply V = nRT ÷ P at your chosen temperature and pressure. To go the other way, start from V = nRT ÷ P rearranged as n = PV ÷ RT, then use the same mole ratio and multiply by molar mass to get a mass.
This free online calculator is built for homework help, exam revision, and quick lab planning. For regulated, safety-critical, or large-scale industrial use, always double-check every formula, molar mass, and quantity against a certified reference before relying on it for a real procedure.
Frequently Asked Questions
What is mass-to-volume stoichiometry?
It's the part of a stoichiometry problem where a mass (grams, mg, kg) of one substance is converted into the volume of a gas connected to it through a balanced equation, or a gas volume is converted back into a mass.
How do you convert grams to liters of gas in a chemical reaction?
Balance the equation, convert the given mass to moles using molar mass, use the mole ratio from the coefficients to find moles of the gas, then apply the ideal gas law V = nRT ÷ P to get its volume.
What is molar volume at STP?
At classic STP (0°C, 1 atm), one mole of an ideal gas occupies about 22.41 liters. Using IUPAC's modern STP definition (0°C, 100 kPa), it's closer to 22.71 liters.
Do I need to use STP, or can I use any temperature and pressure?
You can use any conditions. This calculator includes STP, IUPAC STP, NTP, and room temperature as presets, plus a custom option for any temperature and pressure you enter.
What's the difference between STP and NTP?
STP is usually 0°C at 1 atm (or 100 kPa under IUPAC's definition), while NTP is 20°C at 1 atm — a temperature closer to typical room conditions.
Can this calculator work in reverse, from volume to mass?
Yes. Switching to Volume → Mass mode lets you enter a gas volume and get back the mass of a different reactant or product, using the same balanced equation and conditions.
Why do I need to balance the equation first?
The coefficients in a balanced equation set the exact mole ratio between substances. Without balancing, the mole ratio — and every mass or volume calculated from it — would be wrong.
Is the ideal gas law accurate for real gases?
It's a very good approximation for most gases at normal laboratory temperatures and pressures. It becomes less accurate at very high pressure or very low temperature, where real gas behavior deviates from the ideal model.