This paper presents an optimal investment strategy for the GoodGrant Foundation using the Analytic Hierarchy Process (AHP) to evaluate and rank schools based on factors affecting educational performance. The model considers the urgency of student needs, potential for effective funding use, school reputation, and expected returns on investment. Additionally, Data Envelope Analysis (DEA) is employed to determine the appropriate investment amounts and durations for selected schools, aiming to enhance student outcomes and support the foundation's objectives.