flowchart LR accTitle: The same order, two regions, two results accDescr: Two bars divide the product margin of €24 on an order worth €60. In a region with a local warehouse, shipping takes €5 and returns take €0.72, which is 8% of orders at €9 each. The contribution is €18.28. In a distant region, shipping takes €14, duties and handling take €4 and returns take €2.40, which is 15% of orders at €16 each. The contribution is €3.60. %% ref-commerce-contribution (en) %% https://www.thebsq.com/work/global-commerce-platform/ %% n_margin — An order worth €60 leaves €24 after the cost of the goods. Both regions start from this amount. n_margin["Product margin: €24"] %% n_shipping — Shipping costs €5 from a local warehouse and €14 to the distant region. n_shipping["Shipping"] %% n_duties — The distant region adds €4 for duties and handling. The region with a local warehouse adds nothing. n_duties["Duties and handling"] %% n_returns — In the first region 8% of orders come back at €9 each, which is €0.72 for each order. In the second, 15% come back at €16 each, which is €2.40. n_returns["Returns"] %% n_contribution — The region with a local warehouse keeps €18.28. The distant region keeps €3.60 from the same order. n_contribution["Contribution per order"] %% n_forecast — A forecast of orders alone ranks the two regions wrongly. Each scenario carries the landed cost and the return rate beside the demand. n_forecast["Launch scenario"] n_margin -->|"subtract the shipping cost"| n_shipping n_shipping -->|"add the border costs where they apply"| n_duties n_duties -->|"subtract the expected returns"| n_returns n_returns -->|"leaves the contribution"| n_contribution n_contribution -->|"weights the demand forecast"| n_forecast %% From margin to contribution — n_margin → n_shipping → n_duties → n_returns → n_contribution %% Use it in a launch scenario — n_returns → n_contribution → n_forecast