We examine how corporations should choose their optimal mix of linear and nonlinear derivatives. We present a model in which a firm facing both quantity (output) and price (market) risk maximizes its expected profits when subjected to financial distress costs. The optimal hedging position generally is comprised of linear contracts, but as the levels of quantity and price-risk increase, the use of linear contracts will decline due to the risks associated with overhedging. At the same time, a substitution effect occursThe authors acknowledge the helpful comments and conversations we have had with Mike Rebello, Steve Smith, Alan Tucker, P. V. Viswanath, Jayant Kale, Tom Webster, and seminar participants at Pace University and the University of South Florida. They also are appreciative of the comments provided by an anonymous reviewer. Smithson (1998) for an excellent summary and also the seminal articles of DeMarzo and Duffie (1995), Froot, Scharfstein, and Stein (1993), and Smith and Stulz (1985. 2 A professional version of this article, with anecdotal and empirical support for our hypotheses, appears in Gay, Nam, and Turac (2002). toward the use of nonlinear contracts. The degree of substitution will depend on the correlation between output levels and prices. Our model also allows us to provide insight into the relation between a firm's derivatives usage and its transaction-cost structure.