This document presents an algorithm for calculating the number of spanning trees in chained graphs. It begins by reviewing relevant graph theory concepts like planar graphs, spanning trees, and recursive formulas for counting spanning trees using deletion/contraction and splitting methods. It then derives explicit recursions for counting spanning trees in families of graphs like wheel graphs, fan graphs, and corn graphs. The main result is a theorem providing a system of equations to calculate the number of spanning trees in a chained graph based on splitting it into components and accounting for the connecting paths. Applications to counting spanning trees in chained wheel graphs and chained corn graphs are discussed.