Lateral displacement is given by, d=tsin(i−r)cosr
where, t is the width of the slab,
i is the angle of incidence,
r is the angle of refraction.
The lateral displacement will increase with an increase in the thickness of the slab or an increase in the angle of incidence.