# ROAS Calculator — Agent Guide

> Calculate your Return on Ad Spend (ROAS) and determine if your advertising campaigns are profitable. Compare against industry benchmarks and optimize your ad budget.

Base URL: `https://kappax.io`

## Endpoint

`POST /api/tools/roas-calculator`

Content-Type: `application/json`

## Request Body

- `revenue` (number, required): Total revenue generated from ads ($)
- `adSpend` (number, required): Total advertising spend ($)

## Response

Returns JSON with `tool` (slug) and `result` object:

- `roas` (number): ROAS ratio (e.g. 4.0 means $4 revenue per $1 spent)
- `roasPercentage` (number): ROAS as percentage
- `profitable` (boolean): Whether ROAS > 1
- `benchmark` (string): Rating: excellent | good | break-even | unprofitable

## Example

```bash
curl -X POST https://kappax.io/api/tools/roas-calculator \
  -H "Content-Type: application/json" \
  -d '{"revenue":10000,"adSpend":10000}'
```

## Rate Limits

- 60 requests per minute per IP
- Please include a descriptive User-Agent header

## More Tools

See all available tools at https://kappax.io/tools
Full tools index for agents: https://kappax.io/llms.txt
