Performance Marketing Margin Protector
performance_marketing_margin_protectorCalculate the break-even and maximum CPA that protect a target profit margin, and check current CPA against that ceiling. See the full version at https://rahuldsarker.co/calculators/performance-marketing-margin-protector
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": {
"aov": "<aov>",
"grossMarginPct": "<grossMarginPct>",
"targetProfitPct": "<targetProfitPct>",
"currentCpa": "<currentCpa>"
},
"name": "performance_marketing_margin_protector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aov | Yes | Average order / contract value | |
| currency | No | ISO 4217 code for money in the result, e.g. "USD", "INR", "EUR", "GBP". Omit to show plain numbers. | |
| currentCpa | Yes | Current CPA | |
| grossMarginPct | Yes | Gross margin, as a percentage | |
| targetProfitPct | Yes | Target profit margin to keep after ad cost, as a percentage |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| tool | Yes | The calculator tool that produced this result | |
| notes | Yes | ||
| title | Yes | ||
| inputs | Yes | ||
| compact | Yes | ||
| metrics | Yes | Every "Label: value" line of the result; value is the first number on the line | |
| currency | Yes | ||
| benchmarks | Yes | Rule-of-thumb verdicts for the headline numbers | |
| bookingUrl | Yes | ||
| calculator | Yes | Slug of the interactive calculator on rahuldsarker.co |