Compute value