Margin and disclosed cost changes
Reconcile a chosen margin to revenue growth, identified cost changes and an explicit remainder.
How it works
Margin and disclosed cost changes (18)
- Comparison Available
if Conditional result using (Prior Revenue > 0), then 1, otherwise 0
- Cost Change
Cost Change
Uses - Cost Effects
Cost Effects
Uses - Cost Residual
((Cost Change − Identified Change) − Unexplained Change)
- Current Revenue Available
if (Current Revenue > 0), then 1, otherwise 0
- Identified Change
Identified Change
- Margin
Margin
Uses - Margin Change
Margin Change
Uses - Margin Residual
(((Margin Change − Revenue Effect) − Sum(Cost Effects)) − Unexplained Effect)
- Negative Inputs
(((Higher of (Prior Revenue × -1) and 0 + Higher of (Prior Costs × -1) and 0) + Higher of (Current Revenue × -1) and 0) + Higher of (Current Costs × -1) and 0)
- Prior Margin
Prior Margin
Uses - Prior Profit
Prior Profit
Uses - Prior Revenue Available
if (Prior Revenue > 0), then 1, otherwise 0
- Profit
Profit
Uses - Profit Change
(Profit − Prior Profit)
- Revenue Effect
Revenue Effect
Uses - Unexplained Change
Unexplained Change
- Unexplained Effect
Unexplained Effect
Calculation diagram
Each arrow leads to the calculation that uses the value. Choose a figure to see its dependencies.
Calculation steps (16)
- Identified Change
Sum(Changes)
Uses - Profit
(Current Revenue − Current Costs)
- (Current Revenue > 0)
(Current Revenue > 0)
Uses - Cost Change
(Current Costs − Prior Costs)
- Prior Profit
(Prior Revenue − Prior Costs)
- (Prior Revenue > 0)
(Prior Revenue > 0)
Uses - if (Current Revenue > 0), then Current Revenue, otherwise 1
if (Current Revenue > 0), then Current Revenue, otherwise 1
- Unexplained Change
(Cost Change − Identified Change)
- Conditional result using (Prior Revenue > 0)
if (Prior Revenue > 0), then if (Current Revenue > 0), then true, otherwise false, otherwise false
- if (Prior Revenue > 0), then Prior Revenue, otherwise 1
if (Prior Revenue > 0), then Prior Revenue, otherwise 1
- Margin
if (Current Revenue > 0), then (Profit ÷ if (Current Revenue > 0), then Current Revenue, otherwise 1), otherwise 0
Model function · Div currency percent
Argument values
- Denominator
- if (Current Revenue > 0), then Current Revenue, otherwise 1
- Numerator
- Profit
- Cost Effects
if Conditional result using (Prior Revenue > 0), then ((Changes × -1) ÷ if (Current Revenue > 0), then Current Revenue, otherwise 1), otherwise 0
UsesModel function · Currency driver percent
Argument values
- Denominator
- if (Current Revenue > 0), then Current Revenue, otherwise 1
- Numerator
- (Changes × -1)
- Unexplained Effect
if Conditional result using (Prior Revenue > 0), then ((Unexplained Change × -1) ÷ if (Current Revenue > 0), then Current Revenue, otherwise 1), otherwise 0
UsesModel function · Div currency percent
Argument values
- Denominator
- if (Current Revenue > 0), then Current Revenue, otherwise 1
- Numerator
- (Unexplained Change × -1)
- Prior Margin
if (Prior Revenue > 0), then (Prior Profit ÷ if (Prior Revenue > 0), then Prior Revenue, otherwise 1), otherwise 0
Model function · Div currency percent
Argument values
- Denominator
- if (Prior Revenue > 0), then Prior Revenue, otherwise 1
- Numerator
- Prior Profit
- Revenue Effect
if Conditional result using (Prior Revenue > 0), then ((Prior Costs ÷ if (Prior Revenue > 0), then Prior Revenue, otherwise 1) − (Prior Costs ÷ if (Current Revenue > 0), then Current Revenue, otherwise 1)), otherwise 0
UsesModel function · Div currency percent
Argument values
- Denominator
- if (Prior Revenue > 0), then Prior Revenue, otherwise 1
- Numerator
- Prior Costs
Model function · Div currency percent
Argument values
- Denominator
- if (Current Revenue > 0), then Current Revenue, otherwise 1
- Numerator
- Prior Costs
- Margin Change
if Conditional result using (Prior Revenue > 0), then (Margin − Prior Margin), otherwise 0
Conventions (8)
- Prior and current revenue and costs are nonnegative magnitudes for matching periods, currency, perimeter and accounting presentation.
- Changes are signed nonoverlapping cost movements, not cost levels. The caller owns their labels, ordering and completeness.
- The unexplained cost change is total change less identified changes; it can be negative and is never clamped or called a disclosed cost category.
- The margin bridge changes revenue first while holding prior costs fixed, then applies all cost changes at current revenue.
- This ordering assigns the revenue/cost interaction to cost effects. The bridge is arithmetic attribution, not causal economics or incremental margins.
- Margin effects are fractional percentage-point changes. Both revenues must be positive; otherwise bridge ratios are zero with an unavailable flag.
- A zero identity residual does not establish full cost disclosure. Costs may already contain depreciation, funding or netted revenue costs; do not deduct them again.
- The caller names the resulting profit measure. No merchandise margin, purchases, cash flow or forecast is inferred.
Inputs and outputs
Inputs (5)
| Name | Unit | Applies to |
|---|---|---|
| Changes | Dollars | Driver |
| Current Costs | Dollars | Single value |
| Current Revenue | Dollars | Single value |
| Prior Costs | Dollars | Single value |
| Prior Revenue | Dollars | Single value |
Outputs (18)
| Name | Unit | Applies to |
|---|---|---|
| Comparison Available | Flag | Single value |
| Cost Change | Dollars | Single value |
| Cost Effects | Percent | Driver |
| Cost Residual | Dollars | Single value |
| Current Revenue Available | Flag | Single value |
| Identified Change | Dollars | Single value |
| Margin | Percent | Single value |
| Margin Change | Percent | Single value |
| Margin Residual | Percent | Single value |
| Negative Inputs | Dollars | Single value |
| Prior Margin | Percent | Single value |
| Prior Profit | Dollars | Single value |
| Prior Revenue Available | Flag | Single value |
| Profit | Dollars | Single value |
| Profit Change | Dollars | Single value |
| Revenue Effect | Percent | Single value |
| Unexplained Change | Dollars | Single value |
| Unexplained Effect | Percent | Single value |