The basic computation to check your profit is to determine your gross income minus the capital & expense, or the other way is selling price less buying price. Selling price should always higher than to your the buying price. So obviously in your case you don't have any profit.