Calculate the correct recovery.max_bytes_per_sec

Hey there,
is there a way to calculate the correct value of indices.recovery.max_bytes_per_sec ?