{
  "slug": "molecular-weight-calculator",
  "name": "gizza-ai/molecular-weight-calculator",
  "version": "0.1.0",
  "title": "Molecular Weight Calculator — gizza.ai",
  "description": "Compute molar mass, monoisotopic mass, atom counts, and elemental percent composition from a chemical formula. Supports groups and hydrate dot notation.",
  "tags": [
    "chemistry",
    "molecular weight",
    "molar mass",
    "formula",
    "composition"
  ],
  "category": "math",
  "urls": {
    "page": "https://gizza.ai/tools/molecular-weight-calculator/",
    "markdown": "https://gizza.ai/tools/molecular-weight-calculator/index.md",
    "descriptor": "https://gizza.ai/tools/molecular-weight-calculator/tool.json",
    "deep_link_example": "https://gizza.ai/tools/molecular-weight-calculator/?formula=C8H10N4O2&decimals=4"
  },
  "cli": "gizza tool molecular-weight-calculator \"C8H10N4O2\"",
  "tool": {
    "description": "Compute the molecular weight of a chemical formula. Pass formula (e.g. H2O, NaCl, C6H12O6, C8H10N4O2 for caffeine) and optionally decimals (0–10, default 4). Element symbols are case-sensitive. The parser supports subscript counts, nested groups in ()/[]/{} with a multiplier (Ca(OH)2, K4[Fe(CN)6]), and hydrate/dot notation with a leading coefficient (CuSO4·5H2O, CuSO4.5H2O). Returns the average molar_mass in g/mol, the monoisotopic (exact) mass in Da, the total atom_count and element_count, the Hill-notation formula, and a per-element composition table with each element's atomic weight, mass contribution and mass percent. SMILES input is not supported.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "decimals": {
          "default": 4,
          "description": "How many decimal places to round the molar and monoisotopic masses to, 0–10. Mass percentages are always shown to 2 decimals. Default 4.",
          "maximum": 10,
          "minimum": 0,
          "type": "integer"
        },
        "formula": {
          "description": "The chemical (molecular) formula to analyze. Element symbols are case-sensitive (Co = cobalt, CO = carbon monoxide). Supports subscript counts (H2O), nested groups in ()/[]/{} with a multiplier (Ca(OH)2, K4[Fe(CN)6]), and hydrate/dot notation with a leading coefficient (CuSO4·5H2O, CuSO4.5H2O, Na2CO3*10H2O). SMILES is not supported.",
          "type": "string"
        }
      },
      "required": [
        "formula"
      ],
      "type": "object"
    }
  }
}