- Home
- Skills
- Finance & Accounting
- Ad Margins — Paste Spend and Sales, Get ROAS and Break-Even
Ad Margins — Paste Spend and Sales, Get ROAS and Break-Even
One row per ad with spend, sales and gross margin rate. Get ROAS, break-even ROAS, a below-break-even marker and cost per conversion.
$5
Works with the AI Agents you already use
Ad Margins — Paste Spend and Sales, Get ROAS and Break-Even
Example session with this skill installed
ad,spend,sales,margin_rate,conversions
Search,100,250,0.50,5
Social,120,180,0.40,4
- Read your context and instructions
- Compiled the ad margins
Ad Margins: ROAS and break-even calculations
ROAS = sales / spend; break-even ROAS = 1 / margin rate.
Row | Ad | ROAS | Break-even | Below? | Cost/conversion
2 | Search | 2.5000x | 2.0000x | no | 20.00
3 | Social | 1.5000x | 2.5000x | yes | 30.00
Formula: ROAS = sales / spend; Break-even ROAS = 1 / margin_rate; A margin ending in % is converted to a fraction; e.g. 40% means 0.40.; Currency symbols are removed without conversion.
This is arithmetic on supplied values; it does not recommend budget changes or infer attribution.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one row per ad with spend, sales and gross margin rate, as a UTF-8 CSV or TSV. Get ROAS (sales / spend), break-even ROAS (1 / margin rate), a below-break-even marker, and cost per conversion when a conversion count is supplied. Malformed rows are reported by row number as unreadable.
Input columns: ad, spend, sales, margin_rate and an optional conversions column. margin_rate is a fraction (0.40) or a percent (40%). Currency markers are removed without conversion; use one currency consistently. Input is limited to 100,000 bytes and 2,000 data rows.
Output: text, markdown, json or csv. The report can be written to a new file; existing files are never overwritten.
Limits: Ad Margins is arithmetic on the values you provide. It does not verify sales attribution, calculate fees or taxes, convert currencies, decide whether a campaign should continue, or recommend budget allocation. Review your margin assumptions separately.
Included: the Python script, unit tests, a sample CSV and its sample report, and a README.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.
Max 2,000 rows or 100kb. Spend must be > 0. Does not handle attribution or taxes. Refuses to overwrite existing files.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
Python 3.9+