# Lot size: ordering products in multiples

**Lot size** is the number of units in each ordering increment for one product and supplier. A lot size of 12 means ordering in multiples of 12 units.

[Minimum order quantity (MOQ)](/article/minimum-order-quantity-moq) sets a separate minimum total.

## What lot size means

Use lot size for the multiple a supplier ships, such as a carton of 12 or a pack of 50. Lot size `1` allows individual units. Each product–supplier relationship has its own setting, so one product can have different lot sizes at different suppliers.

## How Optiply applies lot size

For ordinary positive replenishment, Optiply rounds the required quantity upward to a complete lot and also applies MOQ. With MOQ 1 and lot size 100, a required quantity of 1 unit becomes 100 units before other constraints. That rounding applies to purchase advice. Safety stock remains a separate value.

Optiply first applies MOQ and lot rounding to ordinary positive advice. Economic order quantity (EOQ), when set, raises that quantity to at least EOQ rounded with the same rules. A manual **Minimum stock level** can raise the quantity. **Maximum stock level** can cap it or make it zero, before positive quantities receive MOQ and lot rounding. Rounding can therefore exceed that maximum.

With **Stock availability** enabled and known supplier stock, advice uses complete lots within the supplier stock limit. Advice can end below MOQ or at zero.

## Example: cartons of 12 bicycle tubes

A bicycle supplier ships tubes in cartons of 12. The example assumes ordinary replenishment without EOQ, manual stock constraints or supplier stock limits.

- Required quantity: 18 tubes
- Lot size: 12 tubes
- MOQ: 1 tube

Round upward: `ceil(18 ÷ 12) × 12 = 24` tubes. MOQ 1 adds no further units. Change only the required quantity to 25 tubes: `ceil(25 ÷ 12) × 12 = 36` tubes. Check the resulting **24** or **36** units in purchase advice before placing the order.

For comparison, with required quantity 18, lot size 12 and MOQ 30, rounding first gives 24, then another carton gives 36. MOQ 30 sets the minimum total. Lot size 12 still sets the increment.

## Where to find lot size in Optiply

Open **Products**, select the product and open **Suppliers**. The linked supplier row shows **Lot size** separately from **Minimum order quantity**. Check the supplier name before editing.

![Linked supplier row showing Lot size and MOQ, both 1](/screenshots/concepts-20261122/310763e6f16f1f296970b3e3672e8a394ef9c1f63a8565a016fdaaa33c67cd8c.webp)

Lot size and MOQ on the product’s Suppliers tab.

## How to change lot size in Optiply

You need permission to edit the product. On the product's linked supplier row, enter whole units of at least `1`. Check connector field ownership first: a synchronized source can replace a manual correction.

1. Open **Products**.
2. Select the product.
3. Open **Suppliers**.
4. Edit **Lot size** on the intended supplier row.
5. Enter the ordering multiple.
6. Choose **Save**.
7. Reload the product.
8. Check the saved lot size on the same supplier row.

Changing one supplier row leaves the product's other supplier relationships unchanged. To add a relationship, use [Connect products and suppliers](/article/how-to-connect-your-products-with-suppliers). The add dialog starts MOQ and lot size at `1`. Select an available supplier and complete required fields, including **Purchase price**.

For bulk changes, use the `lotSize` column through [Import supplier products](/article/import-supplier-products). Select **Update existing supplier products** for existing relationships, identify both supplier and product, and map every required field. Check the job counts and sample saved relationships afterward.

For standard Picqer, source `purchase_in_quantities_of` supplies Optiply `lotSize`. Source `minimum_purchase_quantity` supplies MOQ instead. The [Picqer supplier-product mapping](/article/integrations-data-mappings-public-picqer#supplier-products) explains default-supplier, empty-value and field-exclusion checks. Picqer Fulfilment skips this supplier-product import.

### If lot size editing or saving fails

Select a supplier if the lot size field is locked in the add dialog. For an existing row, check edit permission, pending changes and whether the supplier is ignored. Correct invalid values before saving. If saving fails, reload the product and check which value remains. If a saved value later changes, check the connector's source field and mapping before repeating the edit.

## How lot size differs from MOQ and export units

Lot size sets the ordering multiple. MOQ sets the minimum total units. For a supplier that ships only packs of 50, use lot size 50. Set MOQ to 50 as well only if 50 is also the supplier's minimum total.

An ERP purchase-unit factor, such as `PurchaseUnitFactor`, converts export quantities according to the connector mapping. Check that mapping before using an export factor as Optiply's lot size. EOQ is another separate input, not an alternative label for either field.

A lot size does not remove proposed-order **Quantity** editing. Permission, order state and account settings, including export-as-lots mode, affect accepted quantities. Check validation and the saved line in [Purchase order editor](/article/purchase-order-editor). Optiply retains the original computed advice separately from the order quantity.

Supplier minimum order value and order planning apply at supplier level. Use [The supplier page](/article/the-supplier-page) for those settings.

## Questions customers ask about lot size

### If I always have to order a product per 50, what should I fill in at lot size and MOQ?

Enter **Lot size** 50 for ordering multiples of 50 units. Set **Minimum order quantity** to 50 as well only if 50 is also the supplier's minimum total.

### I don't understand this logic, we have a supplier that has lot sizes (ex. 100 pcs) but our minimum order quantity is 1.

With lot size 100 and MOQ 1, an ordinary positive requirement of 1 unit rounds to 100 units before other constraints. MOQ sets the minimum total and lot size sets the increment, but purchase rounding does not mean safety stock always equals one lot.

### Can I edit the quantity even though the product has a lot size defined?

Yes, when edit permission and order state allow it, but account settings, including export-as-lots mode, affect which quantities are accepted. Check validation and the saved line in [Purchase order editor](/article/purchase-order-editor).

### Can Optiply separate lotSize, used for rounding purchasing advice, from PurchaseUnitFactor, used for converting purchase order quantities when exporting to my ERP?

Optiply uses supplier-product `lotSize` for purchase-advice rounding and applies MOQ as a separate minimum. An ERP export factor follows its [connector mapping](/category/integrations), so check that mapping before treating `PurchaseUnitFactor` as lot size.
