惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
Martin Fowler
Martin Fowler
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Last Watchdog
The Last Watchdog
S
Schneier on Security
C
Cisco Blogs
P
Privacy International News Feed
T
Tenable Blog
Spread Privacy
Spread Privacy
Recent Commits to openclaw:main
Recent Commits to openclaw:main
N
News and Events Feed by Topic
Security Archives - TechRepublic
Security Archives - TechRepublic
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
Project Zero
Project Zero
GbyAI
GbyAI
N
Netflix TechBlog - Medium
T
Tor Project blog
雷峰网
雷峰网
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threat Research - Cisco Blogs
Cyberwarzone
Cyberwarzone
L
LangChain Blog
MyScale Blog
MyScale Blog
C
CERT Recently Published Vulnerability Notes
C
Check Point Blog
G
Google Developers Blog
T
Tailwind CSS Blog
L
LINUX DO - 热门话题
宝玉的分享
宝玉的分享
IT之家
IT之家
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Announcements
Recent Announcements
T
The Exploit Database - CXSecurity.com
Hacker News: Ask HN
Hacker News: Ask HN
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Google Online Security Blog
Google Online Security Blog
Help Net Security
Help Net Security
H
Hacker News: Front Page
小众软件
小众软件
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
P
Privacy & Cybersecurity Law Blog
T
Threatpost

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Why ROAS 300% Can Still Mean Losses — Gross Margin in 5 Ecommerce Verticals
toshihiro sh · 2026-05-23 · via DEV Community

"ROAS 300%, so we're profitable." I've seen this line in dozens of internal EC reports — and in maybe half of them, the business was actually losing cash. The trap is gross margin. For a 30%-margin product, ROAS 300% is barely above breakeven. Same ROAS, different margin, opposite conclusion.

This post walks through why ROAS alone is a misleading profitability signal, what gross margin actually is, where typical EC verticals land (15–75%), and the 3-step method I use to measure it from real data.

TL;DR

  1. Gross margin = (revenue − COGS) ÷ revenue × 100. Business decisions run on gross profit, not revenue
  2. EC gross margins span 15–75% by vertical (cosmetics 60–75%, electronics 15–25%)
  3. Breakeven revenue = fixed costs ÷ gross margin. Double the margin and required revenue is halved
  4. Breakeven ROAS = 1 ÷ gross margin × 100. Judging profitability on ROAS alone is dangerous
  5. Measure your own gross margin in 3 steps — define COGS, take a sales-weighted average, validate against industry benchmarks

1. Why ROAS Without Gross Margin Is Misleading

ROAS 300% means "$3 of revenue per $1 of ad spend." That's revenue, not profit. Plug in different gross margins and the conclusion flips.

  • 30% margin → gross profit of $0.90 against $1.00 ad spend = a $0.10 loss per $1 ad
  • 50% margin → gross profit of $1.50 against $1.00 ad spend = a $0.50 profit per $1 ad
  • 70% margin → gross profit of $2.10 against $1.00 ad spend = a $1.10 profit per $1 ad

The same ROAS produces three different business outcomes depending on the underlying gross margin. Reading ROAS in isolation is the most common source of overspending on ads in low-margin verticals.

2. What Gross Margin Actually Is

Gross margin shows how many cents of every revenue dollar remain as gross profit, after subtracting the cost of goods sold.

Gross margin (%) = (revenue − COGS) ÷ revenue × 100

Enter fullscreen mode Exit fullscreen mode

For EC, the standard COGS bucket includes purchase cost of goods (or manufacturing cost), inbound shipping, direct packaging materials, and payment processing fees. SG&A (ad spend, payroll, fulfillment outsourcing, office rent) sits outside gross margin — it goes into operating margin further downstream. The most common mistake is dumping ad spend into COGS, which artificially depresses gross margin.

3. Five EC Vertical Benchmarks

EC gross margins span 15–75% across verticals. The product structure is fundamentally different even though everything gets labeled "ecommerce."

Five EC industry gross-margin benchmarks

The numbers are reference ranges — in-house brands vs. resellers, full-price vs. sale-driven operations move them up or down. The important point is that each vertical has its own correct range. A consumer-electronics EC chasing 60% margin is unrealistic; a cosmetics EC running at 30% probably has something miscounted.

Benchmarks are reference points, not targets. The actual decision is whether your own margin sits within the band that the vertical's product economics allow.

4. Breakeven Falls Out Once Margin Is Locked

Once gross margin is locked, two breakeven numbers fall out immediately.

Breakeven revenue = fixed costs ÷ gross margin
Breakeven ROAS    = 1 ÷ gross margin × 100

Enter fullscreen mode Exit fullscreen mode

Breakeven ROAS by margin:

  • 20% margin → 500% breakeven ROAS
  • 30% margin → 333% breakeven ROAS
  • 40% margin → 250% breakeven ROAS
  • 50% margin → 200% breakeven ROAS
  • 60% margin → 167% breakeven ROAS
  • 70% margin → 143% breakeven ROAS

A consumer-electronics EC at 20% margin needs ROAS 500% just to break even. A cosmetics EC at 70% margin only needs 143%. The same "ROAS 300%" headline number is a guaranteed loss for one and a strong profit for the other. Every ad-budget decision starts from confirming gross margin first.

5. Three Levers to Improve Margin

Margin improvement has three levers, in priority order — pricing > product mix > COGS negotiation.

Three areas to improve gross margin

Pricing is the fastest lever. A 3% price increase with constant unit volume adds 3 percentage points directly to margin. Even with some churn, price elasticity above −1.0 (demand doesn't drop sharply on price increases) makes the lift net-positive on total gross profit.

Product mix moves the sales-weighted average margin by lifting the share of high-margin SKUs. Cross-sell flows that attach a high-margin item, subscriptions anchored on high-margin repeat goods, and bundles built around the higher-margin SKU are the standard plays.

COGS negotiation sits on the supplier side — unit-price negotiation, fulfillment efficiency, packaging optimization. The effect is slow, capped by supplier relationships, and best run on an annual review cycle. Bigger purchase lots trade margin against inventory risk, so this is only sensible once AOV and repeat rate are stable.

6. Measuring Your Gross Margin in 3 Steps

The formula is simple, but producing your own number and running operations against it is separate work. A 3-step method to get a current number into operations.

Step 1 — Define COGS

Fix the COGS bucket internally to the four standard items (purchase cost + inbound shipping + direct packaging + payment fees). SG&A stays out.

Step 2 — Take a sales-weighted average across SKUs

With multiple SKUs, compute the per-SKU margin and weight by revenue, not by unit count. Revenue weighting captures high-AOV products correctly.

Sales-weighted average margin = Σ (SKU i gross profit × SKU i revenue) ÷ Σ (SKU i revenue)

Enter fullscreen mode Exit fullscreen mode

Reconcile GA4 e-commerce events (the purchase event's value parameter) against your internal sales system once a month. GA4 alone won't give you margin (COGS isn't in GA4) — the reconciliation step is the unavoidable part.

Step 3 — Validate against the industry benchmark

Compare to the §3 vertical ranges. Within ±10 percentage points is normal; bigger gaps need investigation.

  • Below industry average — high purchase cost, heavy discounting, excessive inventory loss
  • Above industry average — brand-led pricing, in-house manufacturing, restrained discounting

Once the gap is explainable, gross margin is locked, and breakeven revenue and breakeven ROAS fall out.

Wrap-up

Gross margin is upstream of every other profitability lever. EC verticals span 15–75%, so the same ROAS produces opposite conclusions depending on the underlying margin. Reading ROAS without anchoring to margin is the most common source of overspending in low-margin verticals.

The 3-step measurement — define COGS, weight by sales, validate against benchmarks — is the entry point. Once gross margin is locked, the rest of the financial decisions fall out almost mechanically.

How do you currently anchor your ad-budget decisions — pure ROAS, breakeven ROAS by margin, or something blended with LTV?

Originally posted on RevenueScope.

References