Knowledge Base

Business Metrics

Revenue, cost of goods sold, and margin

Revenue is the amount of money that customers paid to the company.

The cost of goods sold is the money that the company paid for the purchase of the product.

Gross profit is the first indicator of business health.

Gross profit=RevenueCost of goods sold\text{Gross profit} = \text{Revenue} - \text{Cost of goods sold}

The ratio of gross profit to revenue is called gross margin.

Gross profit margin=Gross profitRevenue\text{Gross profit margin} = \frac{\text{Gross profit}}{\text{Revenue}}

Operating expenses and operating profit

Operating expenses are all expenses related to the company's business operations.

If we subtract the operating expenses from the gross profit, we'll get the operating profit.

Operating profit=Gross profitOperating expenses\text{Operating profit} = \text{Gross profit} - \text{Operating expenses}

With very few exceptions, operating profit correlates with net profit: the larger the operating profit, the greater the net profit.

If the operating profit is negative, it is called an operating loss. But like a negative gross profit, an operating loss doesn't necessarily mean that everything is lost. Often the company is planned loss-making because it invests all profits in rapid growth.

If you divide the operating profit by the revenue, you get the operating profit margin. This is the share of the revenue that remains in the company after deducting the cost of goods sold, salaries, rent, marketing, and other expenses related to the main activities.

Operating profit margin=Operating profitRevenue\text{Operating profit margin} = \frac{\text{Operating profit}}{\text{Revenue}}

Net profit

The cost of goods sold, operating expenses, and obligations to the state and creditors are taken into account by the net profit indicator.

Net profit=Operating profitTaxes and loans\text{Net profit} = \text{Operating profit} - \text{Taxes and loans}

Net profit can only be calculated at the end of the year when all tax and loan liabilities have been determined.

A negative net profit is called a net loss. It shows that the company failed to make money.

Return on investment

Investors want to know when their investment will pay off. For them, the main metric is ROI (Return on Investment).

ROI=Net profitInvestmentInvestment\text{ROI} = \frac{\text{Net profit}-\text{Investment}}{\text{Investment}}

Conversion

The sales process can be described as follows: visitor → sale → buyer.

Funnels

Funnels are a way to display:

  1. the path that the user takes to buy a product;
  2. the proportion of people who reach the next stage, that is, those who "don’t drop off".

To build a funnel, you need to measure how many people get to each stage.

A graph that presents the number of people at each stage resembles a funnel for liquids:

Knowing the number at each stage, you can calculate the percentage of people who reached a certain step, as well as the percentage of those who took each subsequent step:

Funnel analysis allows you to formulate hypotheses, test them, and track changes.

Online and offline metrics

Metric decomposition: breaks metrics into components.

The main metric for us is revenue. To calculate it, we need to multiply the number of users per day, their conversion, and the average receipt, which is the sum of goods both originally added by the user and those recommended by the model.

The target evaluation metric is the average price of the products that are added based on recommendations. It is the online metric calculated in a working system with real users. You can't calculate it according to historic data for another model.

To build new models, you will also need offline metrics. They are calculated according to historical data.

The cost of goods added based on the recommendation is affected by:

  1. How many products from the list of recommendations are interesting for the user? This is measured by precision metrics.
  2. Does the model add all products interesting to the user to the list? It's measured by the recall metric.

Remember that the F1 score combines the precision and recall metrics.

Send Feedback
close
  • Bug
  • Improvement
  • Feature
Send Feedback
,