Math & Numbers
Reaction Stoichiometry Calculator
Determine the limiting reagent and compute theoretical yield, actual yield, and percent yield from a balanced reaction.
json· JSON resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/reaction-stoichiometry-calculator' \
-H 'Content-Type: application/json' \
-d '{"reactants":"2 H2, 1.0 g\n1 O2, 8.0 g","product":"2 H2O","actualYield":0,"decimalPlaces":4}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/reaction-stoichiometry-calculatorParameters
| Name | Type | Required | Description |
|---|---|---|---|
| reactants | textarea | Yes | Each line: optional label, stoichiometric coefficient + chemical formula, and the available mass (g/kg/mg). |
| product | text | Yes | Chemical formula of the product whose yield you want. Include its stoichiometric coefficient (e.g. 2 H2O). |
| actualYield | number | No | — |
| decimalPlaces | number | No | — |
Response format
JSON result
JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-reaction-stoichiometry-calculator": {
"name": "reaction-stoichiometry-calculator",
"description": "Determine the limiting reagent and compute theoretical yield, actual yield, and percent yield from a balanced reaction.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=reaction-stoichiometry-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "reaction-stoichiometry-calculator",
"arguments": {
"reactants": "2 H2, 1.0 g\n1 O2, 8.0 g",
"product": "2 H2O",
"actualYield": 0,
"decimalPlaces": 4
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Questions or issues? Contact [email protected]