Skip to main content

How "Each container contains" works (content quantity / pack size)

Tell Stash how much is inside one container so Blueprints can correctly convert recipe units to your storage units.

Written by Jake
Updated today

How "Each container contains" works (content quantity / pack size)

Most products you buy don't come as loose mass — they come in containers. A 1kg bag of coffee beans. A 750ml bottle of wine. A case of 24 cans. A box of 12 muffins.

For Stash to convert recipe units (like grams or millilitres) into your storage units (bags, bottles, cases), it needs to know how much is inside one container. That's what Each [container] contains is for.

Get this right once per item, and Blueprints, POS deductions, and stock counts all just work.

When you'll see this field

The Each [container] contains field appears on an item's setup form whenever you select a packaging unit (Bag, Bottle, Box, Can, Case, Carton, Jar, Sachet, etc.). It doesn't appear for plain weight, volume, or count units — those don't need it. See Understanding units of measurement.

The field name changes based on your unit. If your item is stored in Bag, the field reads Each Bag contains. If it's Box, it reads Each Box contains. Same logic for every packaging unit.

Two ways to fill it in

1. Content quantity + content unit (for measurable contents)

Use this when the container holds something measurable — beans, liquid, powder.

Examples:

  • 1kg bag of coffee beans: Each Bag contains = 1000 Gram

  • 750ml bottle of wine: Each Bottle contains = 750 Milliliter

  • 500g jar of jam: Each Jar contains = 500 Gram

  • 2L drum of cleaning solution: Each Drum contains = 2 Liter

Available content units: Gram, Kilogram, Ounce, Pound, Milliliter, Liter, Fluid Ounce, Piece.

2. Pack size (for fixed-count containers)

Use this when the container holds a fixed number of identical items.

Examples:

  • Case of 24 cans: Pack size = 24

  • Box of 12 muffins: Pack size = 12

  • Tray of 30 eggs: Pack size = 30

  • Set of 4 candles: Pack size = 4

Pack size is set by selecting Piece as the content unit and entering the count.

How Stash uses this in deductions

When a Blueprint deducts a component, Stash takes the recipe quantity, looks up the container info, and divides:

Example 1 — measurable content:

  • Item: Coffee Beans, stored in Bag, Each Bag contains 1000 Gram

  • Blueprint: Cappuccino uses 18 Gram

  • Stash deducts: 18 ÷ 1000 = 0.018 Bag per sale

Example 2 — pack size:

  • Item: Soda Cans, stored in Case, pack size 24

  • Blueprint: Lunch Combo uses 1 Each

  • Stash deducts: 1 ÷ 24 = 0.0417 Case per sale

If you sell 100 Cappuccinos, you've used 1.8 bags of beans. Stash tracks this exactly.

Good to know

Without this filled in, deduction fails

If your item uses a packaging unit but Each container contains is empty, Blueprint deduction can't work. The deduction preview will warn you with: "Set content info on [item] to enable automatic deduction." Open the item, fill it in, and the warning clears. See Why my Blueprint isn't deducting stock.

What about partial containers?

Stash tracks fractional containers correctly — your stock might show 0.7 Bag after a few hundred sales. When that drops below your threshold, Stash alerts you. When you receive a new bag (1 Bag), stock becomes 1.7 Bag.

Mixed contents (a box with different items)

If a box contains different things (e.g., a gift basket with a candle, a notebook, and a chocolate bar), don't model it as a packaging item. Use a Blueprint instead — each item stays in its own inventory entry, and the Blueprint deducts the right components when the box sells. See Creating your first Blueprint.

Updating after stock arrives

If your supplier changes pack size or content (e.g., bottle now 700ml instead of 750ml), update Each container contains on the item. Existing stock isn't recalculated, but all future deductions use the new value.

Troubleshooting

"My deductions are way off"

Check the content quantity matches reality. A common mistake: typing 1 Kilogram instead of 1000 Gram (or vice versa) — both work, but the rest of your Blueprint must use the same family.

"The field disappeared after I changed the unit"

You probably switched from a packaging unit to a non-packaging one (e.g., from Bag to Kilogram). The field only shows for packaging units. If you switch back, the field returns and you'll need to re-enter the value.

Related articles

Did this answer your question?