# Ad metrics calculator

> Calculate click-through rate, cost per click, CPM, conversion rate, cost per acquisition and ROAS from your ad spend and results. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/ad-metrics-calculator

Paste the totals of a campaign from Google Ads, Meta or LinkedIn and get every ratio a report needs, calculated the same way for each channel.

1. Enter what you spent.
2. Enter impressions, clicks, conversions and the revenue they brought.
3. Press Calculate and compare the ratios across campaigns.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `spend` | number | yes | Ad spend. |
| `impressions` | integer | no | Impressions. Default: 0. |
| `clicks` | integer | no | Clicks. Default: 0. |
| `conversions` | integer | no | Conversions. Default: 0. |
| `revenue` | number | no | Revenue from the ads. Default: 0. |

## Example

Input:

```json
{
  "spend": 1500,
  "impressions": 120000,
  "clicks": 2400,
  "conversions": 96,
  "revenue": 7200
}
```

Result:

```json
{
  "ctr_percent": 2,
  "cpc": 0.63,
  "cpm": 12.5,
  "conversion_rate_percent": 4,
  "cpa": 15.63,
  "roas": 4.8,
  "profit": 5700
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "ad-metrics-calculator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/ad-metrics-calculator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"spend":1500,"impressions":120000,"clicks":2400,"conversions":96,"revenue":7200}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**What is a good ROAS?**

It depends on your margin. At a 50% margin you need a ROAS above 2 just to cover the ad spend; most shops aim for 4 or more.

**What is the difference between CPA and CPC?**

CPC is what one click costs. CPA is what one conversion (a sale, a signup) costs, so it is the click cost divided by the conversion rate.

**Why are some results empty?**

A ratio needs both of its numbers. Leave impressions at zero and CTR and CPM stay empty; the rest is still calculated.

All free tools: https://orkosi.com/tools.md
