This paper is concerned with analysis of economic feasibility of solar energy systems. Methodology for estimating energy output from different sized systems is briefly presented, and this is used to determine technical coefficients for a mixed integer model which optimizes the size of the solar heating unit for a particular use. An empirical example of hot water heating on a Georgia dairy is presented. Cost curves are provided for the dairy example to illustrate the effect of sizing on the economic feasibility of solar heating and to elucidate the structure of the optimal sizing decision.