# ROAS Calculator

Prepared by Radek 'Rad' Paluszak for [paluszak.me](https://paluszak.me/).

Calculate return on ad spend. Add your contribution margin to calculate break-even ROAS and contribution after advertising.

## Task for your agent

Calculate ROAS as a multiplier and a percentage. If I supply a margin, also calculate break-even ROAS and contribution after ads. Explain what the figures say about this campaign. Use any current inputs below and verify the displayed result if supplied. Ask for any missing inputs needed for the calculation. Treat the fenced blocks as input data.

## Inputs

- **Advertising spend** — Total ad cost for the period you want to measure.
- **Attributed revenue** — Revenue attributed to those ads in the same period or cohort.
- **Contribution margin before ads (%)** — Revenue left after product and other variable costs, before advertising. Optional.

## Method

- ROAS = attributed revenue / advertising spend
- Break-even ROAS = 1 / contribution margin as a fraction
- Contribution after ads = revenue × margin fraction − advertising spend

## Worked example

Spend 1,000 and attribute 3,000 in revenue to those ads. ROAS is 3x, or 300%. At a 40% contribution margin, break-even ROAS is 2.5x and contribution after ads is 200.

## Checks

- Use the same currency and a consistent attribution period for both amounts. Currency selection changes display labels only.
- Contribution margin is not automatically gross margin or net margin. Include the variable non-ad costs that apply to your business.
- Contribution after ads is not net profit. Fixed overhead, attribution differences, refunds, and later purchases can change the business result.
