Implementation of the Single Moving Average Method for Web-Based Basic Goods Stock Prediction in Nginjen Makmur Supermarket Business

Authors

  • Muhammad Zainul Rahman Universitas Islam Lamongan
  • Miftahus Sholihin, M.Cs., Ph.D. Universitas Islam Lamongan
  • Mustain, S.Kom., M.Kom. Universitas Islam Lamongan

DOI:

https://doi.org/10.59934/jaiea.v6i1.3111

Keywords:

Stock Prediction, Single Moving Average, Web-Based System, MAPE, Supermarket

Abstract

Inventory management is an important aspect of retail business operations, as inaccurate stock planning can lead to overstocking or shortages. This study aims to develop a web-based staple goods stock prediction system for Nginjen Makmur Supermarket using the Single Moving Average (SMA) method. The research uses 17 months of historical sales data covering four commodities: rice, sugar, cooking oil, and curly red chili. The system was developed using PHP and MySQL, with features for managing product and sales data, generating stock predictions, and presenting sales and prediction reports. Forecast accuracy was evaluated using Mean Absolute Deviation (MAD) and Mean Absolute Percentage Error (MAPE), with SMA calculation windows of three and six periods. The results reported an aggregate MAPE of 2.68% for the three-period window and 2.38% for the six-period window. Both values were below 10%, indicating very high accuracy based on the evaluation criteria used in the study. The developed system is expected to support more structured and data-driven inventory planning at Nginjen Makmur Supermarket.

Downloads

Download data is not yet available.

References

A. Fauzi, “Sistem Informasi Monitoring Penjualan Dan Prediksi Stok Barang Kios Pulsa Menggunakan Moving Average Berbasis Website,” JATISI (Jurnal Tek. Inform. dan Sist. Informasi), vol. 8, no. 1, pp. 26–40, 2021, doi: https://doi.org/10.35957/jatisi.v8i1.626.

M. K. Muna, “Sistem Informasi Peramalan Stok Barang Toko Al Umm Menggunakan Metode Single Moving Average,” Intechno J. Inf. Technol. J., vol. 5, no. 2, pp. 87–97, 2023, doi: https://doi.org/10.24076/intechnojournal.2023v5i2.825.

A. Merici and U. Saprudin, “Peramalan Persediaan Barang Menggunakan Metode Weighted Moving Average di CV . Multipaper Stationery,” J. Indones. Manaj. Inform. dan Komun., vol. 5, no. 2, pp. 1685–1694, 2024, doi: https://doi.org/10.35870/jimik.v5i2.742.

A. Rahayu, A. Lattu, and M. Mupaat, “ANALYSIS OF PRODUCT STOCK INVENTORY FORECASTING USING WEIGHTED MOVING AVERAGE METHOD,” J. Tek. Inform., vol. 3, no. 6, pp. 1631–1638, 2022, doi: 10.20884/1.jutif.2022.3.6.421.

M. Fadila, R. A. Dalimunthe, and S. R. M. Azmi, “Prediksi Stok Bahan Baku Roti Pada Toko Karya Bakery Kecamatan Lima Puluh Dengan Metode Single Moving Average,” Decod. J. Pendidik. Teknol. Inf., vol. 4, no. 2, pp. 593–608, 2024, doi: http://dx.doi.org/10.51454/decode.v4i2.492.

I. Nabillah and I. Ranggadara, “Mean Absolute Percentage Error untuk Evaluasi Hasil Prediksi Komoditas Laut,” JOINS (Journal Inf. Syst., vol. 5, no. 2, pp. 250–255, 2020, doi: 10.33633/joins.v5i2.3900.

B. Safitri, S. D. Gustina, R. Abdillah, E. W. Fridayanthie, and R. Permana, “Analisis Sistem Informasi Inventory Menggunakan Metode Single Moving Averange Pada PT . Inkolanggeng Makmur Jakarta,” J. Insa. (Journal Inf. Syst. Manag. Innov., vol. 3, no. 1, 2023, doi: https://doi.org/10.31294/jinsan.v3i1.2191.

F. I. Rachman, M. R. Arsha, and T. Wahyuni, “Analisis Prediksi Penjualan Produk Obat Dengan Metode Single Moving Average Di Apotek Andarean Nursifa,” Mechatronics J. Prof. Entrep., vol. 7, no. 1, pp. 23–28, 2025, doi: https://doi.org/10.61141/maple.v7i1.720.

H. Hewamalage, K. Ackermann, and C. Bergmeir, “Forecast evaluation for data scientists: common pitfalls and best practices,” Data Min. Knowl. Discov., vol. 37, no. 2, pp. 788–832, 2023, doi: 10.1007/s10618-022-00894-5.

M. Pratama, Y. Pandu Negoro, and H. Umg, “Peramalan Permintaan dan Pengendalian Persediaan Bahan Baku Pupuk ZA Menggunakan Metode Time Series dan EOQ: (studi Kasus : PT Petrokimia Gresik ),” J. Teknol. dan Manaj. Ind. Terap., vol. 4, no. 2, pp. 282–292, May 2025, doi: 10.55826/jtmit.v4i2.636.

Downloads

Published

2026-10-30

How to Cite

Muhammad Zainul Rahman, Sholihin, M., & Mustain. (2026). Implementation of the Single Moving Average Method for Web-Based Basic Goods Stock Prediction in Nginjen Makmur Supermarket Business. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1893–1900. https://doi.org/10.59934/jaiea.v6i1.3111