Implementation of Seasonal ARIMA (SARIMA) for Sales Prediction of Pet Food Products: A Case Study of Abadi Petshop
DOI:
https://doi.org/10.56211/tsabit104Keywords:
SARIMA; sales prediction; pet food; time series forecasting; MySQL
Abstract
The rapid growth of pet ownership in Indonesia has driven a steady increase in demand for pet food products, which typically follows a recurring seasonal pattern across the year. Abadi Petshop, a local pet supply store, has so far relied on manual recording and the owner's intuition to estimate future sales, an approach that does not systematically account for historical sales patterns and frequently leads to inaccurate stock planning, resulting in either overstock or stockouts. This study aims to design and implement a web-based sales prediction system for pet food products using the Seasonal Autoregressive Integrated Moving Average (SARIMA) method, applied to monthly sales data of a Whiskas cat food product collected from January 2023 to December 2024 (24 observations). Non-seasonal differencing (d = 1) and seasonal differencing (D = 1, s = 12) were applied to achieve stationarity, and the Autocorrelation Function (ACF) and Partial Autocorrelation Function (PACF) plots were used to identify the model order, resulting in a SARIMA(1,1,1)(1,1,0)12 model with parameters φ = 0.6, Φ = 0.3, and θ = 0.4. The system was developed using the Laravel framework with a MySQL database, following the Unified Software Development Process (USDP), and functional black-box testing confirmed that all core features — including login, sales data input, prediction processing, forecast visualization, and result export — operated successfully. The resulting forecast for the twelve months following the training period projected a gradual upward trend, starting at 140.20 kg in the first month and reaching 175.50 kg by the twelfth month, consistent with the increasing trend and annual seasonal pattern observed in the historical data. These findings indicate that the SARIMA method is capable of automatically modeling trend and seasonal components in pet food sales data and can support Abadi Petshop in making more accurate, data-driven decisions regarding inventory planning and sales strategy.
Downloads
References
Journal Article
[1] Kenneth C. Laudon, & Carol Guercio Traver. (2021). E-Commerce 2021: Business, Technology, Society (16th ed.). Pearson Education.
[2] Salsabila, dkk. (2021). “Analisis Perkembangan E-Commerce dalam Mendukung Pertumbuhan UMKM di Indonesia”. Jurnal Teknologi dan Sistem Informasi, 2(3), 45–53.
[3] Putri, & Handayani. (2020). “Pengaruh Peningkatan Kepemilikan Hewan Peliharaan terhadap Permintaan Produk Pet Food di Indonesia”. Jurnal Manajemen Bisnis dan Kewirausahaan, 5(2), 88–95.
[4] Sari, dkk. (2021). “Penerapan Sistem Prediksi Penjualan untuk Mendukung Pengelolaan Stok Barang pada UMKM”. Jurnal Informatika dan Sistem Informasi, 7(1), 12–20.
[5] Sari, I.P., Zulherry, A., Basri, M., & Hayani W. (2025). Pembelajaran Pemrograman berbasis Machine Learning sebagai Upaya Peningkatan Computational Thinking. Jurnal Penelitian, Pendidikan dan Pengajaran: JPPP 6 (3), 245-250
[6] Junaedi, dkk. (2021). “Implementasi Metode Seasonal Autoregressive Integrated Moving Average (SARIMA) untuk Prediksi Penjualan Produk Musiman”. Jurnal Ilmu Sistem Informasi dan Manajemen, 9(2), 101–110.
[7] Sari, I.P., & Batubara, I.H. (2021). User Interface Information System for Using Account Services (Joint Account) WEB-Based. International Journal of Economic, Technology and Social Sciences (Injects) 2 (2), 462-469
[8] Ramadhani, F., & Sari, I.P. (2021). Pemanfaatan Aplikasi Online dalam Digitalisasi Pasar Tradisional di Medan. Prosiding Seminar Nasional Kewirausahaan 2 (1), 806-811
[9] Sari, I.P., & Alfarisi, F. (2024). Perancangan Sistem Aplikasi Pendataan Membership Gym Menggunakan Metode Unified Software Development Process (USDP) Berbasis Web. Hello World Jurnal Ilmu Komputer 3 (1), 37-48
[10] Zulherry, A., Sari, I.P., & Basri, M. (2025). Perancangan Aplikasi Monitoring Kehadiran Pegawai Menggunakan RFID. sudo Jurnal Teknik Informatika 4 (4), 378-384
[11] Sari, I.P., Jannah, A., Meuraxa, A.M., Syahfitri, A., & Omar, R. (2022). Perancangan Sistem Informasi Penginputan Database Mahasiswa Berbasis Web. Hello World Jurnal Ilmu Komputer 1 (2), 106-110
[12] Satria, A., Ramadhani, F., & Sari, I.P. (2023). Rancang Bangun Sistem Informasi Penerimaan Peserta Didik Baru (PPDB) Sekolah Menengah Kejuruan Telkom 2 Medan Menggunakan Codeigniter. Wahana Jurnal Pengabdian kepada Masyarakat 2 (1), 23-31
[13] Sari, I.P., Azzahrah, A., Qathrunada, I.F., Lubis, N., & Anggraini, T. (2022). Perancangan sistem absensi pegawai kantoran secara online pada website berbasis HTML dan CSS. Blend sains jurnal teknik 1 (1), 8-15
[14] Hariani, P.P., Sari, I.P., & Batubara, I.H. (2021). Android-Based Financial Statement Presentation Model. JURNAL TARBIYAH 28 (2), 1-16
[15] Sari, I.P., Syahputra, A., Zaky, N., Sibuea, R.U., & Zakhir, Z. (2022). Perancangan sistem aplikasi penjualan dan layanan jasa laundry sepatu berbasis website. Blend sains jurnal teknik 1 (1), 31-37
[16] Habib, T.A., Azly, R., Irza, M.A., & Prasetya, I. (2024). User Interface Design for the Orca Music Player Mobile Application. Tsabit Journal of Computer Science 1 (1), 18-26
[17] Sari, I.P., Batubara, I.H., Ramadhani, F., & Wardani, S. (2022). Perancangan Sistem Antrian pada Wahana Hiburan dengan Metode First In First Out (FIFO). Sudo Jurnal Teknik Informatika 1 (3), 116-123
[18] Ramadhani, F., Satria, A., & Sari, I.P. (2022). Aplikasi internet berbasis website sebagai E-Commerce penjualan komponen sport car. Blend Sains Jurnal Teknik 1 (2), 69-75
[19] Sari, I.P., Ramadhani, F., Satria, A., Apdilah, D., & Basri, M. (2023). Rancangan UI/UX Aplikasi Analytics pada Toko Online Wao Sneakers Menggunakan Figma Berbasis Mobile. Factory Jurnal Industri, Manajemen dan Rekayasa Sistem Industri 1 (3), 93-101
[20] Sari, I.P., Al-Khowarizmi, A., & Batubara, I.H. (2021). Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process. Journal of Computer Science, Information Technology and Telecommunication Engineering 2 (1), 139-144
[21] Hutasuhut, B.K., Sari, I.P., & Al-Khowarizmi, A. (2023). Analysis the Effect of Digitalization and Technology on Web-Based Entrepreneurship. Journal of Computer Science, Information Technology and Telecommunication Engineering 4 (1), 350-354
[22] Efraim Turban, David King, Jae Kyu Lee, Ting-Peng Liang, & Deborrah C. Turban. (2020). Electronic Commerce: A Managerial and Social Networks Perspective (9th ed.). Springer.
[23] Zulherry, A., & Gunawan, M. (2025). Development of an Android-Based Smart Health Monitoring Device for Heartbeat Detection. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal, 6(2), 75-79.
[24] Sitompul, D.N., Rahmatika, A., & Sari, I.P. (2023). Application of The Sales and Purchase Program Using The Rapid Application Development Model. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 4 (1), 6-16
[25] Dave Chaffey. (2021). Digital Business and E-Commerce Management (7th ed.). Pearson Education.
[26] Trevor Hastie, Robert Tibshirani, & Jerome Friedman. (2021). The Elements of Statistical Learning: Data Mining, Inference, and Prediction (2nd ed.). Springer.
[27] Zulherry, A., Ramadhani, F., & Satria, A. (2024). Klasifikasi Data Tracer Study Dengan Pemanfaatan Data Mining Menggunakan Algoritma Support Vector Machine dan Neural Network. Portal Riset dan Inovasi Sistem Perangkat Lunak 2 (1), 45-54
[28] Spyros Makridakis, Evangelos Spiliotis, & Vassilios Assimakopoulos. (2020). “The M4 Competition: 100,000 Time Series and 61 Forecasting Methods”. International Journal of Forecasting, 36(1), 54–74.
[29] Rob J Hyndman, & George Athanasopoulos. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts.
[30] George E. P. Box, Gwilym M. Jenkins, Gregory C. Reinsel, & Greta M. Ljung. (2015). Time Series Analysis: Forecasting and Control (5th ed.). Wiley.
[31] Sari, I.P., & Batubara, I.H. (2021). Perancangan Sistem Informasi Laporan Keuangan Pada Apotek Menggunakan Algoritma K-NN. Seminar Nasional Teknologi Edukasi dan Humaniora (SiNTESa) (1).
[32] Ramadhani, F., Satria, A., & Sari, I.P. (2023). Implementasi Metode Fuzzy K-Nearest Neighbor dalam Klasifikasi Penyakit Demam Berdarah. Hello World Jurnal Ilmu Komputer 2 (2), 58-62
[33] Sari, I.P., Batubara, I.H., & Basri, M. (2022). Implementasi Internet of Things Berbasis Website dalam Pemesanan Jasa Rumah Service Teknisi Komputer dan Jaringan Komputer. Blend Sains Jurnal Teknik 1 (2), 157-163
[34] Sari, I.P., & Ramadhani, F. (2021). Pengaruh Teknologi Informasi Terhadap Kewirausahaan Pada Aplikasi Perancangan Jual Beli Jamu Berbasis WEB. Prosiding Seminar Nasional Kewirausahaan 2 (1), 874-878
Books
[35] Indah Purnama Sari. Algoritma dan Pemrograman. Medan: UMSU Press, 2023, pp. 290.
[36] Janner Simarmata Arsan Kumala Jaya, Syarifah Fitrah Ramadhani, Niel Ananto, Abdul Karim, Betrisandi, Muhammad Ilham Alhari, Cucut Susanto, Suardinata, Indah Purnama Sari, Edson Yahuda Putra. Komputer dan Masyarakat. Medan: Yayasan Kita Menulis, 2024, pp.162.
[37] Mahdianta Pandia, Indah Purnama Sari, Alexander Wirapraja Fergie Joanda Kaunang, Syarifah Fitrah Ramadhani Stenly Richard Pungus, Sudirman, Suardinata Jimmy Herawan Moedjahedy, Elly Warni, Debby Erce Sondakh. Pengantar Bahasa Pemrograman Python. Medan : Yayasan Kita Menulis, 2024, pp.180
[38] Zelvi Gustiana Arif Dwinanto, Indah Purnama Sari, Janner Simarmata Mahdianta Pandia, Supriadi Syam, Semmy Wellem Taju Fitrah Eka Susilawati, Asmah Akhriana, Rolly Junius Lontaan Fergie Joanda Kaunang. Perkembangan Teknologi Informatika. Medan: Yayasan Kita Menulis, 2024, pp.158
[39] Indah Purnama Sari. Buku Ajar Pemrograman Internet Dasar. Medan: UMSU Press, 2022, pp. 300.
[40] Indah Purnama Sari. Buku Ajar Rekayasa Perangkat Lunak. Medan: UMSU Press, 2021, pp. 228.
[41] Purba, A. M. V., Pradipta, R., Zulherry, A., Sari, I. P., Ansya, Y. A. U., Basri, M., ... & Darnilasari, A. (2026). Pengetahuan Dasar Komputer. Yayasan Kita Menulis.
[42] Irfan, A. P., Susanto, C., Sari, I. P., Zulherry, A., Ansya, Y. A. U., Dewi, I. K., ... & Mubarak, R. (2026). Sistem Informasi Modern untuk Era Digital. Yayasan Kita Menulis.
[43] Kaban, R., Rachman, A. I., Sari, I. P., Zulherry, A., Basri, M., Fadilah, N., ... & Ahyuna, A. (2026). Pengantar Artificial Intelligence, Machine Learning, dan Big Data. Yayasan Kita Menulis.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Fikri Haikal Harahap, Antoni, Darjat Saripurna

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in Tsabit Journal of Computer Science agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
CC BY-SA: This license allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator. The license allows for commercial use. If you remix, adapt, or build upon the material, you must license the modified material under identical terms.









