To work out how many balls you need, you need to know:
The square footage of the floor area of your ball pit.
How deep you want the balls to be.
The radius of the balls you are using.
A rough guide is that 500 balls with a radius of 2.5 inches will fill an area measuring two feet by two feet in a layer that’s one foot deep.