> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zaidkayed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Margin

> Filter out products less than/greater than a specified margin.

<Note>Ensure accurate cost for products to get reliable results.</Note>

## General

Margin is the percentage of profit made on a product.
The `margin` filter helps you to see which products are selling for lower than the desired margin or higher than it.

<Columns cols={2}>
  <img style={{ borderRadius: "0.75rem" }} src="https://mintcdn.com/commercestack/H8mvViQW55pXwpdr/images/margin-filter.png?fit=max&auto=format&n=H8mvViQW55pXwpdr&q=85&s=77b3cf0b589b7a527e83106c2b595341" width="584" height="324" data-path="images/margin-filter.png" />
</Columns>

Margin value is entered as a percentage.

<Note>
  For optimization, margin column in filtering result is empty unless choosen.
</Note>

## Example

Filtering by `margin` `<5%`.

<img style={{ borderRadius: "0.75rem" }} src="https://mintcdn.com/commercestack/H8mvViQW55pXwpdr/images/margin-filter-result.png?fit=max&auto=format&n=H8mvViQW55pXwpdr&q=85&s=5da4368788fe6f2fbb9b4cc0e7e24915" width="2784" height="542" data-path="images/margin-filter-result.png" />

This product is not profittable enough, if we review it in admin:

<Columns cols={2}>
  Profit (margin) is only `4%`, it needs to be increased.

  <img style={{ borderRadius: "0.75rem" }} src="https://mintcdn.com/commercestack/H8mvViQW55pXwpdr/images/margin-product-page.png?fit=max&auto=format&n=H8mvViQW55pXwpdr&q=85&s=2d884426dfd7cc2d8e946519229d26fa" width="954" height="1406" data-path="images/margin-product-page.png" />
</Columns>

The same could be done for products with high margin.
