Skip to dossier content
LEAP AXIS KPI Intelligence System
KPI Intelligence Workspace
Confidence 90%
Source PYTHON
Owner Enterprise Data Owner
Offline
Enterprise KPI Dossier

Gross Margin Percentage

Enterprise intelligence record connecting business definition, certified formula, ownership, and operational evidence.

Needs Review Owner confirmation required before executive use. Enterprise Data Owner remains accountable while governance review is resolved.
Business Domain Enterprise
Confidence 90%
Governance Status Needs Review
Owner Enterprise Data Owner
Source PYTHON
Last Validation 2026-07-08
LEAP / KPI Catalog / Gross Margin Percentage

Executive Briefing

Executive Summary
If this KPI trends up: Indicates a material change in the measured business condition and should be interpreted with the owner. If it trends down: Indicates a material change in the measured business condition and should be checked against source-data timing. Owner check: What changed in source data, business process, or KPI logic that explains movement in Gross Margin Percentage?
Business Meaning
Percentage of revenue retained after direct production costs.
Decision
Track financial health and pricing efficiency across product lines.
Trust
Decision use requires owner confirmation.
Risk
Incorrect interpretation may affect Enterprise planning, accountability, or exception response.
Action
Enterprise Data Owner should monitor movement and confirm context when the metric changes materially.

Mathematical Formulation

Formal Formula
\[ \mathrm{Gross_Margin_Percentage} = \frac{\left(\mathrm{Revenue} - \mathrm{Cost}\right)}{\mathrm{Revenue}} \times 100 \]

Where:

  • Numerator: Revenue - Cost
  • Denominator: Revenue
  • Scale: ×100
Annotated Formula
Total Sales Revenue
Revenue
Minus
-
Cost
Cost
Divided By
÷
Total Sales Revenue
Revenue
Scaled by 100
× 100
Evidence & Lineage
def calculate_gross_margin_pct(revenue, cost):
    # CONFLICT: business formula specifies (Revenue - Cost) / Revenue * 100
    # but implementation divides revenue by cost instead — operator conflict
    if cost == 0:
        return 0.0
    return (revenue / cost) * 100
Inline evidence snippet
   1 | def calculate_gross_margin_pct(revenue, cost):
   2 |     # CONFLICT: business formula specifies (Revenue - Cost) / Revenue * 100
   3 |     # but implementation divides revenue by cost instead — operator conflict
   4 |     if cost == 0:
   5 |         return 0.0
Operational Intent
Percentage of revenue retained after direct production costs. LEAP frames this as an operational evidence signal for enterprise decision-making.
Verified Logic Mapping
  1. First, LEAP certifies the KPI definition against conflict_formula_margin.py and classifies the implementation as PYTHON evidence.
  2. Second, it presents the certified calculation expression (Gross Margin % = (Revenue - Cost) / Revenue * 100) in the formal MathJax formula shown above.
  3. Finally, it preserves the executable context and code fingerprint so future changes to the KPI logic can be identified.
Logic Safeguards
OK
Zero-Division Guard: Implementation logic checks for a zero denominator before returning the KPI value.
OK
Governance Conflict Flag: LEAP identified that the documented business formula and implementation path disagree, so the KPI is explicitly flagged for owner review.
OK
Change Detection: Code Fingerprint 440ae64a44 records the current implementation so drift can be identified after the next workspace refresh.
OK
RACI Accountability: Enterprise Data Owner is assigned as accountable owner for rule confirmation and escalation.
Executive Alignment
Business rules are aligned to default rule; no path/name governance match (PYTHON). RACI Owner: Enterprise Data Owner. Consulted reviewer: Domain Subject Matter Expert. Current status: Needs Review.
Business Data SystemEXPLICIT SOURCE: Finance ERP (SAP FI-CO module)
Source Fileconflict_formula_margin.py
Source Line1
Definition PatternComment
Governance DomainEnterprise
KPI IDKPI-440AE64A44
Business Usage

CFO Dashboard, Quarterly Financial Review

Input Evidence

Revenue, Cost of Goods Sold

Definition

Percentage of revenue retained after direct production costs.

Business Context

Track financial health and pricing efficiency across product lines.

Edge Cases / Comments

Compliance mode preserved only implementation-grounded evidence; unresolved business context is routed to owner confirmation.