It is simple. Just take your total sales. From this, you subtract the cost of all goods that you sold. This gives your gross profit.