{
  "slug": "molarity",
  "title": "Molarity Calculator",
  "heading": "Molarity (Solution Concentration) Calculator",
  "category": "math",
  "url": "https://www.revenuelab.fyi/toolbox/molarity",
  "summary": "Moles, mass, and molar concentration for any solution.",
  "description": "Molarity is moles of solute per litre of solution. Enter mass, molar mass, and volume to get concentration — plus how much you'd need for a target molarity.",
  "formula": "M = (mass ÷ molar mass) ÷ litres",
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=molarity",
  "inputs": [
    {
      "id": "mass",
      "label": "Solute mass",
      "kind": "number",
      "hint": null,
      "default": 58.44,
      "unit": "g",
      "min": 0,
      "max": null
    },
    {
      "id": "mm",
      "label": "Molar mass",
      "kind": "number",
      "hint": null,
      "default": 58.44,
      "unit": "g/mol",
      "min": 0.01,
      "max": null
    },
    {
      "id": "vol",
      "label": "Solution volume",
      "kind": "number",
      "hint": null,
      "default": 1,
      "unit": "L",
      "min": 0.001,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "molarity",
      "label": "Molarity (mol/L)",
      "format": "decimal",
      "hint": null,
      "primary": true
    },
    {
      "id": "moles",
      "label": "Moles of solute",
      "format": "decimal",
      "hint": null,
      "primary": false
    },
    {
      "id": "mM",
      "label": "Millimolar (mM)",
      "format": "decimal",
      "hint": null,
      "primary": false
    },
    {
      "id": "gPerL",
      "label": "Concentration (g/L)",
      "format": "decimal",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Solute mass: 58.44 g",
      "Molar mass: 58.44 g/mol",
      "Solution volume: 1 L"
    ],
    "outputs": [
      "Molarity (mol/L): 1",
      "Moles of solute: 1",
      "Millimolar (mM): 1,000",
      "Concentration (g/L): 58.44"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter solute mass (g).",
      "Enter molar mass (g/mol).",
      "Enter solution volume (L).",
      "Read your molarity (mol/l) on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "mass": 35.064,
        "mm": 35.064,
        "vol": 0.6
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "mass": 58.44,
        "mm": 58.44,
        "vol": 1
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "mass": 93.504,
        "mm": 93.504,
        "vol": 1.6
      }
    }
  ],
  "limitations": [
    "Results are rounded for display; the underlying calculation keeps full precision.",
    "Very large or very small inputs may hit floating-point limits in the browser.",
    "Inputs outside the accepted range are clamped rather than rejected."
  ],
  "faq": [
    {
      "q": "How does the molarity (solution concentration) calculator work?",
      "a": "Molarity is moles of solute per litre of solution. Enter mass, molar mass, and volume to get concentration — plus how much you'd need for a target molarity. The underlying maths is: M = (mass ÷ molar mass) ÷ litres"
    },
    {
      "q": "What do I need to enter?",
      "a": "3 values: solute mass, molar mass, and solution volume. Each field starts with a sensible default, so you can change one number at a time and watch the result move."
    },
    {
      "q": "What does the molarity (mol/l) result mean?",
      "a": "It is returned as a decimal number and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds."
    },
    {
      "q": "Is this calculator free, and do I need an account?",
      "a": "Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser."
    },
    {
      "q": "How accurate is the result?",
      "a": "It applies the standard formula exactly, so the arithmetic is precise. Results are rounded for display; the underlying calculation keeps full precision."
    },
    {
      "q": "Who is this tool for?",
      "a": "It's built for students, developers, and anyone who needs the answer right now without setting up a spreadsheet."
    }
  ],
  "related": [],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Molarity Calculator (https://www.revenuelab.fyi/toolbox/molarity)"
}