The sales system at Koperasi Unitomo currently records sales and purchase transactions. However, profit calculations are still based on the most recent purchase price or the average purchase price. This approach does not accurately represent the actual cost of goods when inventory is acquired through multiple purchases at varying prices, leading to less reliable profit calculations and difficulties in tracking inventory usage. To overcome this limitation, a profit calculation mechanism based on the First-In-First-Out (FIFO) method with a stock layer approach was implemented. Each purchase transaction is recorded as a stock layer containing the purchase quantity, unit cost, and remaining inventory. During a sales transaction, the system automatically allocates inventory from the earliest available stock layer, ensuring that the cost of goods sold reflects the actual purchase cost. Testing demonstrated that this approach improves the accuracy of profit calculations and enhances inventory traceability through detailed stock layer records. Keywords: Sales Systems; FIFO; Layer Stock; Profit Calculation; Koperasi Abstrak Sistem penjualan di Koperasi Universitas Dr. Soetomo telah mendukung pencatatan transaksi penjualan dan pembelian, tetapi perhitungan laba masih mengandalkan harga beli terakhir atau harga rata-rata sehingga belum mencerminkan biaya perolehan barang secara akurat, terutama ketika persediaan berasal dari beberapa pembelian dengan harga berbeda. Kondisi ini menyebabkan hasil perhitungan laba kurang tepat dan menyulitkan pelacakan penggunaan stok. Untuk mengatasi permasalahan tersebut, dikembangkan mekanisme perhitungan laba menggunakan metode First-In-First-Out (FIFO) dengan pendekatan layer stok. Setiap transaksi pembelian disimpan sebagai layer yang memuat jumlah barang, harga beli, dan sisa stok. Saat penjualan dilakukan, sistem mengambil stok berdasarkan urutan pembelian pertama sehingga harga pokok penjualan dihitung sesuai biaya aktual. Hasil pengujian menunjukkan bahwa metode ini menghasilkan perhitungan laba yang lebih akurat sekaligus meningkatkan keterlacakan riwayat penggunaan persediaan.
Copyrights © 2026