FIFO Gain

Enter First lot bought, First lot units and Units sold to get Cost of sale — or leave any field blank to solve for it.

The result is —

Inputs

Results

Cost of sale ($) —

Fill in enough known values and the rest are solved automatically.

Quick answer: With First lot bought = 15,000 $, First lot units = 1 and Units sold = 0.5, Cost of sale is 7,500 $.

How to use this calculator

  1. Enter First lot bought ($)。
  2. Enter First lot units。
  3. Enter Units sold。

Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.

The calculator then returns: Cost of sale。

What is it

FIFO Gain — Enter First lot bought, First lot units and Units sold to get Cost of sale — or leave any field blank to solve for it. Tax calculators apply rates, deductions and depreciation rules to your figures to estimate tax due or after-tax outcomes. The core question it answers is: Cost of sale. With First lot bought = 15,000 $, First lot units = 1 and Units sold = 0.5, Cost of sale is 7,500 $.

Formula

VariableInputsUnit
lot1AmountFirst lot bought$
lot1UnitsFirst lot units
soldUnitsUnits sold
costCost of sale$
Cost of salelot1Amount / lot1Units * soldUnits

The relationship is solved in every direction, so any one unknown field can be derived.

Worked example

Using the default inputs:

Formula used: lot1Amount / lot1Units * soldUnits

Answer:

Example 1 (default inputs):Suppose First lot bought = 15,000 $, First lot units = 1, Units sold = 0.5; then giving Cost of sale = 7,500 $.

Example 2 (one input changed):If you change First lot bought to 22,500,giving Cost of sale = 11,250 $.

Additional information

Assumptions and limitations

Back to category:Tax

FAQ

How accurate is this calculator?

The number is the exact solution of the standard formula for your inputs, with no error beyond rounding. How well it matches reality depends on the model's assumptions. Tax systems are highly local and change often: allowances, brackets, social contributions and surtaxes differ by jurisdiction. These calculators return a mechanical result from your inputs — for filings, rely on your tax authority and a professional.

Can I calculate it backwards?

Yes. This is a multi-directional calculator: fill in every field except one, and the blank one — whether Cost of sale — is solved automatically.

When should I not use it?

using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.

What is FIFO Gain?

With First lot bought = 15,000 $, First lot units = 1 and Units sold = 0.5, Cost of sale is 7,500 $.

How do I use the FIFO Gain?

Enter values for First lot bought, First lot units, Units sold; the tool instantly computes Cost of sale.

When should I use the FIFO Gain?

Enter First lot bought, First lot units and Units sold to get Cost of sale — or leave any field blank to solve for it. Use it whenever you need a quick estimate for planning or comparing options. Results are for reference only.