Total cost is the overall opportunity cost incurred by a firm in production. For short-run production, total cost consists of variable cost, which depends on the quantity produced, and fixed cost, which does not vary with production. The variable component of total cost, is guided by the law of diminishing marginal returns and is key to short-run production and supply decisions.