This document analyzes the behavior of piles under lateral loading due to soil-structure interaction. It uses the subgrade reaction method to model the soil as a series of elastic springs and analyze the pile as a flexible beam on an elastic foundation. The method is used to calculate the pile deflection, slope, bending moment, and shear force along its length due to a lateral load. These results are validated using finite element modeling in ANSYS software. The document presents an example problem and shows the results from both the subgrade reaction method and ANSYS match well.