margin-decomposition

Decompose CPG margin changes across P&L layers using waterfall and DuPont analysis.

6|5|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/writer/skills --skill margin-decomposition-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: margin-decomposition
Source: https://github.com/writer/skills/tree/main/skills/margin-decomposition
Command: npx skills add https://github.com/writer/skills --skill margin-decomposition-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill helps CPG businesses understand the root causes of changes in their profit margins, enabling them to identify areas for improvement and make informed strategic decisions.

Core Features & Use Cases

  • P&L Layer Analysis: Breaks down margin changes across Gross Revenue, Gross Profit, Net Gross Profit, and Contribution Margin.
  • Driver Identification: Quantifies the impact of price, volume, mix, input costs, and trade spend on margin fluctuations.
  • Use Case: A CPG brand manager needs to explain a recent dip in gross margin to the executive team. This Skill can provide a detailed waterfall bridge showing that the primary driver was increased raw material costs, with a secondary impact from unfavorable mix due to a new product launch.

Quick Start

Analyze my margin decomposition and recommend clear next actions.

Frequently Asked Questions about margin-decomposition

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

FAQPage Schema
What is margin decomposition and how does it explain profitability changes?

Margin decomposition is a financial analysis technique that breaks down margin fluctuations across CPG P&L layers. It quantifies the specific impact of price, volume, mix, input costs, and trade spend to explain profitability trends and identify root causes of margin erosion or expansion.

How do I build a waterfall analysis for CPG margin erosion?

To build a waterfall analysis for CPG margin erosion, input detailed P&L, volume, pricing, cost, mix, and trade spend data for current and prior periods. The analysis quantifies each driver's impact, creating a visual bridge that explains the shift from gross revenue to contribution margin.

What data is required to perform a P&L margin deep-dive?

Performing a P&L margin deep-dive requires detailed current and prior period data across volume, pricing, input costs, product mix, and trade spend. This comprehensive dataset is essential for accurately quantifying driver impacts and diagnosing cost structure shifts across P&L layers.

Can I use DuPont framework analysis to diagnose cost structure shifts?

Yes, you can use the DuPont framework alongside contribution margin bridges to diagnose cost structure shifts. This approach decomposes margin changes into specific operational drivers, helping finance teams investigate unfavorable mix impacts or rising raw material costs affecting profitability.

What is the best way to explain gross margin dips to leadership?

The best way to explain gross margin dips to leadership is using a detailed waterfall bridge. This visual decomposition isolates primary drivers like increased raw material costs from secondary impacts like unfavorable mix, providing a clear narrative for profitability trends.

When should I not use a contribution margin bridge for financial analysis?

You should not use a contribution margin bridge when lacking detailed current and prior period data for volume, pricing, costs, mix, and trade spend. Without comprehensive P&L inputs, the waterfall analysis cannot accurately isolate individual margin fluctuation drivers.