Compute delta