Abstract: We consider the problem of finding an optimal financing mix of retained earnings and external equity for maximizing the value of a corporation in a stochastic environment. We formulate the problem as a singular stochastic control for a diffusion process. We show that the value function satisfies a free-boundary problem. We characterize the value function and show that the optimal policy can be characterized in terms of two threshold parameters. With asset level below the lower threshold, optimal policy is to finance the firm's growth by retaining all earnings and raising the required external equity financing. With asset level above the higher threshold, optimal policy is to pay all retained earnings as dividends and to bring in no new equity. Between the two thresholds, the optimal policy is to retain all earnings but not raise any external equity. We obtain an explicit solution for the value function when there is no brokerage commission in floating external equity. We provide economic interpretations of the results obtained in the paper.