# compute a difference( dB) between two BER curves

For example, given these 4 curves and I would like to compute a loss/difference between BER of BPSK and BER 8PSk in dB.

How to do that? let say for BER 10^-2