Yes, they can be different. The two calculations may differ because of the difference in calculation methodologies used by both. Cost price is basically an actual expense on buying materials whereas sales price is an amount which is charged for selling a product.