Measurement of the floor in the interplanetary magnetic field and estimation of the time-invariant open magnetic flux of the Sun require knowledge of closed magnetic flux carried away by coronal mass ejections (CMEs). In contrast with previous papers, we do not use global solar parameters to estimate such values: instead we identify different large-scale types of solar wind for the 1976 – 2000 interval to obtain the fraction of interplanetary CMEs (ICMEs). By calculating the magnitude of the interplanetary magnetic field B averaged over two Carrington rotations, the floor of the magnetic field can be estimated from the B value at a solar cycle minimum when the number of ICMEs is minimal. We find a value of 4.65±0.6 nT, in good agreement with previous results.