Federal funds are allocated by formula to state education agencies, based on each State's per pupil expenditure for education and counts of eligible migratory children, aged 3 through 21, residing within the State.