An iterative algorithm has been developed to analytically determine patient specific input parameters for intensity-modulated radiotherapy prostate treatment planning. The algorithm starts with a generic set of inverse planning parameters that include dose and volume constraints for the target and surrounding critical structures. The overlap region between the target volume and the rectum is used to determine the optimized target volume coverage goal. Sequential iterations are performed to vary the numerous parameters individually or in sets while other parameters remain fixed. A coarse grid search is first used to avoid convergence on a local maximum. Linear interpolation is then used to define a region for a fine grid search. Selected parameters are also tested for possible improvements in target coverage. In several representative test cases investigated the coverage of the planning target volume improved with the use of the algorithm while still meeting the clinical acceptability criteria for critical structures. The algorithm avoids time-consuming random trial and error variations that are often associated with difficult cases and also eliminates lengthy user learning curves. The methodology described in this paper can be applied to any treatment planning system that requires the user to select the input optimization parameters.