For this case, we will consider the shoe pressure when the gas kick is passing the casing shoe. See the image below.

Let’s apply the hydrostatic pressure concept.
The formula for the bottom hole pressure is listed below:
Bottom Hole Pressure = Pressure at casing shoe + Hydrostatic Pressure in the open hole underneath the shoe



