# Commission calculation

**Commissionable sale** is the sale value that BixGrow uses to calculate your affiliates' commission. It may be the same sale value as shown on Shopify, or the actual sale including discounts/shipping fees/taxes depending on your selection.

{% hint style="info" %}
Please note that the discount value is a negative number by default (for example a $20 discount will become -20 in the Commissionable sales calculation).
{% endhint %}

To set up **Commissionable sales**, go to **Settings** > **General > Find Commission calculation**.&#x20;

### **1. Includes Discounts**

If the **Discounts** checkbox is selected, the **commissionable sale** will be calculated by **subtracting** the discount value from the actual order's sale. This means that your affiliates' commission amount will **decrease** if the commission rule is **Percent of sale**. For other commission rules, the commission amount is not affected.

<figure><img src="/files/Tl5932TXSwpV0L16kZYW" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In this example, if a customer places an order of $100 ($20 discount), the **commissionable sale** will be $100-20 = $80. The affiliate's program commission is 10% of sale, therefore it will be 10% of $80 = **$8**.
{% endhint %}

### **2. Includes shipping fees**

If the **Shipping** checkbox is selected, the **commissionable sale** will be calculated by **adding** the shipping fee from the actual order's sale. This means that your affiliates' commission amount will **increase** if the commission rule is **Percent of sale**. For other commission rules, the commission amount is not affected.

<figure><img src="/files/1w7AiEgNjEI7uTiPiuo5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In this example, if a customer places an order of $100 ($10 shipping), the **commissionable sale** will be $100+10 = $110. The affiliate's program commission is 10% of sale, therefore it will be 10% of $110 = **$11**.
{% endhint %}

### **3. Includes taxes**

If the **Tax** checkbox is selected, the **commissionable sale** will be calculated by **adding** the tax from the actual order's sale. This means that your affiliates' commission amount will i**ncrease** if the commission rule is **Percent of sale**. For other commission rules, the commission amount is not affected.

<figure><img src="/files/dcIai5c2y233obUT7Jt3" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In this example, if a customer places an order of $100 ($5 tax), the **commissionable sales** will be $100+5 = $105. The affiliate's program commission is 10% of sale, therefore it will be 10% of $105 = **$10,5**.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bixgrow.com/affiliate-program/commission-calculation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
