The article considers the method of finding solutions in the dynamic model of inventory management under uncertainty. An algorithm for formulating an optimal inventory management strategy is proposed using the developed method of determining the size of the optimal order lot and forming an optimal supply plan under conditions of stochastic demand. The developed solution is aimed at ensuring profit maximization in goods supply operations due to the optimization of inventory maintenance costs, an increase in inventory turnover ratio, a reduction of working capital maintenance costs, etc. The modelling was performed considering the mono-product strategy, the even distribution of sales in the cycle, and the instant supply of goods at the beginning of the cycle. The most common variables were listed as limitations of the model, which allows for a demonstration of the operation of the algorithm. The paper compares the simulation results of alternative methods of planning the inventory management process. The given results indicate the superiority of the proposed model.