สต็อกและการผลิต

FIFO กับถัวเฉลี่ยถ่วงน้ำหนัก: เปรียบเทียบวิธีตีราคาสต็อก

เปรียบเทียบวิธีคิดต้นทุนแบบ FIFO และถัวเฉลี่ยถ่วงน้ำหนักพร้อมตัวอย่าง และดูว่าแต่ละวิธีกระทบต้นทุนขาย กำไร และมูลค่าสต็อกคงเหลืออย่างไร

อัปเดต 9 October 2026อ่าน 1 นาที

คู่มือนี้มีเฉพาะภาษาอังกฤษในขณะนี้

How you value stock decides your cost of goods sold (COGS), your profit and the value of closing inventory. Two common methods are FIFO and weighted average.

FIFO (first in, first out)

FIFO assumes the oldest stock is sold first. Closing stock is therefore valued at the most recent purchase prices.

Weighted average

After each purchase, a new average cost per unit is calculated: total cost divided by total units. Sales are costed at that average.

Worked example

You buy 10 units at 100, then 10 units at 120, and sell 12 units.

Method COGS for 12 units Closing stock (8 units)
FIFO 10 × 100 + 2 × 120 = 1,240 8 × 120 = 960
Weighted average (average 110) 12 × 110 = 1,320 8 × 110 = 880

When prices rise, FIFO shows a lower COGS and a higher profit than weighted average; when prices fall, the reverse.

Which should you use?

  • FIFO matches the physical flow of goods that expire or age and gives clear lot-level traceability.
  • Weighted average smooths out price swings and is simple for bulk goods.

Accounting rules and tax treatment can limit your choice in some jurisdictions, so ask your accountant.

In Onyx Bills

Every purchase line creates a new FIFO stock lot, so costs follow the stock and the oldest lots are drawn down first. Each lot has a source trail. See inventory management guide.

Frequently asked questions

Does FIFO mean I must physically ship the oldest stock first?

No, it is a costing assumption. For perishable goods, though, selling the oldest stock first is also good practice.

Can I switch methods?

Changing methods generally needs justification and consistent application. Ask your accountant first.

What is LIFO?

Last in, first out. It is not permitted under some accounting frameworks, so check the rules that apply to you.

คู่มือนี้เป็นข้อมูลทั่วไป ไม่ใช่คำแนะนำด้านบัญชี ภาษี หรือกฎหมาย กฎและอัตราเปลี่ยนแปลงได้ โปรดตรวจสอบข้อมูลล่าสุดกับผู้เชี่ยวชาญ

รวมบิล สต็อก และบัญชีไว้ในที่เดียว

สร้างบัญชีของคุณ หรือส่งข้อความหาเรา แล้วเราจะช่วยตั้งค่าบริษัทแรกของคุณ

WhatsApp