Abstract: The management of veterinary drug stocks at the Veterinary Clinic Technical Implementation Unit (UPTD) of the North Sumatra Province Plantation and Livestock Service faces obstacles in the form of discrepancies between supply and demand, resulting in excess stock and budget waste. Uncertain demand for drugs is a factor that complicates decision-making in stock provision. This study aims to optimize drug stock management using the Mamdani fuzzy logic method, which is capable of handling data uncertainty and modeling information linguistically. Three input variables are used, namely initial stock, demand, and number of visits, with the output being the final stock. The process involves fuzzification, inference based on IF–THEN rules, and defuzzification using the centroid method. The results show that the developed system has a good accuracy level with a MAPE value of 17.52%, which means that this model is effective in providing optimal and efficient drug stock recommendations in a veterinary clinic environment. Keywords: fuzzy mamdani; optimization; animal drug stock.
Copyrights © 2025