Wahyuda, Alvin2023-12-142023-12-142023-09PerpustakaanElfitrahttps://repository.unri.ac.id/handle/123456789/11263The importance of data collection in determining the amount of stock of contraceptives, makes BKKBN need to predict and record the outgoing stock and incoming stock of contraceptives so that forecasting is needed in predicting the number of contraceptives. The aim of this research is to predict the number of stocks of contraceptives using the least squares method. The Least Square method is a time series data method that requires historical data to anticipate future sales in order to determine the results. The system design uses the Unified Modeling Language that are Use Dase Diagrams, Sequence Diagrams and Class Diagrams which are implemented using the PHP programming language and MySQL database. The data used in the study are the expenditure data for contraception devices at BKKBN Riau Province from January to December 2022. The predicted results of contraceptive stock (least square/Y^) in January 2023 are the types of birth control pills (10,347), implants (3,375), progestin pills/Gestin F3 (247), condoms (80), progestin injections (23,555) and IUDs. Chopper T (543). Prediction results were tested using MSE for the types of birth control pills (8,921,648), implants (949,304), progestin/gestin F3 pills (5,083), condoms (533), progestin injections (46,238,287) and Choper T IUD (24,587). The prediction results were declared successful because the least square (Y^) value obtained was lower than the MSE value, so this system can be recommended to related parties who need it.enContraceptive DevicesBKKBNLeast SquareMSEPredictionStockAPLIKASI PREDIKSI STOK ALAT KONTRASEPSI STUDI KASUS BKKBN PROVINSI RIAU MENGGUNAKAN METODE LEAST SQUAREArticle