Concept Architecture
Cost Function for Hospitals and Health Services
A cost function tells an analyst what it should cost a hospital or clinic to deliver a given volume and mix of care when inputs are bought at known prices and used without waste. Its shape answers practical questions, such as whether larger hospitals are cheaper per case, whether running several services on one site saves money, and how far a provider's spending sits above what its activity would predict. The average cost and marginal cost of a service are both read from it, and the healthcare production function is the technology underneath it.
Minimum cost for a given output, input prices and technology
The cost function comes from a cost-minimisation problem. For each level of output, the provider is assumed to choose the cheapest mix of staff, beds, drugs and equipment that can produce it. Greenlaw and colleagues show a firm moving to a less labour-intensive technology as wages rise, because the least-cost mix depends on relative input prices.
where is the minimum total cost, is the vector of outputs (for a hospital, inpatient spells or outpatient attendances), is the vector of input prices such as wage rates, and is the vector of input quantities. Because the function is a minimum, a provider that spends more than on its output is wasting resources, by using more inputs than needed or the wrong mix for the prices it pays, which is the link to technical efficiency and productive efficiency.
Theory restricts the shape the function can take. Marini and Miraldo, estimating cost functions for English NHS trusts, state that the cost function must be non-decreasing, homogeneous of degree one and concave in input prices. Homogeneity of degree one means that doubling every input price with output unchanged doubles cost. Joining the least-cost input mix at each output level, with input prices held fixed, traces the expansion path, and a provider on that path is operating on its long-run cost function.
Short-run and long-run cost functions in hospitals
Hospitals cannot change their stock of beds, buildings and major equipment quickly. Marini and Miraldo explain that when some inputs cannot be adjusted, providers choose only the variable inputs such as staff optimally, given the fixed inputs, and the right object to estimate is then a short-run or variable cost function.
where is short-run total cost, is variable cost, is the vector of variable input prices, is the fixed input (capital assets or beds) and is its price. The long-run function follows by also choosing to minimise cost, so long-run cost is never above short-run cost at any output. Marini and Miraldo note that most studies find no evidence that hospitals operate in long-run equilibrium, which is why they estimated a variable cost function with capital taken as given.
Economies of scale and scope in a multiproduct cost function
A hospital produces many outputs, so its cost per unit of output is not defined until outputs are combined or costs are allocated between them. A multiproduct cost function avoids this by asking how cost changes along a ray on which all outputs grow in the same proportion. Marini and Miraldo, following Baumol, Panzar and Willig, define the degree of ray scale economies as below.
where is the degree of ray scale economies, is output and is the marginal cost of output . A value above one means economies of scale, a value of one constant returns to scale and a value below one diseconomies of scale. The reciprocal of is the elasticity of cost with respect to a proportional rise in all outputs.
Economies of scope concern a different question, whether producing outputs together in one organisation is cheaper than producing them in separate ones. For two outputs the global measure is given below.
where and are the costs of producing each output alone and is the cost of producing both together. Economies of scope exist when is positive. The provider-level question of whether joint production is exploited is covered under scope efficiency.
Estimating hospital cost functions from routine data
Hospital cost functions are estimated by regressing observed cost on outputs, input prices and controls, across providers, over time or both. Sielska notes that hospital costs are usually modelled with Cobb-Douglas or translog functions, that the Cobb-Douglas form needs fewer parameters but fixes the elasticity of substitution at one, and that there is no agreement on the right form. She separates models grounded in microeconomic theory, which use outputs and prices, from behavioural models built on hospital characteristics, and her own behavioural model does not assume that hospitals operate at the cost-minimising optimum.
The English study by Marini and Miraldo shows the ingredients of a theory-based model. It covered 171 trusts over 13 years from 1994/95, with operating expenses as cost, inpatient spells, outpatient attendances and A&E attendances as outputs, staff pay rates as input prices, and fixed assets or beds as the fixed input, plus controls such as a casemix index and teaching status. Panel methods were used because hospital-specific effects such as quality and severity would bias cross-section estimates.
Output measurement is the hardest part. Wang and colleagues point out that a hospital's true final output, improvement in patients' health, is unobservable, so studies use throughputs such as cases, patient days and outpatient consultations, which differ in case mix and quality between hospitals. They cite Ellis's point that hospitals with higher mortality and readmission rates should not be treated as producing the same output as those with lower rates. When case-mix adjustment or quality control is weak, a hospital can look cheap because it treats easier patients or does less for them.
Adding a one-sided inefficiency term turns the estimate into a cost frontier, the basis of stochastic frontier analysis; data envelopment analysis builds a frontier without a functional form. With a stochastic-frontier translog cost function for 114 New South Wales public hospitals in 1997-98, Wang and colleagues estimated that inefficiency accounted for 9.3% of total costs in large hospitals and 11.3% in small ones after controlling for hospital complexity.
What cost functions have shown about hospital size and mergers
Posnett, summarising the empirical literature in 1999, reported that economies of scale are evident only for hospitals of fewer than 200 beds, that the optimal size for acute hospitals ranges from 200 to 400 beds, and that average costs increase above 400 to 600 beds. He argued that savings from a merger that removes duplicated or excess capacity have nothing to do with economies of scale.
Marini and Miraldo found ray scale economies at mean output for both Foundation Trusts and other trusts, between 1.18 and 1.51 depending on the group and on whether capital was measured by assets or beds, so a 1% rise in all outputs raised variable cost by between 0.66% and 0.85%. Their scope results split by group, with global diseconomies of scope for Foundation Trusts and global economies of scope for the other trusts.
Worked example of scale and scope in a two-service hospital
All numbers are illustrative. A hospital produces inpatient spells and outpatient attendances a year, and its annual cost follows a quadratic cost function with a shared fixed cost.
where is the GBP 20 million cost of the site, management and support services used by both outputs, is the direct cost of GBP 3,000 per spell, is the direct cost of GBP 150 per attendance, and is the saving per spell-attendance pair when the services share staff and diagnostics. The hospital treats 20,000 spells and 100,000 attendances.
1. Joint cost. The interaction term is , a saving of GBP 4 million, so joint cost in GBP million is .
2. Stand-alone costs. An inpatient-only hospital would cost and an outpatient-only centre , in GBP million, because each carries the full fixed cost and loses the shared-staff saving.
3. Economies of scope.
where the numerator is the GBP 24 million saved by joint production, GBP 20 million from sharing the fixed cost and GBP 4 million from the interaction. Separate production would cost 26.4% more than joint production, measured against the joint cost.
4. Marginal costs. In GBP, the marginal cost of a spell is and the marginal cost of an attendance is .
5. Ray scale economies.
where cost and marginal costs are in GBP million, so the marginal costs of GBP 2,800 and GBP 110 enter as 0.0028 and 0.00011. With above one, a 10% rise in both outputs raises cost by about 7.4% at this point (10% divided by 1.36). Recomputing the function at 22,000 spells and 110,000 attendances gives GBP 97.66 million, a rise of 7.3%, close to the local approximation.
6. Interpretation. The same function answers two planning questions differently. Closing the outpatient service would save only , that is GBP 11 million or GBP 110 per attendance, because the fixed cost stays with the inpatient service, whereas running the same clinic as a stand-alone centre would cost GBP 35 million, or GBP 350 per attendance. A unit cost that spreads the shared GBP 20 million across services would sit between these figures and answer neither question. The function also shows its own limits, since the marginal cost of an attendance would fall to zero at 75,000 spells, so a quadratic form like this holds only near the observed data.
Uses in payment, planning and economic evaluation
Estimated cost functions matter most where a payer treats cost differences as evidence of efficiency. Marini and Miraldo describe the Payment by Results tariff of the 2000s as a price fixed in advance at the average cost of all hospitals for each healthcare resource group, and note that the system assumes cost differences between providers are exclusively efficiency related. They argue that if differences in scale and scope are outside a provider's control and not related to efficiency, a single national price will penalise some providers, and they estimated separate cost functions for Foundation Trusts and other trusts to test for such differences.
Scott and Parkin judged translog cost functions of limited usefulness in the NHS internal market of the 1990s, citing the adequacy of the econometric model and data, its assumptions, and the interpretation of the scale, marginal cost and scope measures derived from it. In economic evaluation the unit costs attached to resource use are usually averages; the cost function shows when the marginal cost of the activity a new technology adds or removes differs from that average, which the average cost page discusses for the NICE manual (PMG36).
Cost functions compared with nearby concepts
A production function maps inputs to outputs, and the cost function adds input prices and the assumption of cost minimisation. A cost driver, such as length of stay or case complexity, explains why cost varies and enters a cost function as an output or control. Cost measurement is the counting and valuing of resources, by micro-costing or top-down costing, and supplies the data from which a cost function is estimated.
Common misreadings of hospital cost functions
The most frequent error is to read an estimated function as a minimum cost when it was fitted to providers that do not minimise cost. A regression through average practice describes what hospitals spend, not what they need to spend, and only a frontier specification separates inefficiency from the cost structure.
Scale economies are also confused with other effects. Greenlaw and colleagues point out that diminishing marginal returns belong to the short run, with some inputs fixed, while economies of scale belong to the long run, when all inputs change together, so a ward running at full stretch says nothing about whether a larger hospital would be cheaper. Lower costs after a merger can come from removing spare capacity, which Posnett separates from economies of scale and which is a question of capacity utilisation. Scale and scope measures are also evaluated at a point, usually the sample mean, and a form fitted to mid-sized hospitals can give implausible values for very small or very large ones.
Sources
- Greenlaw SA, Shapiro D, MacDonald D. Principles of Microeconomics 3e. Houston: OpenStax; 2022. Sections 7.3 (Costs in the short run) and 7.5 (Costs in the long run). https://openstax.org/books/principles-microeconomics-3e/pages/7-5-costs-in-the-long-run
- Marini G, Miraldo M. The costs of new organisational and financial freedom: the case of English NHS trusts. HEDG Working Paper 09/26. York: University of York; 2009. https://www.york.ac.uk/media/economics/documents/herc/wp/09_26.pdf
- Posnett J. Is bigger better? Concentration in the provision of secondary care. BMJ. 1999;319(7216):1063-1065. doi:10.1136/bmj.319.7216.1063
- Scott A, Parkin D. Investigating hospital efficiency in the new NHS: the role of the translog cost function. Health Economics. 1995;4(6):467-478. doi:10.1002/hec.4730040604
- Sielska A. Costs of Polish county hospitals: a behavioral panel function. PLoS One. 2022;17(1):e0262646. doi:10.1371/journal.pone.0262646
- Wang J, Zhao Z, Mahmood A. Relative efficiency, scale effect, and scope effect of public hospitals: evidence from Australia. IZA Discussion Paper No. 2520. Bonn: Institute for the Study of Labor; 2006. https://repec.iza.org/dp2520.pdf
Related Concepts (4)
Library
Publications
8
Costs of Polish county hospitals: a behavioral panel function — Sielska A, Vol. 17, No. 1, Article e0262646 ed., 2022 (PLoS One)
Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Journal ArticleView source →The costs of new organisational and financial freedom: the case of English NHS trusts — Marini G, Miraldo M, 2009 (University of York)
Report listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Investigating hospital efficiency in the new NHS: the role of the translog cost function — Scott A, Parkin D, Vol. 4, No. 6, pp. 467-478 ed., 1995 (Health Economics)
Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Journal ArticleView source →Relative efficiency, scale effect, and scope effect of public hospitals: evidence from Australia — Wang J, Zhao Z, Mahmood A, 2006 (Institute for the Study of Labor)
Report listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Principles of Microeconomics 3e — Greenlaw SA, Shapiro D, MacDonald D, 2022 (OpenStax)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Web (Open Access)View source →Is bigger better? Concentration in the provision of secondary care — Posnett J, Vol. 319, No. 7216, pp. 1063-1065 ed., 1999 (BMJ)
Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cost Function, where it is cited as a reference for that concept.
Journal ArticleView source →Methods for the Economic Evaluation of Health Care Programmes — Drummond, Sculpher, Claxton, Stoddart & Torrance, 4th Edition ed., 2015 (Oxford University Press)
The standard international reference text for economic evaluation methods in health care, covering cost-effectiveness, cost-utility and cost-benefit analysis, measurement of costs and outcomes, evidence synthesis, and the characterisation of uncertainty.
BookView source →An Introduction to Costing and the Types of Costs Used within Health Economic Studies — Hugo C. Turner, Juan Carlos Rivillas-Garcia, Shankar Prinja, Tran Minh Hung, Sushant V. Dabak, Benjamin A. Asare, Mark Jit and Yot Teerawattananon, 9(6):849–868 ed., 2025 (PharmacoEconomics Open)
Current methodological overview of cost terminology, resource identification, measurement and valuation in health-economic studies.
Journal ArticleView source →
Frequently Asked Questions (6)
What is a cost function?
A cost function is the relationship between output, input prices and the lowest cost of production, used to study hospital scale, scope and efficiency.
Source: Marini & Miraldo 2009
What does a cost function describe?
It gives the minimum total cost of producing each level of output, given input prices and the technology available. The qualification matters: the function assumes the cheapest combination of inputs is chosen for each output level, so it describes efficient production rather than actual expenditure. Its slope at any point is the marginal cost of an additional unit, and total cost divided by output at any point is the average cost, which is why both familiar quantities are properties of the same underlying relation.
Source: Varian 2014
How do short-run and long-run cost functions differ?
In the short run at least one input is fixed, so the function describes cost as output varies against a given capacity, and it rises steeply as that capacity is approached. In the long run every input can be varied, so the function traces the lowest cost achievable at each output when capacity is chosen to suit it. The long-run curve therefore lies at or below the short-run curve at every point, touching it only where the fixed input happens to be the right size for that output.
Source: Varian 2014
What does a cost function reveal about scale?
Where long-run average cost falls as output rises, production shows economies of scale, and where it rises, diseconomies. The shape indicates the output at which a service is most efficiently provided, which bears directly on decisions about whether to concentrate activity in fewer larger units. A related property concerns producing several outputs together, where the cost of joint production is lower than producing each separately, which is the formal counterpart of the argument for general hospitals over single-service facilities.
Source: Varian 2014
How is a cost function estimated in health services?
By relating observed cost to observed output across providers or over time, controlling for input prices, case mix and quality. The difficulties are substantial. Output is multidimensional and imperfectly measured, so any single measure misdescribes it. Quality varies and is rarely controlled adequately, so a provider appearing cheap may be delivering less. And observed cost reflects actual rather than efficient production, so the estimated relation is not the cost function of theory but an average of what providers happened to spend.
Source: healtheconomics.wiki
What are the limitations of a cost function in health?
It assumes producers minimise cost for their chosen output, which health organisations facing soft budget constraints and multiple objectives frequently do not. It assumes output is well defined, which conceals the difficulty that treating more patients and treating them better are different things measured by the same figure. And estimates are sensitive to how case mix and quality are handled, so studies of the same question using different specifications reach different conclusions about the scale at which services are best provided.
Source: healtheconomics.wiki
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 11 Oct 2026
Content version: 1.0.2
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/cost-function
- Term code
- HE-EE-CA-023
- Wikidata
- Q1036748
Stable URI · Machine-readable · Resolvable · CC BY 4.0
