How this calculation works
This is a guarantee for one box. The count in a particular box can be much smaller.
ceil(objects / boxes)A worked example
25 objects in six boxes force at least one box to contain five objects.
Good to know
Each object belongs to one box.
Reference: NIST DLMF, Functions of Number Theory (opens in a new tab) ↗
Read the result
Find the minimum count guaranteed in at least one box regardless of the allocation.
The primary result is labeled “Guaranteed occupancy”. Keep the input definitions in view when comparing this result with another method.
Try a related calculation
Each object belongs to one box.
For a related exercise, try the greatest common divisor.
A few questions, answered
How can I check the default inputs by hand?
25 objects in six boxes force at least one box to contain five objects.
Which rule does this calculator apply?
ceil(objects / boxes)