Any difference between the book value and the expected net realizable value is recognized as a gain or loss in determining the net cost of operations, because the revaluation results from the entity's operations.
You can't calculate the net cost of operations.