{"uid":"cap_5g5TapLDrbXlOfJtR_QFU","slug":"formula-molar-mass-calculator-145ea4fe","name":"Formula Molar Mass Calculator","description":"Computes the exact molar mass in g/mol for any chemical formula, including nested parentheses like Ca(OH)2 and hydrates like CuSO4·5H2O, with a per-element mass-percentage breakdown. For lab dosing calculations, stoichiometry homework, and pharma formulation agents that can't afford a rounding mistake.","url":"https://x402.forgemesh.io/formula-mass-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"formula":{"type":"string","description":"chemical formula e.g. C6H12O6"}}},"responseSchema":{"type":"json","example":{"atom_count":3,"composition":[{"count":2,"element":"H","mass_percent":11.19},{"count":1,"element":"O","mass_percent":88.81}],"molar_mass_g_per_mol":18.015}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y9oTKCYo87Fdxiw2C9-zq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes exact molar mass (g/mol) and per-element mass-percentage breakdown for any chemical formula, including nested parentheses and hydrates.","exampleAgentPrompt":"What's the exact molar mass of CuSO4·5H2O, and can you break down the mass percentage of each element in it?","exampleUseCases":null,"resultDescription":"Returns the exact molar mass in g/mol for the given chemical formula, along with a per-element breakdown showing each element's contribution as a mass percentage of the whole compound.","failureModes":["Unrecognized element symbol returns an error (e.g. typo like 'Xx' in formula)","Malformed formula string with unbalanced parentheses returns a parse error","Empty or missing formula field returns a validation error","Unicode issues with middle-dot hydrate notation (·) if not properly encoded"],"whenToPreferThis":"Use this endpoint when you need precise, machine-verified molar mass calculations — especially for formulas with nested parentheses like Ca(OH)2 or hydrate notation like CuSO4·5H2O — where manual calculation or rounding errors are not acceptable. Ideal for lab dosing agents, pharmaceutical formulation pipelines, or stoichiometry workflows requiring both total molar mass and per-element percentage breakdown in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:58:14.694Z","isFirstParty":false}