Layered intercalation compounds, where atoms or molecules (intercalants) are inserted into layered materials (hosts), hold great potential for diverse applications. However, the lack of a systematic understanding of stable host-intercalant combinations poses challenges in materials design due to the vast combinatorial space. In this study, we performed first-principles calculations on 9,024 compounds, unveiling a novel linear regression equation based on the hard and soft acids and bases principle. This equation, incorporating intercalant ion formation energy and ionic radius, quantitatively reveals the stability factors. Additionally, employing machine learning, we predicted regression coefficients from host properties, offering a comprehensive understanding and a predic-tive model for estimating intercalation energy. Our work provides valuable insights into the energetics of layered intercalation compounds, facilitating targeted materials design.