In microeconomics, the expenditure function represents the minimum amount of expenditure needed to achieve a given level of utility, given a utility function and the prices of goods.
Formally, if there is a utility function  that describes preferences over n goods, the expenditure function
 that describes preferences over n goods, the expenditure function  is defined as:
 is defined as:
 
where  is the price vector
 is the price vector  is the desired utility level,
 is the desired utility level,  is the set of providing at least utility
 is the set of providing at least utility  .
.
Expressed equivalently, the individual minimizes expenditure  subject to the minimal utility constraint that
 subject to the minimal utility constraint that  giving optimal quantities to consume of the various goods as
 giving optimal quantities to consume of the various goods as  as function of
 as function of  and the prices; then the expenditure function is
  and the prices; then the expenditure function is
