The effect of the reflection phase on the determination of scattering-length density profiles by inversion of neutron reflection data is investigated. Use is made of a logarithmic dispersion relation between the phase and the reflectivity. Examples of neutron reflection by microemulsions and polymers are considered.