PLANNING WORKSHEETS

Comparing case-order rounding with inventory decomposition

The same unit count and case size can answer two different questions. This guide compares rounding cases up to cover a requirement with rounding down to count the full cases already on hand.

Two questions that share the same inputs

Take 101 units and a case size of 24. A buyer who needs 101 units asks how many cases must be ordered to cover them. A warehouse worker holding 101 units asks how many complete cases that stock contains. The inputs are identical, but the arithmetic runs in opposite directions. Covering a requirement rounds up, because a fraction of a case cannot be bought. Counting existing stock rounds down, because a fraction of a case is not a full case. Picking the wrong tool for the question gives an answer that looks reasonable and is off by exactly one case, which is the kind of error that survives a quick glance.

The order requirement in formulas

The case pack order tool computes cases = ceil(required / pack), then received = cases × pack, then extra = received − required. For 101 units in cases of 24, the quotient is 4.21, the ceiling is 5, the order brings in 120 units and 19 of them exceed the requirement. The extra field is useful on its own, because it shows how much surplus an order creates. Surplus is a property of the case size, never of the requirement alone: a requirement of 96 produces no extra units, while 97 produces 23, one unit over the 96 that four cases would hold.

The inventory decomposition in formulas

The full cases and loose units tool computes fullCases = floor(units / pack) and loose = units − fullCases × pack. For 101 units and a case size of 24, the floor of 4.21 is 4, which accounts for 96 units, and the remaining 5 units are loose. The loose field is the remainder, so it is always smaller than the case size. Rounding down preserves information that rounding up would erase. The stock is 4 cases and 5 units, and the five loose units are real items you can find on a shelf, not a rounding artifact.

How the two results relate

When the count is an exact multiple of the case size, both approaches agree. A requirement of 240 units in cases of 12 gives 20 cases to order and 20 full cases in stock, with no extra units and no loose ones. Otherwise the ordered case count is exactly one more than the full-case count, and the extra units equal the case size minus the loose units. For the default numbers, 24 − 5 = 19. That identity gives a fast check on both tools. If the extra and loose figures do not sum to the case size, one of the two calculations used different inputs, or a typing slip changed a digit.

A larger example with an awkward pack size

Suppose 1,000 units must be covered with cases of 36. The ratio is 27.78, so the order needs 28 cases, receives 1,008 units and carries 8 extra. Counting 1,000 units of existing stock gives 27 full cases, which hold 972 units, and 28 loose units. Notice that the loose count is almost a full case. Rounding down alone would hide that fact, which is why some stock reports show cases and loose units together instead of a decimal such as 27.78. A decimal case count mixes the two units, and it cannot be shipped or shelved as written.

Smaller packs shrink the surplus

The surplus from rounding up depends on the case size. For a requirement of 100 units, cases of 6 produce 17 cases, 102 units received and 2 extra. Cases of 24 produce 5 cases, 120 units and 20 extra. Cases of 50 produce exactly 2 cases and no surplus. A larger pack size is not always more wasteful, because the surplus depends on how the requirement lines up with the pack, but the largest possible surplus grows with the pack size. At most it is one unit short of a full case. Comparing a few pack sizes with the order tool shows which one fits the requirement most closely. When the same product is sold in more than one pack, run each size and compare both the extra units and the cases per order, since a smaller pack that leaves no surplus may still mean more cartons to receive, move and store.

What the tools do not decide

Neither result is a purchasing recommendation. The order tool does not know about minimum order quantities, supplier case sizes that differ between products, price breaks, shipping limits or shelf life. The inventory tool does not know whether the loose units are damaged, expired or reserved. Both tools simply divide, round and multiply the numbers you give them. Real ordering decisions may call for more than the minimum, for example to fill a pallet layer or to stay above a safety level, and none of that follows from the ceiling. In the same way, a count of full cases says nothing about whether the loose units should be repacked, sold singly or returned to a bin. The tools describe the arithmetic of a count, and the business rules sit outside them.

Naming the action before choosing the result

A short habit prevents most mix-ups: write the action as a verb phrase before running either tool. Phrases such as "buy enough cases to cover," "pack into full cases" or "count full cases on hand" each point to a specific rounding. The word "enough" points to the ceiling, and the word "contains" points to the floor. If a report column is labeled only "cases," check the formula behind it. A column that rounds up and a column that rounds down can both be called cases, and a total mixing them will not reconcile to the unit count.

Reconciling to the original unit count

Both results can be turned back into units for a final check. The ordered cases multiplied by the case size give the received units, 5 × 24 = 120, and subtracting the extra returns the requirement, 120 − 19 = 101. The stock result gives 4 × 24 + 5 = 101. Both routes land on the same 101. If either route fails to return the starting number, the case size or the count was entered differently in the two places, which is worth fixing before the numbers are used in a report. Reports that mix both views benefit from showing four columns side by side: units, cases to order, full cases on hand and loose units. Each column then has one meaning, and a reader can trace any total back to the unit count.

Reproduce the checks

Order requirement

Open the Case Pack Order Calculator and enter:

Required units
101
Units per case
24

Expected output:

Cases to order

5

Units received

120

Extra units

19

The ceiling covers the full requirement.

Inventory decomposition

Open the Full Cases and Loose Units Calculator and enter:

Inventory units
101
Units per case
24

Expected output:

Complete cases

4

Loose units

5

The floor preserves loose units instead of inventing a full case.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks