{"openapi":"3.1.0","info":{"title":"Chemistry Calculators","version":"1.0.0","description":"Periodic table lookup, molar mass from formulas, mole conversions, dilution, pH, ideal gas, limiting reagent, empirical formula, bond polarity, half-life. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Chemistry Calculators: Periodic table lookup, molar mass from formulas, mole conversions, dilution, pH, ideal gas, limiting reagent, empirical formula, bond polarity, half-life. Chemistry Calculators answers chemistry arithmetic exactly: any element's properties (/element-lookup), molar mass and percent composition of a formula with brackets and hydrates (/molar-mass), conversion between grams, moles and molecules (/mole-convert), dilution and molarity (/dilution), pH, pOH, weak acids and buffers (/ph-calc), the ideal gas law (/ideal-gas), the limiting reagent and theoretical yield (/limiting-reagent), an empirical formula from percent composition (/empirical-formula), bond polarity from electronegativity (/bond-polarity) and radioactive decay (/half-life). Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://chemistry-calc.x402tookit.com"}],"paths":{"/bond-polarity":{"get":{"operationId":"bond_polarity","summary":"Bond type between two elements from the Pauling electronegativity difference: nonpolar covalent, polar covalent or ionic.","description":"Bond type between two elements from the Pauling electronegativity difference: nonpolar covalent, polar covalent or ionic.","tags":["chemistry","bond","electronegativity","polarity"],"parameters":[{"name":"a","in":"query","required":true,"description":"First element symbol, e.g. Na","schema":{"type":"string"}},{"name":"b","in":"query","required":true,"description":"Second element symbol, e.g. Cl","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"a":{"type":["null","object"],"properties":{"symbol":{"type":["null","string"]},"electronegativity":{"type":["null","number"]}}},"b":{"type":["null","object"],"properties":{"symbol":{"type":["null","string"]},"electronegativity":{"type":["null","number"]}}},"difference":{"type":["null","number"]},"bondType":{"type":["null","string"]},"moreElectronegative":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"IONIC","summary":"Na (0.93) and Cl (3.16): difference 2.23, ionic; Cl pulls electrons harder (partial negative).","reasons":["Textbook cut-offs on the Pauling scale: under 0.4 nonpolar covalent, 0.4 to 1.7 polar covalent, over 1.7 ionic.","A convention, not a sharp physical boundary."],"a":{"symbol":"Na","electronegativity":0.93},"b":{"symbol":"Cl","electronegativity":3.16},"difference":2.23,"bondType":"ionic","moreElectronegative":"Cl","degraded":false,"notChecked":["real bonding: ionic and covalent character is a spectrum and the cut-offs (0.4 and 1.7) are textbook conventions","metallic bonding between two metals","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:45:38.155Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/bond-polarity"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/bond-polarity"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/bond-polarity"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/bond-polarity"}}]}}},"/dilution":{"get":{"operationId":"dilution","summary":"Dilution equation C1 x V1 = C2 x V2: give any three values and get the fourth, plus solvent to add and the dilution factor.","description":"Dilution equation C1 x V1 = C2 x V2: give any three values and get the fourth, plus solvent to add and the dilution factor.","tags":["chemistry","dilution","molarity","lab"],"parameters":[{"name":"c1","in":"query","required":false,"description":"Stock concentration (any unit)","schema":{"type":"number"}},{"name":"v1","in":"query","required":false,"description":"Stock volume taken (any unit)","schema":{"type":"number"}},{"name":"c2","in":"query","required":false,"description":"Final concentration (same unit as c1)","schema":{"type":"number"}},{"name":"v2","in":"query","required":false,"description":"Final volume (same unit as v1)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"c1":{"type":["null","number"]},"v1":{"type":["null","number"]},"c2":{"type":["null","number"]},"v2":{"type":["null","number"]},"solventToAdd":{"type":["null","number"]},"dilutionFactor":{"type":["null","number"]},"stockFraction":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"C1 12 x V1 41.6667 = C2 1 x V2 500: take 41.6667 of stock and add solvent up to 500 (add about 458.333); dilution factor 12x.","reasons":["C1V1 = C2V2 holds because the amount of solute is unchanged.","Add the stock to part of the solvent, mix, then top up to the final volume mark."],"c1":12,"v1":41.66666667,"c2":1,"v2":500,"solventToAdd":458.3333333,"dilutionFactor":12,"stockFraction":0.08333333333,"degraded":false,"notChecked":["volume changes when mixing some solvents (volumes are not always additive: always dilute to the mark)","safety: add concentrated acid to water, never the reverse, and follow lab procedure","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:38.415Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/dilution"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/dilution"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/dilution"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/dilution"}}]}}},"/element-lookup":{"get":{"operationId":"element_lookup","summary":"Periodic table lookup by symbol, name or atomic number: weight, configuration, electronegativity, melting and boiling points.","description":"Periodic table lookup by symbol, name or atomic number: weight, configuration, electronegativity, melting and boiling points.","tags":["chemistry","periodic-table","element"],"parameters":[{"name":"element","in":"query","required":true,"description":"Symbol (Fe), name (iron) or atomic number (26)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"atomicNumber":{"type":["null","number"]},"symbol":{"type":["null","string"]},"name":{"type":["null","string"]},"atomicWeight":{"type":["null","number"]},"atomicWeightBasis":{"type":["null","string"]},"period":{"type":["null","number"]},"block":{"type":["null","string"]},"electronConfiguration":{"type":["null","string"]},"electronegativityPauling":{"type":["null","number"]},"meltingPointK":{"type":["null","number"]},"boilingPointK":{"type":["null","number"]},"meltingPointC":{"type":["null","number"]},"boilingPointC":{"type":["null","number"]},"densityGPerCm3":{"type":["null","number"]},"standardState":{"type":["null","string"]},"commonOxidationStates":{"type":["null","string"]},"discovered":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FOUND","summary":"Iron (Fe), Z = 26: atomic weight 55.845, Transition metal, period 4, electronegativity 1.83.","reasons":["IUPAC standard atomic weight","Data: PubChem Periodic Table and NIST Atomic Weights and Isotopic Compositions, retrieved 2026-10-11."],"atomicNumber":26,"symbol":"Fe","name":"Iron","atomicWeight":55.845,"atomicWeightBasis":"IUPAC standard atomic weight","period":4,"block":"Transition metal","electronConfiguration":"[Ar]4s2 3d6","electronegativityPauling":1.83,"meltingPointK":1811,"boilingPointK":3134,"meltingPointC":1537.85,"boilingPointC":2860.85,"densityGPerCm3":7.874,"standardState":"Solid","commonOxidationStates":"+3, +2","discovered":"Ancient","degraded":false,"notChecked":["isotopes and their abundances","temperature or pressure dependence of properties","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:38.680Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/element-lookup"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/element-lookup"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/element-lookup"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/element-lookup"}}]}}},"/empirical-formula":{"get":{"operationId":"empirical_formula","summary":"Empirical formula from percent or gram composition by element, and the molecular formula if you give the molar mass.","description":"Empirical formula from percent or gram composition by element, and the molecular formula if you give the molar mass.","tags":["chemistry","empirical-formula","composition","stoichiometry"],"parameters":[{"name":"composition","in":"query","required":true,"description":"element:percent (or grams) pairs, e.g. C:40.0,H:6.7,O:53.3","schema":{"type":"string"}},{"name":"molarMass","in":"query","required":false,"description":"Known molar mass in g/mol to find the molecular formula","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"empiricalFormula":{"type":["null","string"]},"empiricalMassGPerMol":{"type":["null","number"]},"subscripts":{"type":["null","object"],"properties":{"C":{"type":["null","number"]},"H":{"type":["null","number"]},"O":{"type":["null","number"]}}},"multiplierUsed":{"type":["null","number"]},"moleRatios":{"type":["null","object"],"properties":{"C":{"type":["null","number"]},"H":{"type":["null","number"]},"O":{"type":["null","number"]}}},"molecularFormula":{},"molecularMultiplier":{},"inputSum":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"EMPIRICAL_FORMULA_FOUND","summary":"Empirical formula CH2O (30.026 g/mol).","reasons":["Divide each percentage by the atomic weight, divide by the smallest result, and scale to whole numbers.","Composition accepted."],"empiricalFormula":"CH2O","empiricalMassGPerMol":30.026,"subscripts":{"C":1,"H":2,"O":1},"multiplierUsed":1,"moleRatios":{"C":1,"H":1.99588,"O":1.00035},"molecularFormula":null,"molecularMultiplier":null,"inputSum":100,"degraded":false,"notChecked":["whether the percentages sum to 100 (a shortfall can mean an unlisted element such as oxygen)","isomers: the same formula can be many different compounds","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:38.933Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/empirical-formula"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/empirical-formula"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/empirical-formula"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/empirical-formula"}}]}}},"/half-life":{"get":{"operationId":"half_life","summary":"Radioactive decay: remaining fraction after a time, time to reach a fraction (carbon dating), decay constant and mean life.","description":"Radioactive decay: remaining fraction after a time, time to reach a fraction (carbon dating), decay constant and mean life.","tags":["chemistry","half-life","radioactive-decay","carbon-dating"],"parameters":[{"name":"halfLife","in":"query","required":false,"description":"Half-life in the unit you choose (or use isotope)","schema":{"type":"number"}},{"name":"isotope","in":"query","required":false,"description":"c-14, k-40, u-238, u-235, ra-226, pu-239, cs-137, sr-90, co-60, h-3, i-131 or tc-99m (half-life in years)","schema":{"type":"string"}},{"name":"elapsed","in":"query","required":false,"description":"Time elapsed (same unit as the half-life)","schema":{"type":"number"}},{"name":"remainingFraction","in":"query","required":false,"description":"Fraction remaining, 0 to 1, to find the elapsed time","schema":{"type":"number"}},{"name":"initial","in":"query","required":false,"description":"Initial amount, to get the remaining amount","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"halfLife":{"type":["null","number"]},"isotope":{"type":["null","string"]},"elapsed":{"type":["null","number"]},"halfLivesElapsed":{"type":["null","number"]},"remainingFraction":{"type":["null","number"]},"remainingPercent":{"type":["null","number"]},"decayedPercent":{"type":["null","number"]},"remainingAmount":{"type":["null","number"]},"decayedAmount":{"type":["null","number"]},"decayConstantPerUnit":{"type":["null","number"]},"meanLife":{"type":["null","number"]},"unit":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"carbon-14 (half-life 5730 years): after 11460 years (2 half-lives) 25% remains (25 of 100); decay constant 0.00012097 per unit, mean life 8266.64.","reasons":["Remaining fraction = (1/2)^(time / half-life); time = half-life x log2(1 / fraction). Mean life = half-life / ln 2.","After 10 half-lives about 0.0977% remains."],"halfLife":5730,"isotope":"carbon-14 (half-life 5730 years)","elapsed":11460,"halfLivesElapsed":2,"remainingFraction":0.25,"remainingPercent":25,"decayedPercent":75,"remainingAmount":25,"decayedAmount":75,"decayConstantPerUnit":0.00012096809,"meanLife":8266.6426,"unit":"years","degraded":false,"notChecked":["measurement uncertainty and the age calibration needed for real radiocarbon dating (atmospheric C-14 varied over time)","decay chains and daughters that are also radioactive","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:45:39.195Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/half-life"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/half-life"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/half-life"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/half-life"}}]}}},"/ideal-gas":{"get":{"operationId":"ideal_gas","summary":"Ideal gas law PV = nRT: give any three of pressure, volume, moles and temperature and solve the fourth, in common units.","description":"Ideal gas law PV = nRT: give any three of pressure, volume, moles and temperature and solve the fourth, in common units.","tags":["chemistry","gas-law","ideal-gas","pressure"],"parameters":[{"name":"pressure","in":"query","required":false,"description":"Pressure","schema":{"type":"number"}},{"name":"volume","in":"query","required":false,"description":"Volume","schema":{"type":"number"}},{"name":"moles","in":"query","required":false,"description":"Amount in moles","schema":{"type":"number"}},{"name":"temperature","in":"query","required":false,"description":"Temperature","schema":{"type":"number"}},{"name":"pressureUnit","in":"query","required":false,"description":"atm (default), kPa, Pa, bar, mmHg, torr or psi","schema":{"type":"string"}},{"name":"volumeUnit","in":"query","required":false,"description":"L (default), mL or m3","schema":{"type":"string"}},{"name":"temperatureUnit","in":"query","required":false,"description":"K (default), C or F","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"pressure":{"type":["null","object"],"properties":{"atm":{"type":["null","number"]},"kPa":{"type":["null","number"]},"bar":{"type":["null","number"]},"mmHg":{"type":["null","number"]},"psi":{"type":["null","number"]}}},"volume":{"type":["null","object"],"properties":{"L":{"type":["null","number"]},"mL":{"type":["null","number"]},"m3":{"type":["null","number"]}}},"moles":{"type":["null","number"]},"temperature":{"type":["null","object"],"properties":{"K":{"type":["null","number"]},"C":{"type":["null","number"]},"F":{"type":["null","number"]}}},"solvedFor":{"type":["null","string"]},"molarVolumeAtThisConditionLPerMol":{"type":["null","number"]},"note":{},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"SOLVED","summary":"P 1 atm (101.325 kPa), V 22.414 L, n 1 mol, T 273.15 K (0 C).","reasons":["PV = nRT with R = 0.082057366 L atm / (mol K).","Within the range where the ideal gas law is usually accurate to a few percent.","…1 more"],"pressure":{"atm":1,"kPa":101.325,"bar":1.01325,"mmHg":760,"psi":14.695949},"volume":{"L":22.41397,"mL":22413.97,"m3":0.02241397},"moles":1,"temperature":{"K":273.15,"C":0,"F":32},"solvedFor":"volume","molarVolumeAtThisConditionLPerMol":22.41397,"note":null,"degraded":false,"notChecked":["real-gas behaviour: at high pressure or low temperature use van der Waals or a compressibility factor (errors of a few percent are normal near 10 atm)","gas mixtures (use partial pressures)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:39.455Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ideal-gas"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ideal-gas"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ideal-gas"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ideal-gas"}}]}}},"/limiting-reagent":{"get":{"operationId":"limiting_reagent","summary":"Limiting reagent, theoretical yield and leftover excess for a balanced reaction from reactant masses; optional percent yield.","description":"Limiting reagent, theoretical yield and leftover excess for a balanced reaction from reactant masses; optional percent yield.","tags":["chemistry","limiting-reagent","stoichiometry","yield"],"parameters":[{"name":"reactants","in":"query","required":true,"description":"formula:coefficient:grams separated by semicolons, e.g. H2:2:4;O2:1:16","schema":{"type":"string"}},{"name":"product","in":"query","required":true,"description":"formula:coefficient of the product, e.g. H2O:2","schema":{"type":"string"}},{"name":"actualGrams","in":"query","required":false,"description":"Actual product mass obtained, to compute percent yield","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"limitingReagent":{"type":["null","string"]},"theoreticalYieldGrams":{"type":["null","number"]},"theoreticalYieldMoles":{"type":["null","number"]},"product":{"type":["null","string"]},"percentYield":{},"reactants":{"type":["array","null"],"items":{"type":"object","properties":{"reactant":{"type":["null","string"]},"coefficient":{"type":["null","number"]},"gramsGiven":{"type":["null","number"]},"molesGiven":{"type":["null","number"]},"reactionExtent":{"type":["null","number"]},"molesUsed":{"type":["null","number"]},"gramsUsed":{"type":["null","number"]},"molesLeft":{"type":["null","number"]},"gramsLeft":{"type":["null","number"]},"limiting":{"type":["boolean","null"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"LIMITING_REAGENT_FOUND","summary":"O2 is limiting: theoretical yield 18.0161 g of H2O (1.00006 mol).","reasons":["Compare moles divided by coefficient for each reactant: the smallest sets how far the reaction can go.","The coefficients are used exactly as you give them: check the equation is balanced."],"limitingReagent":"O2","theoreticalYieldGrams":18.016126,"theoreticalYieldMoles":1.0000625,"product":"H2O","percentYield":null,"reactants":[{"reactant":"H2","coefficient":2,"gramsGiven":4,"molesGiven":1.98413,"reactionExtent":0.992063,"molesUsed":1.00006,"gramsUsed":2.01613,"molesLeft":0.984064,"gramsLeft":1.98387,"limiting":false},{"reactant":"O2","coefficient":1,"gramsGiven":16,"molesGiven":0.500031,"reactionExtent":0.500031,"molesUsed":0.500031,"gramsUsed":16,"molesLeft":0,"gramsLeft":0,"limiting":true}],"degraded":false,"notChecked":["whether the equation is balanced: the coefficients you give are used as stated","side reactions, purity and reaction completeness (real yields are lower)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:39.716Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/limiting-reagent"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/limiting-reagent"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/limiting-reagent"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/limiting-reagent"}}]}}},"/molar-mass":{"get":{"operationId":"molar_mass","summary":"Molar mass and percent composition by element for a formula, including brackets and hydrates such as CuSO4.5H2O.","description":"Molar mass and percent composition by element for a formula, including brackets and hydrates such as CuSO4.5H2O.","tags":["chemistry","molar-mass","formula","stoichiometry"],"parameters":[{"name":"formula","in":"query","required":true,"description":"e.g. C6H12O6, Ca(OH)2, K4[Fe(CN)6], CuSO4.5H2O","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"input":{"type":["null","string"]},"hillFormula":{"type":["null","string"]},"molarMassGPerMol":{"type":["null","number"]},"totalAtoms":{"type":["null","number"]},"composition":{"type":["array","null"],"items":{"type":"object","properties":{"element":{"type":["null","string"]},"name":{"type":["null","string"]},"atoms":{"type":["null","number"]},"atomicWeight":{"type":["null","number"]},"massGramsPerMole":{"type":["null","number"]},"massPercent":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"C6H12O6 (C6H12O6): 180.156 g/mol; C 40%, H 6.714%, O 53.28%.","reasons":["Sum of IUPAC standard atomic weights times atom counts (abridged values, about 4 significant figures for most elements).","All elements have a standard atomic weight."],"input":"C6H12O6","hillFormula":"C6H12O6","molarMassGPerMol":180.156,"totalAtoms":24,"composition":[{"element":"C","name":"Carbon","atoms":6,"atomicWeight":12.011,"massGramsPerMole":72.066,"massPercent":40.002},{"element":"H","name":"Hydrogen","atoms":12,"atomicWeight":1.008,"massGramsPerMole":12.096,"massPercent":6.71418}],"degraded":false,"notChecked":["whether the formula is a real compound","isotopic composition (standard atomic weights are used)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:45:39.976Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molar-mass"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molar-mass"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molar-mass"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molar-mass"}}]}}},"/molarity":{"get":{"operationId":"molarity","summary":"Molarity of a solution from solute grams and volume, or the grams of solute needed to make a target molarity and volume.","description":"Molarity of a solution from solute grams and volume, or the grams of solute needed to make a target molarity and volume.","tags":["chemistry","molarity","solution","lab"],"parameters":[{"name":"formula","in":"query","required":true,"description":"Solute formula, e.g. NaCl","schema":{"type":"string"}},{"name":"volumeL","in":"query","required":true,"description":"Final solution volume in litres","schema":{"type":"number"}},{"name":"grams","in":"query","required":false,"description":"Solute mass in grams (to find molarity)","schema":{"type":"number"}},{"name":"molarity","in":"query","required":false,"description":"Target molarity in mol/L (to find grams)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"formula":{"type":["null","string"]},"molarMassGPerMol":{"type":["null","number"]},"gramsNeeded":{"type":["null","number"]},"moles":{"type":["null","number"]},"gramsPerLitre":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"GRAMS_NEEDED","summary":"For 0.5 L at 0.15 mol/L of ClNa (58.4398 g/mol): weigh 4.38298 g (0.075 mol), dissolve, and make up to 0.5 L.","reasons":["grams = molarity x litres x molar mass. Dissolve in less solvent first, then dilute to the volume mark."],"formula":"ClNa","molarMassGPerMol":58.439769,"gramsNeeded":4.3829827,"moles":0.075,"gramsPerLitre":8.7659654,"degraded":false,"notChecked":["solubility limits (the answer may exceed what dissolves)","hydrate water in the solute mass (use the hydrate formula, for example CuSO4.5H2O)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:45:40.238Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molarity"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molarity"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molarity"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/molarity"}}]}}},"/mole-convert":{"get":{"operationId":"mole_convert","summary":"Convert between grams, moles and molecule counts for a chemical formula using Avogadro's number.","description":"Convert between grams, moles and molecule counts for a chemical formula using Avogadro's number.","tags":["chemistry","moles","avogadro","stoichiometry"],"parameters":[{"name":"formula","in":"query","required":true,"description":"Chemical formula","schema":{"type":"string"}},{"name":"grams","in":"query","required":false,"description":"Mass in grams (give exactly one of grams, moles or molecules)","schema":{"type":"number"}},{"name":"moles","in":"query","required":false,"description":"Amount in moles","schema":{"type":"number"}},{"name":"molecules","in":"query","required":false,"description":"Number of molecules or formula units","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"formula":{"type":["null","string"]},"molarMassGPerMol":{"type":["null","number"]},"grams":{"type":["null","number"]},"moles":{"type":["null","number"]},"molecules":{"type":["null","number"]},"totalAtoms":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"CONVERTED","summary":"H2O (18.015 g/mol): 18.015 g = 1 mol = 6.0221e+23 molecules.","reasons":["moles = grams / molar mass; molecules = moles x 6.02214076e23."],"formula":"H2O","molarMassGPerMol":18.015,"grams":18.015,"moles":1,"molecules":6.02214076e+23,"totalAtoms":1.806642228e+24,"degraded":false,"notChecked":["purity, hydration or isotopic differences","gases at conditions (use /ideal-gas for volume)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:45:40.489Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/mole-convert"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/mole-convert"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/mole-convert"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/mole-convert"}}]}}},"/ph-calc":{"get":{"operationId":"ph_calc","summary":"pH and pOH for a strong or weak acid or base, a hydrogen-ion concentration, or a buffer (Henderson-Hasselbalch).","description":"pH and pOH for a strong or weak acid or base, a hydrogen-ion concentration, or a buffer (Henderson-Hasselbalch).","tags":["chemistry","ph","acid-base","buffer"],"parameters":[{"name":"mode","in":"query","required":true,"description":"ph (convert a pH), h-conc, strong-acid, strong-base, weak-acid, weak-base or buffer","schema":{"type":"string"}},{"name":"value","in":"query","required":false,"description":"pH value (mode ph) or hydrogen-ion molarity (mode h-conc)","schema":{"type":"number"}},{"name":"concentration","in":"query","required":false,"description":"Molarity of the acid or base","schema":{"type":"number"}},{"name":"protons","in":"query","required":false,"description":"Ionisable H+ or OH- per formula unit for strong acids and bases (default 1)","schema":{"type":"integer"}},{"name":"ka","in":"query","required":false,"description":"Acid dissociation constant (weak-acid, buffer uses pKa)","schema":{"type":"number"}},{"name":"kb","in":"query","required":false,"description":"Base dissociation constant (weak-base)","schema":{"type":"number"}},{"name":"pka","in":"query","required":false,"description":"pKa for a buffer","schema":{"type":"number"}},{"name":"acidConc","in":"query","required":false,"description":"Buffer weak-acid concentration (HA)","schema":{"type":"number"}},{"name":"baseConc","in":"query","required":false,"description":"Buffer conjugate-base concentration (A-)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"mode":{"type":["null","string"]},"pH":{"type":["null","number"]},"pOH":{"type":["null","number"]},"hydrogenIonMolar":{"type":["null","number"]},"hydroxideIonMolar":{"type":["null","number"]},"description":{"type":["null","string"]},"method":{"type":["null","string"]},"percentIonised":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ACIDIC","summary":"pH 2.875 (pOH 11.12), strongly acidic; [H+] = 1.333e-3 M, [OH-] = 7.504e-12 M.","reasons":["exact quadratic x^2 / (c - x) = Ka (no small-x approximation).","Assumes 25 C (pH + pOH = 14) and ideal dilute solutions.","…1 more"],"mode":"weak-acid","pH":2.8752771,"pOH":11.124723,"hydrogenIonMolar":0.001332671,"hydroxideIonMolar":7.5037276e-12,"description":"strongly acidic","method":"exact quadratic x^2 / (c - x) = Ka (no small-x approximation)","percentIonised":1.3327,"degraded":false,"notChecked":["activity coefficients (real solutions above about 0.1 M deviate from these ideal results)","temperature (Kw = 1e-14 at 25 C only)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:45:40.750Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ph-calc"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ph-calc"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ph-calc"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://chemistry-calc.x402tookit.com/ph-calc"}}]}}}}}