Every college has their own formula for providing financial aid. Their exact formulas are not public knowledge. There are resources that provide approximate financial aid information for most colleges.
EPR has done the research that gives you insight into those college formulas.