Molarity Calculator
Compute molarity c = n/V and dilution C1·V1 = C2·V2. Runs locally. Not mole n=m/M and not Henderson–Hasselbalch.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance · c = n/V and one-unknown C1·V1 = C2·V2, + O3 mpmath tabulated molarity.
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- c = n/V and one-unknown C1·V1 = C2·V2, + O3 mpmath tabulated molarity.
- Assurance
- Engineering
- Declared partition coverage
- PASS · 9/9 declared partitions (alias, zero, amount-mode, volume-mode, dilution-v2, dilution-other, awkward, molarity, invalid-domain) · Matrix
- Deferred
- Not mole n = m/M and not a buffer.
- Numerical scope
- O2: molarity c = n/V and one-unknown dilution vs a separate-module identity (≤2 ULP). Not mole n = m/M. ≤2 ULP vs O3 applies only to the published tabulated molarity vectors. Not mole n = m/M.
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- Molarity from amount and volume, the inverse n or V, and one-unknown dilution.
- Scope
- c = n/V
- Verification
- Engine tested · Source checked · v1.0.1 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance · c = n/V and one-unknown C1·V1 = C2·V2, + O3 mpmath tabulated molarity.· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.0.1 · CVP protocol 1.0.0-proposed · Evidence 2026-09-25.o2-o3.2
- Verification revision
- 2026-09-25.o2-o3.2 · 1/1 property · digest 186290957d37
- Legacy regression
- 14/14 tests · Production surface contract 5/5
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O3 expected_values · O3 numerical_behavior · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 4/4 golden · 7/7 CVP boundary · 6/6 invalid · 1/1 property · 1/1 metamorphic · 8/8 O3 · 2/2 cross-interface · 5/5 CVP contract · Manifest
- Sources
- OpenStax Chemistry 2e — Molarity
- OpenStax Chemistry 2e — Dilution of Solutions
- IUPAC Gold Book — concentration
- Evidence
- 1 legacy golden · 8 legacy boundary · legacy regression suite · 4/4 oracle-backed golden · 6/6 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Choose molarity or dilution
c = n/V needs amount and volume. Dilution omits exactly one of C1, V1, C2, V2.
Enter the known values
Volume and concentrations used as divisors must be greater than zero. Amount may be zero.
Read c or the omitted dilution term
c = n/V. Dilution solves the missing C1, V1, C2, or V2.
Example calculations
Common configurations with formula and result.
Two-molar solution
n=0.5 mol in V=0.25 L
Stock to working concentration
C1=2 mol/L, V1=0.05 L, C2=0.1 mol/L
Molarity calculator specification
Version 1.0.1 · Engine tested
- Engine tested 14/14 tests · Production surface contract 5/5
- Named expert review Not performed
- Calculation version 1.0.1
- Definition
- Molarity c = n/V. Dilution conserves solute: C1·V1 = C2·V2. Lab units mol, L, mol/L.
- What it calculates
- Molarity from amount and volume, the inverse n or V, and one-unknown dilution.
- Inputs
- mode?
- amount
- volume
- molarity
- c1
- v1
- c2
- v2
- Outputs
- molarity?
- amount?
- volume?
- c1?
- v1?
- c2?
- v2?
- solved_field?
- Formula
c = n/V; C1·V1 = C2·V2- Assumptions
- c = n/V
- C1·V1 = C2·V2
- Lab units mol, L, mol/L
- Not mole n=m/M
- Not ICE or Henderson–Hasselbalch
- Units
- mol
- L
- mol/L
- Boundary conditions
- molarity missing amount or volume → MISSING_REQUIRED_INPUT
- volume ≤ 0 → VALUE_MUST_BE_POSITIVE
- dilution with 0 or 2+ omitted keys → INVALID_INPUT
- unknown mode → INVALID_MODE
- Example
- amount=0.5 volume=0.25 → c=2
- Validation cases
3 published on this page · 14/14 tests · Production surface contract 5/5 · View evidence
- amount=0.5 volume=0.25 → c=2
- mode=dilution c1=2 v1=0.05 c2=0.1 → v2=1
- volume=0 → VALUE_MUST_BE_POSITIVE
- Sources
- OpenStax Chemistry 2e — Molarity — MolaritySupports: c = n/V relates amount, volume, and molar concentration
- OpenStax Chemistry 2e — Dilution of Solutions — DilutionSupports: C1·V1 = C2·V2 conserves solute amount on dilution
- IUPAC Gold Book — concentration — amount concentrationSupports: Amount concentration is amount of substance divided by volume
- OpenStax Chemistry 2e — Molarity — Molarity
- Calculation version
- 1.0.1
Background
Interpretation and common distinctions.
Compute molarity and dilution.
Supported and not supported
Supported — c = n/V and C1·V1 = C2·V2 · API chemistry.solution.molarity
Not supported — mole n=m/M, ICE, Henderson–Hasselbalch, rewriting /convert/chemistry
Agent / API notes
Capability id: chemistry.solution.molarity · tool id: molarity · pin 1.0.1.
{ "mode": "molarity", "amount": 0.5, "volume": 0.25 }
Other modes: amount, volume, dilution. Dilution omits exactly one of c1, v1, c2, v2. Errors: MISSING_REQUIRED_INPUT, INVALID_NUMBER, VALUE_MUST_BE_POSITIVE, VALUE_OUT_OF_RANGE, INVALID_MODE, INVALID_INPUT.
Calculator URL is /calc/chemistry/molarity. Converters stay on /convert/chemistry.
Related tools
Other calculators in this family: Mole, Henderson–Hasselbalch, pH .
Frequently asked questions
Key distinctions behind the calculation.
Is this mole n = m/M?
No. Amount from mass is /calc/chemistry/mole. This page is solution concentration.
Does dilution use four given values?
No. Provide exactly three of C1, V1, C2, V2. Sending all four is rejected.
Is this ICE or Henderson–Hasselbalch?
No. Buffer pH is /calc/chemistry/henderson-hasselbalch. ICE is out of scope.
Where does this run?
Locally in the browser by default. REST and MCP call the same chemistry-engine solution wrapper.