Forecasting Penjualan Bahan Bangunan Menggunakan Metode Least Square Berbasis Website Menggunakan Framework Codeigniter
DOI:
https://doi.org/10.47065/jimat.v5i2.491Keywords:
Least Square Method; Web; CodeIgniterAbstract
The availability of stock information is crucial at Toko Jogja Bangunan considering the size and price of goods that are quite large and expensive. The problem that is often faced is running out of stock of certain items due to the lack of adequate sales and stock records. This results in decreased profits and high storage costs for unsold goods. This research aims to build a stock forecasting system using the Least Square method implemented through a Python-based application. The forecasting results are displayed in the form of tables and graphs, then validated manually based on previous sales data. The Least Square method was chosen because it is able to analyze random patterns, trends, seasonality, and cyclicality in sales data, and produce predictions with a low error rate. This forecasting system is implemented using the CodeIgniter framework to produce a web-based information system that is easily accessible and can present building material stock prediction reports accurately and quickly. With this system, it is hoped that Toko Jogja Bangunan can overcome shortcomings in stock management, improve operational efficiency, and support better decision making.
Downloads
References
M. K. Anjelie, D. Arisandi, and T. Sutrisno, “Penerapan Metode Least Square untuk Prediksi Harga Komoditas Pangan Kota Singkawang,” Progresif J. Ilm. Komput., vol. 20, no. 1, pp. 53–64, 2024, doi: 10.35889/progresif.v20i1.1293.
D. P. L. Rorim Panday, “Analisis Forecasting Jumlah Wisatawan Mancanegara Di Provinsi Bali Dengan Metode Least Square,” 2021.
R. Dewantara and J. Giovanni, “Analisis Peramalan Item Penjualan dalam Optimalisasi Stok Menggunakan Metode Least Square,” J. Krisnadana, vol. 3, no. 1, pp. 59–66, 2023, doi: 10.58982/krisnadana.v3i1.504.
R. W. N. Octavia and U. Chotijah, “Implementasi Metode Least Square Untuk Prediksi Penjualan Kue Donat dan Bomboloni,” Jutisi J. Ilm. Tek. Inform. dan Sist. Inf., vol. 11, no. 1, pp. 251–262, 2022, doi: 10.35889/jutisi.v11i1.802.
A. Ridwan, A. Faisol, and F. Santi Wahyuni, “Penerapan Metode Least Square Untuk Prediksi Penjualan Berbasis Web Pada Doni Sport Malang,” JATI (Jurnal Mhs. Tek. Inform., vol. 4, no. 1, pp. 129–136, 2020, doi: 10.36040/jati.v4i1.2745.
D. Harini and L. S. Wahyuniar, “Estimasi Jumlah Murid Baru Menggunakan Metode Forecasting,” J. Instr. Math., vol. 2, no. 2, pp. 64–70, 2021, doi: 10.37640/jim.v2i2.1025.
R. W. Pramesti and R. R. Izzati, “Penerapan Metode Peramalan (Forecast) Penjualan pada Dzikrayaat Business Center Ponorogo,” JAPP J. Akuntansi, Perpajakan, dan Portofolio, vol. 2, no. 1, pp. 29–45, 2022, [Online]. Available: http://journal.umpo.ac.id/index.php/JAPP.
S. Rachmatullah, A. F. Rachman, and M. Y. Zain, “Peramalan Permintaan Stok Bahan Bangunan Bata Merah dengan Pendekatan Trend Moment,” J. Comput. Sci. Appl. Informatics, vol. 6, no. 2, pp. 127–134, 2024.
A. N. Rais et al., “Evaluasi Metode Forecasting pada Data Kunjungan Wisatawan Mancanegara ke Indonesia,” EVOLUSI J. Sains dan Manaj., vol. 8, no. 2, pp. 104–115, 2020, doi: 10.31294/evolusi.v8i2.8971.
D. N. Fitriani and P. A. Rakhma Devi, “Implementasi Metode Trend Moment pada Jumlah Produksi Baju Distro Jatirogo,” Nuansa Inform., vol. 16, no. 1, pp. 134–140, 2022, doi: 10.25134/nuansa.v16i1.5329.
R. Sholehah, M. Marsudi, and A. G. Budianto, “Analisis Persediaan Bahan Baku Kedelai Menggunakan Eoq, Rop Dan Safety Stock Produksi Tahu Berdasarkan Metode Forecasting Di Pt. Langgeng,” J. Ind. Eng. Oper. Manag., vol. 4, no. 2, 2021, doi: 10.31602/jieom.v4i2.5884.
F. S. W. FIvo Firstiano, Sentot Achmadi, “Forecasting Omzet Menggunakan Metode Least Square,” JATI (Jurnal Mhs. Tek. Inform., vol. 4, no. 2, pp. 178–812, 2020, doi: 10.36040/jati.v4i2.2670.
A. Lusiana and P. Yuliarty, “Penerapan Metode Peramalan (Forecasting) Pada Permintaan Atap di PT X,” Ind. Inov. J. Tek. Ind., vol. 10, no. 1, pp. 11–20, 2020, doi: 10.36040/industri.v10i1.2530.
E. Arnorce et al., “Analisis Forecasting Penjualan Obat Dengan Menggunakan Metode Least Square (Studi Kasus Pada Klinik King Medika Pelibaler),” Student Res. J., vol. 1, no. 5, pp. 89–99, 2023, [Online]. Available: https://doi.org/10.55606/srjyappi.v1i5.623.
R. Maulana Fauzi and D. Iskandar Mulyana, “Implementasi Data Mining Menggunakan Metode Least Square untuk Memprediksi Penjualan Lampu LED pada PT. Sumber Dinamika Solusitama,” J. Sos. Teknol., vol. 1, no. 8, pp. 907–919, 2021, doi: 10.59188/jurnalsostech.v1i8.182.
B. Ghulam, A. Shidiq, M. T. Furqon, and L. Muflikhah, “Prediksi Harga Beras menggunakan Metode Least Square,” Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 3, pp. 1149–1154, 2022.
T. Y. Tulsi, A. Erianda, and R. Afyenni, “Implementasi Metode Least Square untuk Peramalan Persediaan Barang Pada Sistem Inventori CV. Tre Jaya Perkasa,” JITSI J. Ilm. Teknol. Sist. Inf., vol. 3, no. 4, pp. 137–142, 2022, doi: 10.30630/jitsi.3.4.100.
Royani, Nazwirman, Djamaludin, and F. Rismaningsih, “Sistem Informasi Perpustakaan Berbasis Web Application Di Universitas Islam Syekh-Yusuf ( UNIS ) Tangerang,” Jimtek, vol. 1, no. 2, pp. 104–113, 2020.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Forecasting Penjualan Bahan Bangunan Menggunakan Metode Least Square Berbasis Website Menggunakan Framework Codeigniter
ARTICLE HISTORY
Issue
Section
Copyright (c) 2025 Febriyan Idil Adha, Asep Toyib, Armanto

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International 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 (Refer to The Effect of Open Access).