{"uid":"cap_rNfbWc_HLJjjLx39Rraay","slug":"chemistry-calculators-molarity-calculator-6e30e3b1","name":"Chemistry Calculators – Molarity Calculator","description":"Molarity of a solution from solute grams and volume, or the grams of solute needed to make a target molarity and volume.","url":"https://chemistry-calc.x402tookit.com/molarity?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["formula","volumeL"],"properties":{"grams":{"type":"number","description":"Solute mass in grams (to find molarity)"},"formula":{"type":"string","description":"Solute formula, e.g. NaCl"},"volumeL":{"type":"number","description":"Final solution volume in litres"},"molarity":{"type":"number","description":"Target molarity in mol/L (to find grams)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"moles":{"type":["null","number"]},"source":{"type":["null","string"]},"formula":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"gramsNeeded":{"type":["null","number"]},"gramsPerLitre":{"type":["null","number"]},"molarMassGPerMol":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_no2Q797W1JhR7DgS7apt9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the molarity of a solution from solute grams and volume, or the grams of solute needed to achieve a target molarity and volume.","exampleAgentPrompt":"What's the molarity if I dissolve 58.44 grams of NaCl in 1 litre of water? Give me the moles and molar mass too.","exampleUseCases":[{"title":"Preparing lab reagent solution","prompt":"I need to make 2 litres of a 0.25 M glucose solution — how many grams of glucose (C6H12O6) do I need to weigh out?"},{"title":"Verifying solution concentration","prompt":"I dissolved 10 grams of KCl in 500 mL of water — what's the molarity of that solution?"},{"title":"Scaling up a chemistry experiment","prompt":"If I want 5 litres of a 1.5 M NaOH solution, how many grams of NaOH do I need to measure out?"}],"resultDescription":"Returns molar mass of the solute, moles computed, molarity in mol/L or grams needed depending on which mode was used, grams per litre, and a plain-English summary of the calculation.","failureModes":["Unrecognized or malformed chemical formula returns an error or null molar mass","Missing required query parameters (formula or volumeL) causes a validation failure","Providing neither grams nor molarity leaves the calculation underdetermined","Negative or zero volume/mass values may produce errors or nonsensical results"],"whenToPreferThis":"Use this endpoint when you need a fast, accurate molarity or mass calculation for a known chemical formula without setting up a local chemistry library. Ideal for lab preparation, homework assistance, or automated chemistry workflows where stoichiometric precision matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:19.465Z","isFirstParty":false,"canonicalSlug":"chemistry-calculators-molarity-calculator-6e30e3b1"}