Inflating the bill
A cost of C today rising at g a year costs C x (1 + g)^n in n years. Counting n is where errors start: a child who is 8 now and starts college at 18 enrolls in 10 years, and the first-year bill is due then, at the start of the year.
Worked example. Annual costs today are $31,000, education costs rise 5% a year, and the child starts in 10 years. The first year will cost 31,000 x 1.05^10 = $50,495.73, and each later year 5% more.