ROAS & Break-even ROAS Calculator
roas_calculatorCalculate ROAS, ACOS, break-even ROAS, and profit from ad revenue, ad spend, and gross margin. See the full version at https://rahuldsarker.co/calculators/roas
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": {
"revenue": "<revenue>",
"spend": "<spend>",
"marginPct": "<marginPct>"
},
"name": "roas_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spend | Yes | Total ad spend | |
| revenue | Yes | Revenue attributed to the ad spend | |
| currency | No | ISO 4217 code for money in the result, e.g. "USD", "INR", "EUR", "GBP". Omit to show plain numbers. | |
| marginPct | Yes | Gross margin, as a percentage, e.g. 60 for 60% |
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 |