The profit from the sale of livestock or other items which were purchased is to be ascertained by deducting the cost from the sales price in the year in which the sale occurs, except that in the case of the sale of purchased animals held for draft, breeding, or dairy purposes, the profits shall be the amount of any excess of the sales price over the amount representing the difference between the cost and the depreciation allowed or allowable (determined in accordance with the rules applicable under section 1016(a) and the regulations thereunder). However, see section 162 and the regulations thereunder with respect to the computation of taxable income on other than the crop method where the cost of seeds or young plants purchased for further development and cultivation prior to sale is involved. Crop shares (whether or not considered rent under State law) shall be included in gross income as of the year in which the crop shares are reduced to money or the equivalent of money. See section 263A for rules regarding costs that are required to be capitalized.
All livestock raised or purchased for sale shall be added in the inventory at their proper valuation determined in accordance with the method authorized and adopted for the purpose. Livestock acquired for draft, breeding, or dairy purposes and not for sale may be included in the inventory (see subparagraphs (2), (6), and (7) of this paragraph) instead of being treated as capital assets subject to depreciation, provided such practice is followed consistently from year to year by the taxpayer. When any livestock included in an inventory are sold, their cost must not be taken as an additional deduction in computing taxable income, because such deduction is reflected in the inventory. See the regulations under section 471. See section 263A for rules regarding costs that are required to be capitalized. Crop shares (whether or not considered rent under State law) shall be included in gross income as of the year in which the crop shares are reduced to money or the equivalent of money.
26 C.F.R. §1.61-4