# Molarity calculator > How much solute do you need for your solution? Molarity, the mass to weigh or the volume from any two of amount, volume and concentration. Find how many grams to weigh for a solution of a given molarity, or the molarity or volume from the other two, with molality and the beaker drawn to scale. - Page: https://how.box/molarity/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/molarity/?s={s}&n={n}&nu={nu}&v={v}&vu={vu}&c={c}&cu={cu}&mm={mm}&d={d} - `s` (amount, volume or molarity): The unknown: amount (default), volume or molarity. Example: `amount`. - `n` (number 0 to 1e9): Amount of solute, in nu. Example: `5`. - `nu` (g, mg, kg, mol or mmol): g, mg, kg, mol or mmol. Example: `g`. - `v` (number 0 to 1e9): Volume of solution, in vu. Example: `100`. - `vu` (ml or l): ml or l. Example: `ml`. - `c` (number 0 to 1e6): Molarity, in cu. Example: `1`. - `cu` (molar or millimolar): molar or millimolar. Example: `molar`. - `mm` (number 0 to 1e7): Molar mass of the solute, g/mol. Example: `58.44`. - `d` (number 0 to 30): Density of the solution, g/mL. Example: `1`. Example answer: https://how.box/molarity/?s=amount&n=5&nu=g&v=100&vu=ml&c=1&cu=molar&mm=58.44&d=1 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `molarity_calculate`: Molarity c = n / V of a solution: solve ("amount" default, "volume" or "molarity"; its own field is ignored) from the other two of amount (in amount_unit: g default, mg, kg, mol, mmol; masses through molar_mass in g/mol, default 58.44 NaCl), volume (volume_unit: ml default, l) and molarity (molarity_unit: molar default, millimolar). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"molarity_calculate","arguments":{"solve":"amount","amount":5,"amount_unit":"g","volume":100,"volume_unit":"ml","molarity":1,"molarity_unit":"molar","molar_mass":58.44,"density":1}}}` - GET: https://how.box/mcp/run/molarity_calculate?solve=amount&amount=5&amount_unit=g&volume=100&volume_unit=ml&molarity=1&molarity_unit=molar&molar_mass=58.44&density=1 ## How it works Molarity says how much of a substance is dissolved in each litre of solution: moles of solute per litre, written mol/L or M. The same amount of solute in more liquid gives a weaker solution, and more solute in the same liquid a stronger one. The formula is c = n ÷ V, where c is the molarity, n the amount of solute in moles and V the volume of the solution in litres. Moles come from a mass through the molar mass M: n = m ÷ M. To make 100 mL of 1.00 M sodium chloride you need n = 1.00 × 0.100 = 0.100 mol, which is 0.100 × 58.44 = 5.84 g, dissolved and made up to 100 mL. V is the volume of the finished solution, not of the water added, so dissolve the solute and then fill to the mark of a volumetric flask. Molality, moles per kilogram of solvent, does not change with temperature; it needs the solution's density, 1 g/mL by default, which is close only for dilute water solutions. Source: OpenStax Chemistry 2e, sections 3.3 and 11.4. ## FAQ **Do I need a molar mass if I already know the moles?** Not to relate moles, volume and molarity. You still need the correct molar mass for the grams, mass percentage and molality shown alongside the answer. **Can I enter millimolar concentrations?** Yes. Select the millimolar unit beside the concentration. One millimolar is one thousandth of a mole per litre. **Why is the molality missing?** The density and volume entered may imply a total solution mass no greater than the solute mass. That leaves no positive solvent mass; check the density, units and amount. **Where do I find the molar mass?** Add up the atomic weights of the formula, or use the molar mass calculator: water is 18.02 g/mol, sodium chloride 58.44 g/mol and glucose 180.16 g/mol. **Can I use a stock solution instead of weighing a solid?** Use the dilution calculator for that. This tool works from an amount of solute and a final solution volume, rather than a stock concentration and transfer volume. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)