Nonprofit beneficiary kit distribution calculator

Calculate complete kits available and component purchase shortages with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use complete kits available and component purchase shortages to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

JSON Components [ID,available units,units required per complete kit]
[["A",100,2],["B",60,1]]
Required household kits (count)
55
Complete kits available
50
Component purchase shortages (units)
[["A",10],["B",0]]
Kits deliverable now
50

Try another scenario

JSON Components [ID,available units,units required per complete kit]
[["A",100,2],["B",60,1]]
Required household kits (count)
70
Complete kits available
50
Component purchase shortages (units)
[["A",40],["B",10]]
Kits deliverable now
50
Calculation method

Calculation method

Complete kits available

min(math.floor(r[1]/r[2]) for r in a)

Component purchase shortages (units)

J([[r[0],max(0,b*r[2]-r[1])] for r in a])

Kits deliverable now

min(b,min(math.floor(r[1]/r[2]) for r in a))

Symbols and units
a
JSON Components [ID,available units,units required per complete kit]
b
Required household kits (count)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • One approved kit template; positive per-kit component quantities and nonnegative stock. Component units must match stock units. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.