roas-calculator

Calculate adjusted ROAS with margins, refunds, discounts, and overhead.

7|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Leooooooow/Awesome-eCommerce-Skills --skill roas-calculator-leooooooow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: roas-calculator
Source: https://github.com/Leooooooow/Awesome-eCommerce-Skills/tree/main/skills/roas-calculator
Command: npx skills add https://github.com/Leooooooow/Awesome-eCommerce-Skills --skill roas-calculator-leooooooow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Adjust ROAS to reflect true profitability after accounting for margins, refunds, discounts, and overhead, helping teams avoid overspending on underperforming ads.

Core Features & Use Cases

  • Profit-aware ROAS: corrects for discounts, refunds, fulfillment costs, and platform fees to reveal real margins.
  • Decision guidance: provides scale/hold/cut recommendations based on break-even analysis and risk.
  • Reusable outputs: generates a Python script with the defined assumptions for future campaigns.

Quick Start

Provide your ad spend, attributed revenue, margins, discounts, refunds, and costs, then run the calculator to receive a scale/hold/cut recommendation and a reusable Python script.

Frequently Asked Questions about roas-calculator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate true profitability from my ecommerce advertising ROAS?

To calculate true profitability from advertising ROAS, you adjust attributed revenue by subtracting ad spend, gross margins, discounts, refunds, and channel costs. This reveals actual margins to prevent overspending on underperforming campaigns.

What is break-even ROAS and when do I need it for campaign scaling decisions?

Break-even ROAS is the minimum return needed to cover product costs and overhead before generating profit. You need it for campaign scaling decisions when deciding whether to scale, hold, or cut paid traffic based on risk analysis.

How do I adjust ROAS for discounts, refunds, and fulfillment costs?

You adjust ROAS for discounts, refunds, and fulfillment costs by inputting ad spend and attributed revenue alongside gross margin and operating costs. The calculator corrects these metrics to reveal real margins and profit-aware performance.

Can I get a reusable Python script for budget optimization and ROAS calculations?

You can get a reusable Python script for budget optimization by inputting your campaign assumptions. The calculator generates a script with your defined margins, discounts, and costs to apply across future advertising campaigns.

Why does my ROAS look profitable but my ecommerce margins are negative?

Your ROAS looks profitable but margins are negative because standard ROAS ignores discounts, refunds, platform fees, and operating overhead. Adjusting ROAS for these fulfillment costs reveals true profitability and exposes underperforming ads.