Let us first consider a case when the total flux associated with one coil links with the other,
i.e. a case of maximum flux linkage.
Consider two coils placed adjacent to each other. Thus M12=i1N2ϕB2 and M21=i2N1ϕB1
and L1=i1N1ϕB1 and L2=i2N2ϕB2
If all the flux of coil 2 links coil 1 and vice versa, then ϕB2=ϕB1
As M12=M21=M
Thus we get M12M21=M2=i1i2N1N2ϕB1ϕB2=L1L2
or M=L1L2
(assuming that there is no flux leakage)
Mutual inductance is inductance of emf in a coil due to change in current in another case for two coils which are mutually coupled has mutual inductance in =L1L2
This is a general result assuming that there is no flux leakage.