Example. During the taxable year 1954, A, who owns a grocery store, realized a net profit of $1,500 from the sale of groceries and a gain of $350 from the sale of a refrigerator case. During the same year, he sustained a loss of $2,000 as a result of damage by fire to the store building. In computing taxable income, all of these items are taken into account. In determining net earnings from self-employment, however, only the $1,500 of profit derived from the sale of groceries is included. The $350 gain and the $2,000 loss are excluded.
26 C.F.R. §1.1402(a)-6