A profit-sharing plan is a defined-contribution plan established and maintained by an employer to provide for the participation in profits by employees and their beneficiaries. The plan must provide a definite predetermined formula for allocating the contributions made to the plan among the participants and for distributing the funds accumulated under the plan.