> For the complete documentation index, see [llms.txt](https://docs.tipo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tipo.io/bundle-groups/inventory-calculation-rules-for-master-products.md).

# Inventory calculation rules for Master Products

This guide explains how to calculates the available inventory for a **Master (bundle) product** based on its **component items**.

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

### ℹ️ What is “Master product inventory”?

The **Master product** is the bundle item customers purchase.\
Its available quantity is calculated from the inventory of its **components**.

Example:

* Master: **Gift Box Set**
* Components: **Candle ×1**, **Gift Box ×1**

***

### **❓**&#x57;hy “Master product inventory matter?

* **Prevents overselling bundles**\
  If the Master shows “In stock” but a component is out of stock, you can sell bundles you can’t fulfill. Correct Master inventory avoids that.
* **Shows the real bundle availability**\
  The Master’s available quantity should reflect what you can truly build from components (often limited by the lowest component stock).
* **Keeps storefront + fulfillment aligned**\
  Accurate Master inventory means your storefront availability matches your warehouse reality, reducing cancellations and support issues.

***

### 🔢 Default calculation

Calculates bundle availability using this logic:

> **Bundle available = the lowest component availability**, based on required quantity.

#### Formula

For each component:

* **Component availability = (component stock ÷ required quantity)**

Then:

* **Master available = min(all component availabilities)**

***

### 🧪 Example&#x20;

Bundle setup:

* Candle × 1
* Gift Box × 1

Inventory:

* Candle stock = 20
* Gift Box stock = 12

Component availability:

* Candle: 20 ÷ 1 = 20
* Gift Box: 12 ÷ 1 = 12

✅ Master (bundle) available = **12**

**🙋 Still need support?**

If you still need help, please feel free to contact us at <hi@tipo.io>. We’ll be happy to assist you further.
