This lecture covers the calculation of the nonlinear phase shift in different mediums, such as bulk material and optical fibers, with and without loss. The instructor explains the formula to calculate gamma, the peak power, and the length, and demonstrates the calculations for both scenarios. The advantages of using optical fibers over bulk materials are highlighted, along with the impact of significant loss on the effective length and the resulting nonlinear phase shift.