In economics, a conditional factor demand is the cost-minimizing level of an input (factor of production) such as labor or capital, required to produce a given level of output, for given unit input costs (wage rate and rental rate) of the input factors. A conditional factor demand function expresses the conditional factor demand as a function of the output level and the input costs. The conditional portion of this phrase refers to the fact that this function is conditional on a given level of output, so output is one argument of the function. Typically this concept arises in a long run context in which both labor and capital usage are choosable by the firm, so a single optimization gives rise to conditional factor demands for each of labor and capital.
Since the optimal mix of input levels depends on the wage and rental rates, these rates are also arguments of the conditional demand functions for the inputs. This concept is similar to but distinct from the factor demand functions, which give the optimal demands for the inputs when the level of output is free to be chosen; since output is not fixed in that case, output is not an argument of those demand functions.
With two inputs, say labor and capital, the optimization problem is to minimize the total cost (amount spent on factors of production, say labor and physical capital) subject to achieving a given level of output, as illustrated in the graph. Each of the convex isoquants shows various combinations of labor and capital usage all of which would allow a given amount of output to be produced. Each straight line segment is an isocost curve showing various amounts of labor and capital whose combined usage would cost a given amount unique to that isocost curve. Conditional on producing the amount of output consistent with, say, the middle isoquant, the lowest cost can be obtained by using amounts of labor and capital such that the point on the given isoquant is on the lowest possible isocost curve--that is, at the point of tangency between the given isoquant and one of the cost curves. At the tangency the marginal rate of technical substitution between the factors (the absolute value of the slope of the isoquant at the optimal point) equals the relative factor costs (the absolute value of the slope of the isocost curve).