{"uid":"cap_axkfNukbPvb7DRERWcstk","slug":"mole-mass-molecule-count-converter-fc33a2b5","name":"Mole-Mass-Molecule Count Converter","description":"Mole-to-mass-to-molecule-count converter for any chemical formula: supply a mass in grams or an amount in moles and get the full conversion set computed from the compound's exact molar mass. Useful for lab calculations, dosage prep, and chemistry education tools.","url":"https://x402.forgemesh.io/mole-mass-converter","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"grams":{"type":"string"},"moles":{"type":"string"},"formula":{"type":"string"}}},"responseSchema":{"type":"json","example":{"moles":1,"molecules":6.02214076e+23,"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_RhjU5p5xZhGtdMhSXMHEK","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":"Converts a chemical compound's mass (grams) or mole amount into a full set of molar conversions including moles, grams, and molecule count, computed from the exact molar mass of the formula.","exampleAgentPrompt":"I have 25 grams of glucose (C6H12O6) — can you convert that to moles and tell me how many molecules that is?","exampleUseCases":null,"resultDescription":"Returns the full conversion set for the given chemical formula: the compound's exact molar mass, the equivalent number of moles (if grams were supplied), the equivalent mass in grams (if moles were supplied), and the total molecule count, all computed from the formula's atomic weights.","failureModes":["Invalid or unrecognized chemical formula returns an error","Neither grams nor moles provided results in a missing-parameter error","Malformed formula string (e.g. mismatched brackets) causes a parse failure","Non-numeric string for grams or moles field returns a validation error"],"whenToPreferThis":"Use this endpoint when you need a fast, single-call molar conversion for any arbitrary chemical formula, especially in lab prep, dosage calculation, or chemistry education contexts where you need grams, moles, and molecule count all at once rather than computing them separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:56:37.984Z","isFirstParty":false}