---
name: calculate-kit-availability
description: "Work out how many complete kits or bundles can be built and promised from shared component stock after reservations, naming the bottleneck component and what is left over. Use when asked how many kits, bundles, gift sets or assemblies can be made or promised now."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/calculate-kit-availability
---

# Calculate kit availability

Work out how many complete kits can be promised from shared component stock after existing reservations.

## When to use this skill

- Someone asks how many gift sets, bundles or kits can be made from what is on the shelf.
- Sales wants to promise a quantity and needs to know which component runs out first.
- Several kits share components and one order has priority.

## When not to use it

- Deciding how much of each component to reorder. Use the stock reorder skill.
- Explaining differences between a stock count and the books. Use the stocktake cut-off skill.
- Scheduling assembly labour or machine time. The method checks components only.

## What you need

- Component quantities required per kit, from the current bill of materials
- On-hand units, reservations and any alternate components explicitly approved

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Which bill of materials and version applies, with the quantity of each component per kit and its unit?
- Is the stock figure physical on hand, or already net of reserved orders?
- Are there firm orders or reservations, and which kit has priority if several share parts?
- Are any substitute components formally approved?

## Method

1. Choose the correct bill of materials and version. Convert required quantities and stock to the same unit before dividing, and combine repeated uses of the same component in one kit.
2. Work out free stock: physical stock less committed units, deducted once, floored at zero. Leave out supplier stock, future receipts and stock held elsewhere unless the request sets a future date or another location.
3. For each required component, divide free stock by units per kit and round down. The smallest result limits complete kits. List every component tied at that minimum as a bottleneck, and calculate what remains of each component after building that many kits.
4. If a required component has no stock record, keep the result unknown. Use a substitute only if it is explicitly approved.
5. For several kits sharing stock, build in the stated priority or committed order and reduce each component balance after each kit type. With no priority or mix, present the separate maxima as alternatives and ask which mix is wanted before promising a combined quantity.
6. Before a firm promise, check that the bottleneck stock figure is reliable, for example with a quick count, and state how many more bottleneck units each extra kit would need.

## Checks before you deliver

- Adding capacities across components returns imaginary kits.
- Two uses of the same bag or fastener in one bill consume twice the stock.
- Deducting reservations from a figure that is already net of them understates what can be built.
- Counting an unapproved look-alike part as a substitute turns a stock gap into a quality problem.
- Promising kits from goods that have not arrived. Future receipts are not current stock.

## How to present the result

Lead with the number of complete kits that can be promised now and the component that limits it. Then give a table: component, free stock, needed per kit, kits it supports and left after building. Flag missing stock records. For several kits, show the build order and the stock left after each.

## Worked example

**Request:** How many gift kits are available now?

**Supplied material:**

```text
Per kit: BOX 1, LINER 1 in base plus LINER 1 in lid, MUG 2. Physical BOX 12 reserved 2; LINER 30 reserved 9; MUG 22 reserved 3.
```

**Answer:** Nine gift kits can be made now. Mugs limit the run to nine pairs. After assembly the free stock is one box, three liners and one mug. The reserved units remain committed.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return buildable as the integer number of complete kits or null, bottlenecks as the sorted IDs attaining the minimum capacity, leftovers as an object of available units remaining by component, and missing as sorted required IDs without a quantity. For missing records return empty bottlenecks and leftovers. For an ordered multi-kit request return built_by_kit and final leftovers by component instead.

## Sources

- [Odoo · Sell sets of products as kits](https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/manufacturing/advanced_configuration/kit_shipping.html): Odoo treats a kit as a bill of materials whose components are delivered separately, says a kit cannot be sold if any required component is out of stock, and recommends replenishing at component level. The skill calculates availability from components for the same reason.
- [Microsoft · Get an availability overview](https://learn.microsoft.com/en-us/dynamics365/business-central/inventory-how-availability-overview): Business Central's Item Availability by BOM Level page shows how many parent units can be made from the availability of child items, and its Bottleneck field names the item that prevents a larger quantity. The skill reports the same two figures.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/calculate-kit-availability
