Skip to main content

[en] Knowledge Center

[en] Calculation of landed cost and gross margin (GM) in sales transaction items

[en] The model explains how various data points affect the calculation of landed cost (total cost of a product when it’s received on your doorstep) and gross margin (profit as a percentage of sales) in sales transactions. Key factors include:

  1. [en] BLC (Landed Cost): Total landed cost per unit, calculated from shipping and purchase costs. It differs based on GM models—historical, current, or invoice rates.

  2. [en] GM (Gross Margin): Percentage of profit derived from subtracting the landed cost from the sales price. It's influenced by rates (exchange and purchase rates) and sales transaction types.

[en] Abbreviations that are used:

[en] Abbreviations

[en] Description

[en] ART

[en] Product

[en] SAR

[en] Stock assignment register

[en] CRQ

[en] Sales quote request

[en] CQU

[en] Sales quote

[en] CPO

[en] Sales order request

[en] COA

[en] Sales order

[en] CSA

[en] Shipping advice

[en] CIN

[en] Sales invoice

[en] CCN

[en] Sales credit note

[en] PWO

[en] Production work order

[en] SPO

[en] Purchase order

[en] SOA

[en] Purchase order response

[en] SSA

[en] Goods reception

[en] SIN

[en] Supplier invoice

[en] CDV

[en] Customer deviation

[en] LCFREIGHT

[en] Landed cost freight

[en] This is the freight part of landed cost. BLC is including LCFREIGHT.

[en] This is calculated when fright is added to a SPO, SOA, SSA item which sales transaction item has assignments from.

[en] BCUR

[en] Purchase currency

[en] This is by default set equal to currency from ARTs preferred purchase price when a sales transaction item is created. It will then normally be the currency of the PWO, SPO, SOA, SSA the item has assignments from. BCUR can anyway be overruled by user for each item.

[en] BRATE

[en] Purchase rate

[en] BRATE is used as purchase rate for CRQ, CQU, CPO, COA, CSA items. This is the rate between BCUR and sales currency.

[en] INVRATE

[en] Purchase rate

[en] INVRATE is used as purchase rate for CSA, CIN and CCN items. This is the rate between BCUR and sales currency at the date the CSA was shipped.

[en] RATE

[en] Sales transaction rate

[en] This is the rate between sales currency and local currency at the sales transactions date (DATE).

[en] NETPRICE

[en] Net price

[en] This is a sales transaction items net price in sales currency

[en] CNETPRICE

[en] Converted net price

[en] Thus is a sales transaction items net price converted to local currency (NETPRICE * RATE)

[en] NETLCLAMT

[en] Net Landed Cost

[en] This is the total landed cost amount for a sales transaction item in sales currency (QTY * BLC * Purchase rate)

[en] In this formula is Purchase rate either BRATE or INVRATE, depending on type of sales transaction type.

[en] CNETLCAMT

[en] Converted net Landed Cost

[en] This is the total landed cost amount for a sales transaction item in local currency (QTY * BLC * Purchase rate * RATE)

[en] In this formula is Purchase rate either BRATE or INVRATE, depending on type of sales transaction type.

[en] BLC

[en] Landed Cost

[en] This is the total cost for a product arriving at the warehouse.

[en] It is the key for calculation of GM.

[en] GM

[en] Gross Margin

[en] This is a percentage that tells how much of a sales amount that is profit.

[en] How is BLC calculated?

[en] BLC for a sales transaction item is calculated based on real cost from its SAR assignments from PWO, SPO, SOA and SSA. Or it is based on expected cost price in ART if the sales transaction item has no assignments.

[en] BLC is the landed cost for one unit. It’s a value that is calculated in an items BCUR.

[en] If BCUR in sales transaction item is different from the company's local currency, BLC is calculated by first calculating the cost from the ART/SAR assignments back to local currency. A company’s GM model decides which rate that is used for this:

  • [en] GM model = “H” - Historic rate (RATE from SSA)

  • [en] GM model = “C” -  Current rate (rate at today's date)

  • [en] GM model = “I”  - Invoice rate (rate from SIN)

[en] After the cost from SAR/ART is calculated back to local currency, it is converted to BCUR using exchange rate from the date of the document.

[en] There are anyhow some sales transaction items which don’t have landed cost calculated based on assignments from SAR :

  • [en] CQU, COA, CSO, CSA and CIN items for non-stock products (ART not using assignments). Landed cost for these are stored directly in the item. It is copied from ART as default, but may be manually overruled by user.

  • [en] CIN items of type “Advance invoice settlement” or which have been created by forward from another CIN/CCN. These items do not have any landed cost.

  • [en] CIN items created from a CDV. Landed cost for these are calculated based on the content in “LCCalc” in the CDV.

  • [en] For all other CIN items Landed cost is copied from the shipping advice (CSA) or service order (CSO) item is has been forwarded from.

[en] How is GM calculated?

[en] Gross Margin is the difference between sales transactions items net price and landed cost, in percentage of net price. It is calculated like this: (NetPrice – (( BLC * Purchase rate ) * 100)) / NetPrice.)

[en] Purchase rate is either BRATE or INVRATE, depending on sales transaction type.

[en] Examples of calculation of BLC and GM for each GM model:

[en] Local currency : NOK

[en] Todays rate: 11.7

Landed_cost_01_03_24.png
[en] If GM model is “H” (Historic rate)

[en] Calculation of BLC:

[en] BLC = ((( SSA.NetPrice + SSA.FreightPrice ) * SSA.Rate ) / Rate between local CUR and BCUR ) / COA.Qty

[en] BLC = (((  100              +          10                   ) *   11.5     )   /  11.4                                                    ) /  10

[en] BLC = (((   110                                                 )  *    11.5    ) /   11.4                                                   ) /  10

[en] BLC = ((    1265                                                                   )  /   11.4                                                  ) /  10

[en] BLC = (    110.965                                                                                                                                  ) /  10

[en] BLC = 11.0965 EUR

[en] Calculation of GM in COA item:

[en] GM = ((COA.NetPrice - ( BLC * COA.Purchase rate )) * 100 ) / COA.NetPrice

[en] GM = ((     150              - (   11.0965 * 11.3                  ) * 100 ) / 150

[en] GM = (       150             - (   125.39045                          ) * 100)  / 150

[en] GM = ((             24.61                                                      )  * 100 ) / 150

[en] GM = (               2461                                                                     ) / 150

[en] GM = 16.41 %

[en] Calculation of GM in CIN item:

[en] GM = ((CIN.NetPrice - ( BLC * CIN.Purchase rate )) * 100 ) / CIN.NetPrice

[en] GM = ((     150              - (   11.0965 * 11.5                     ) * 100 ) / 150

[en] GM = ((     150              - (    127.61                                  ) * 100)  / 150

[en] GM = ((                  22.39                                                   )  * 100 ) / 150

[en] GM = (                   2239                                                     ) / 150

[en] GM = 14.93 %

[en] If GM model is “I” (Invoice rate)

[en] Calculation of BLC:

[en] BLC = ((( SSA.NetPrice + SSA.FreightPrice ) * SIN.Rate ) / Rate between local CUR and BCUR ) / COA.Qty

[en] BLC = (((   100               +          10                 ) *    11.6       ) /  11.4                                                     ) /  10

[en] BLC = (((   110                                                 ) *    11.6       ) /  11.4                                                    ) /   10

[en] BLC = ((   1276                                                                       ) /  11.4                                                    ) /   10

[en] BLC = ( 111.93                                                                                                                                        ) /   10

[en] BLC = 11.193

[en] Calculation of GM in COA item:

[en] GM = ((COA.NetPrice - ( BLC * COA.Purchase rate )) * 100 ) / COA.NetPrice

[en] GM = ((     150              -  ( 11.193 * 11.3                    ))  * 100 ) / 150

[en] GM = ((     150              - (   126,4809                           ))  * 100 ) / 150

[en] GM = ((             23.5191                                                 )  * 100 ) / 150

[en] GM = (               2351.91                                                               ) / 150

[en] GM = 15.68 %

[en] Calculation of GM in CIN item:

[en] GM = ((CIN.NetPrice - ( BLC * CIN.Purchase rate )) * 100 ) / CIN.NetPrice

[en] GM = ((    150              - (   11.193 * 11.5                   ) * 100 ) / 150

[en] GM = (      150             - (    128.7195                          ) * 100)  / 150

[en] GM = ((            21.2805                                                ) * 100)  / 150

[en] GM = (             2125.05                                                            )  / 150

[en] GM = 14.19 %

[en] If GM model is “C” (Current rate)

[en] Calculation of BLC:

[en] BLC = ((( SSA.NetPrice + SSA.FreightPrice ) * Todays rate ) / Rate between local CUR and BCUR) / COA.Qty

[en] BLC = (((   100               +          10                 ) *   11.7            ) /   11.4                                                    ) /  10

[en] BLC = (((   110                                                 ) *   11.7            ) /   11.4                                                    ) /  10

[en] BLC = ((    1287                                                                          ) /   11.4                                                   ) /   10

[en] BLC = (     112.895                                                                                                                                       ) /   10

[en] BLC =  11.2895

[en] Calculation of GM in COA item:

[en] GM = ((COA.NetPrice - ( BLC * Todays rate )) * 100 ) / COA.NetPrice

[en] GM = ((     150              -  (  11.2895    * 11.7 )) * 100 ) / 150

[en] GM = ((     150              - (  132.0872               ))  * 100 ) / 150

[en] GM = ((        17.9128                                         )  * 100 ) / 150

[en] GM = (         1791.28                                                        ) / 150

[en] GM = 11.94 %

[en] Calculation of GM in CIN item:

[en] GM = ((CIN.NetPrice - ( BLC * CIN.Purchase rate )) * 100 ) / CIN.NetPrice

[en] GM = ((    150              - (   11.2895 * 11.5                 ) * 100 ) / 150

[en] GM = (     150             - (     129.8293                        ) * 100)  / 150

[en] GM = ((     20.1707                                                       ) * 100)  / 150

[en] GM = (       2017.07                                                                  ) / 150

[en] GM = 13.45%