Ecommerce Profit Margin Calculator
ecommerce_profit_margin_calculatorEcommerce Profit Margin Calculator — Calculate your true ecommerce profit margin including COGS, shipping, packaging, payment fees, and ad spend per unit. See contribution vs fully-loaded margin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"price": "<price>",
"cogs": "<cogs>",
"shippingCost": "<shippingCost>",
"packagingCost": "<packagingCost>",
"paymentFeePct": "<paymentFeePct>",
"platformFeePct": "<platformFeePct>",
"adCostPerUnit": "<adCostPerUnit>",
"returnsAllowancePct": "<returnsAllowancePct>"
},
"name": "ecommerce_profit_margin_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cogs | Yes | ||
| price | Yes | ||
| shippingCost | Yes | ||
| adCostPerUnit | Yes | ||
| packagingCost | Yes | ||
| paymentFeePct | Yes | ||
| platformFeePct | Yes | ||
| returnsAllowancePct | Yes |