Finance · Business & Commerce

FIFO Inventory Calculator

Value cost of goods sold and ending inventory from two entered cost layers using FIFO.

Loading calculator…

Quick guide

How to use this calculator

  1. Enter only the business amounts, rates, counts, or operating assumptions named by the fields.
  2. Keep currencies, reporting periods, quantities, and accounting classifications consistent.
  3. Review the formula and calculator-specific limitations before using the result in a decision.

Calculation method

Calculation method

FIFO assigns the oldest entered layer to units sold first.

Fixed-decimal arithmetic remains exact through display unless a result is explicitly labelled approximate, such as a square-root inventory quantity.

Worked example

Worked example

100 units at 10 followed by 100 at 12, with 150 sold, gives COGS 1,600.00 and ending inventory 600.00.

FIFO assigns the oldest entered layer to units sold first.

Supported inputs

Precision and limits

Visible input limits

Fixed decimals accept up to 30 digits and 12 decimal places and are capped at an absolute value of 1e12 per input. Rates are capped at 1000%; percentage shares and method-specific domains may be narrower.

International scope

No currency, tax jurisdiction, accounting framework, payroll rule, marketplace fee schedule, financing term, or industry benchmark is selected automatically.

Decision boundary

Results are arithmetic scenarios from visitor-entered assumptions, not accounting records, forecasts, valuations, legal interpretations, professional advice, or recommendations.

Calculator-specific assumptions

This simplified two-layer periodic FIFO scenario excludes returns, transfers, write-downs, taxes, and jurisdiction-specific reporting requirements.