Maths & numbers

Bounded ordered allocations calculator

Count distributions of identical items to labeled boxes with a per-box cap.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Count distributions of identical items to labeled boxes with a per-box cap.

THE FORMULACount ways to extend each partial sum with a value from 0 through the box cap

A worked example

Six items in three boxes capped at three yield ten allocations.

Good to know

Empty boxes are allowed. Each box has the same cap.

Read the result

Count distributions of identical items to labeled boxes with a per-box cap.

The primary result is labeled “Allocations”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

Empty boxes are allowed. Each box has the same cap.

For a related exercise, try the greatest common divisor.

A few questions, answered

How can I check the default inputs by hand?

Six items in three boxes capped at three yield ten allocations.

Which rule does this calculator apply?

Count ways to extend each partial sum with a value from 0 through the box cap

Find your calculator

Start typing to explore the library.