The aim of this thesis is to find the appropriate manner for inventory control of a small e-shop. The greatest emphasis is placed on the nonseasonal goods. Any model which respect all needs of the shop was not found. From a series of models the stochastic model with continuous demand was chosen as the most applicable. Adjustment of the cost function, change the delivery time from constant to fluid, determination of optimal inventory level and other modifications brought the model more in reality. This allows to find the optimal model solution for each stock item which can be reasonably well met. Simultaneously the foundation were laid for post-optimization analysis, by which all the process of inventory control can be streamlined