Activity cost driver rates and the activity-based cost of a cost object with two pools

Divides the cost in each activity pool by the total volume of its cost driver in the same period to give an activity cost driver rate, then adds the cost traced directly to the cost object to each rate times the driver units the object used. Dividing by the object's units of activity gives a cost per unit. The article's general form is C_j = C_dir + sum_(a=1)^A [r_a * d_aj]; this row writes two pools out term by term and HE-CF-ABC-001 takes any number of pools and objects. The summing step has the form of HE-FM-COST-001, each single pool the form of HE-FM-CVF-004, which is defined for spending and relative value units in one care category (HE-VR-CVF-024, HE-VR-CVF-025), and the cost per unit the form of the crude cost per case inside HE-FM-CMAD-001. Because each pool keeps its own driver, an object that uses a pool heavily takes more of it than its share of attendances would give.

Signature

r_1 = C_1 / D_1; r_2 = C_2 / D_2; C_j = C_dir + r_1 * d_1j + r_2 * d_2j; u_j = C_j / n_j
Inputs
InputsDefinitionUnit
C_1Total cost held in the first activity pool in the period, after resource costs have been moved into poolscurrency per period
D_1Total volume of the first pool's cost driver used by all cost objects in the period; above zerodriver units per period
C_2Total cost held in the second activity pool in the same periodcurrency per period
D_2Total volume of the second pool's cost driver used by all cost objects in the period; above zerodriver units per period
C_dirCost traced directly to cost object j and kept out of the pools; at least zerocurrency per period
d_1jDriver units of the first pool used by cost object j; at least zero and at most D_1driver units per period
d_2jDriver units of the second pool used by cost object j; at least zero and at most D_2driver units per period
n_jUnits of activity of cost object j in the period, such as attendances or patients; above zerounits per period
Output
r_1Cost of the first activity pool per unit of its cost drivercurrency per driver unit
r_2Cost of the second activity pool per unit of its cost drivercurrency per driver unit
C_jCost of cost object j, its direct cost plus its assigned share of each poolcurrency per period
u_jCost of cost object j per unit of its activitycurrency per unit of activity

Function

Activity-based costing function from activity pools and cost drivers to a cost object

Maps the cost in each activity pool, the total volume of each pool's cost driver in the period, a cost object's use of each driver and its directly traced cost to the activity rates, the cost of that object and its cost per unit. Live records hold the neighbouring sums and are cited, not restated. HE-FM-COST-001 multiplies the quantity of each resource by a unit cost it takes as given and adds the products, and the summing step here takes that form with driver units as quantities and activity rates as unit costs. HE-FM-CVF-004 divides spending on one care category by its relative value units and costs an encounter at that rate, the one-pool form for that setting. A cost object here draws on several pools at once, each with its own driver. HE-FM-ALOS-005 and HE-FM-BTO-005 are top-down figures that spread cost over bed days or discharges. Cost over output for a whole service belongs to the Average Cost concept. Allocation among support services belongs to the Common Cost Allocation and Cost Allocation concepts, and capacity cost rates to the Time-Driven Activity-Based Costing concept. Notation follows the Activity-Based Costing article.

Computational function

  • Computational function for allocating activity pools across cost objects with closure and the volume-based gap

    Takes a matrix of driver use with one row per activity pool and one column per cost object, builds each driver total from that matrix, and returns the rates, every object's overhead, cost and cost per unit, the volume-based rate on the same pools, the costing gap for each object, and two closure checks. Each object's cost is HE-FM-ABC-001. The volume-based rate is that formula with one pool and units of activity as the driver. The gap is the volume-based rate less the object's overhead per unit, and it takes the form of HE-FM-CRAT-002, which computes it only for a community-rated premium and a member's expected cost; the same form and the same balance across units hold here (derived, and checked here on 256 grid cases). The calculator line writes two pools and two objects out; the Excel, R and Python code take any number of each.

    Inputs and outputs: C_1, C_2 are the pool costs, d_1A, d_1B, d_2A, d_2B the driver units used by objects A and B, C_dirA, C_dirB their direct costs and n_A, n_B their units of activity. The chain returns the driver totals D_1, D_2, the rates r_1, r_2, the overheads O_A, O_B, the costs C_A, C_B, the costs per unit u_A, u_B, the volume-based rate V, the gaps g_A, g_B (positive when the volume-based rate overcosts the object), the closure error E_c and the unit-weighted sum of gaps S_g.

    Assumption: As in HE-AS-ABC-001 to HE-AS-ABC-005. Every pool has a driver total above zero and every object has units above zero. The gap compares overhead only, so direct costs stay out of it. Because the driver totals are built from the matrix, every pool is fully assigned and E_c and S_g are zero up to rounding (derived).

    Worked example (article's two clinics): With C_1 = 120000; C_2 = 180000; d_1A = 9000; d_1B = 3000; d_2A = 1800; d_2B = 7200; C_dirA = 0; C_dirB = 0; n_A = 9000; n_B = 3000 the chain gives D_1 = 12000; D_2 = 9000; r_1 = 10; r_2 = 20; O_A = 126000; O_B = 174000; C_A = 126000; C_B = 174000; u_A = 14; u_B = 58; V = 25; g_A = 11; g_B = -33; E_c = 0; S_g = 0, the figures of the article's table.

    Worked example (driver use follows volume): With C_1 = 120000; C_2 = 180000; d_1A = 9000; d_1B = 3000; d_2A = 6750; d_2B = 2250; C_dirA = 0; C_dirB = 0; n_A = 9000; n_B = 3000 the chain gives D_1 = 12000; D_2 = 9000; r_1 = 10; r_2 = 20; O_A = 225000; O_B = 75000; C_A = 225000; C_B = 75000; u_A = 25; u_B = 25; V = 25; g_A = 0; g_B = 0; E_c = 0; S_g = 0. The review minutes are illustrative.

    Excel: With pool costs in the column range PoolCosts, driver use in the matrix DriverUse (pools in rows, objects in columns), direct costs in DirectCosts and units in ObjectUnits, enter =INDEX(PoolCosts,a)/SUM(INDEX(DriverUse,a,0)) down the column PoolRates for pool a, =SUMPRODUCT(PoolRates,INDEX(DriverUse,0,j)) in OverheadByObject for object j, =INDEX(DirectCosts,j)+INDEX(OverheadByObject,j) in CostByObject, =INDEX(CostByObject,j)/INDEX(ObjectUnits,j) in UnitCostByObject, =SUM(PoolCosts)/SUM(ObjectUnits) in VolumeRate and =VolumeRate-INDEX(OverheadByObject,j)/INDEX(ObjectUnits,j) in GapByObject. A pool whose row of DriverUse is blank returns #DIV/0! in PoolRates and in every object's overhead.

    R: abc_alloc <- function(C, d, direct, n) { D <- rowSums(d); if (any(D <= 0) || any(n <= 0)) stop("driver totals and units must be above zero"); r <- C/D; O <- colSums(r*d); K <- direct+O; V <- sum(C)/sum(n); g <- V-O/n; list(rate = r, overhead = O, cost = K, unit = K/n, volume_rate = V, gap = g, closure = sum(K)-sum(direct)-sum(C), balance = sum(n*g)) } With pools in rows, abc_alloc(c(60000, 20000, 40000), matrix(c(100, 300, 100, 50, 0, 150, 10, 20, 10), nrow = 3, byrow = TRUE), c(1000, 0, 500), c(100, 200, 100)) uses illustrative figures and returns rates 120, 100 and 1000, overheads 27000, 56000 and 37000, costs per unit 280, 280 and 375, a volume rate of 300, gaps 30, 20 and -70, closure 0 and balance 0. A single pool or a single object works, given a matrix; with one object the gap is 0. A driver total or a unit count of zero stops with the message in the code.

    Python: def abc_alloc(C, d, direct, n): D = [sum(row) for row in d]; assert min(D) > 0 and min(n) > 0, "driver totals and units must be above zero"; r = [c/t for c, t in zip(C, D)]; O = [sum(r[a]*d[a][j] for a in range(len(C))) for j in range(len(n))]; K = [x+y for x, y in zip(direct, O)]; V = sum(C)/sum(n); g = [V-o/m for o, m in zip(O, n)]; return dict(rate=r, overhead=O, cost=K, unit=[k/m for k, m in zip(K, n)], volume_rate=V, gap=g, closure=sum(K)-sum(direct)-sum(C), balance=sum(m*x for m, x in zip(n, g))) abc_alloc([120000, 180000], [[9000, 3000], [1800, 7200]], [0, 0], [9000, 3000]) returns rates 10.0 and 20.0, overheads 126000.0 and 174000.0, costs per unit 14.0 and 58.0, a volume rate of 25.0, gaps 11.0 and -33.0, closure 0.0 and balance 0.0. A driver total or a unit count of zero raises an AssertionError with the message in the code, and a single pool or object works.

    Test (article's two clinics): CostByObject for clinic B is compared with 174,000 and GapByObject for clinic B with -33. Expected result TRUE. FALSE shows both pools spread on attendances, which gives 75,000 and a gap of 0, and doubling the cost cell to 348,000 or halving it to 87,000 also gives FALSE. Excel check =AND(ABS(INDEX(CostByObject,2)-174000)<0.5,ABS(INDEX(GapByObject,2)+33)<0.005)

    Test (closure): The costs of all objects are compared with all direct costs plus all pools. Expected result TRUE. FALSE shows a PoolRates cell that divides case review by 12,000 attendances, which gives 117,000 and 138,000 and a shortfall of 45,000; doubling the costs gives 600,000 against 300,000 and halving them 150,000, also FALSE. Excel check =ABS(SUM(CostByObject)-SUM(DirectCosts)-SUM(PoolCosts))<0.5

    Test (driver use follows volume): On the second worked example the cost per unit of object 1 is compared with VolumeRate. Expected result TRUE. FALSE shows the article's 1,800 and 7,200 review minutes left in the matrix, which give 14 against 25, and doubling the cost cell (50) or halving it (12.5) also gives FALSE. Excel check =ABS(INDEX(CostByObject,1)/INDEX(ObjectUnits,1)-VolumeRate)<0.005

    Common error (Direct cost inside the gap): Comparing the volume-based overhead rate with a full cost per unit mixes two bases. With an illustrative GBP 60,000 of direct cost in clinic B, u_B is 78 and the comparison reads as an undercost of GBP 53 in place of GBP 33 (computed here).

    Source: Schmidt M, Mertens KG, Meyer M. PLoS One 2023;18(9):e0290370, section Replication, subsection Introduction of the numerical framework of ABL, equation 2 and the text before it. Špacírová Z and colleagues. European Journal of Health Economics 2020;21(4):529-542, Table 2.

    D_1 = d_1A + d_1B; D_2 = d_2A + d_2B; r_1 = C_1 / D_1; r_2 = C_2 / D_2; O_A = r_1 * d_1A + r_2 * d_2A; O_B = r_1 * d_1B + r_2 * d_2B; C_A = C_dirA + O_A; C_B = C_dirB + O_B; u_A = C_A / n_A; u_B = C_B / n_B; V = (C_1 + C_2) / (n_A + n_B); g_A = V - O_A / n_A; g_B = V - O_B / n_B; E_c = C_A + C_B - C_dirA - C_dirB - C_1 - C_2; S_g = n_A * g_A + n_B * g_B

Try this function

Implementations

  • Excel

    Activity rates, cost object cost and cost per unit from named cells

    With the pool costs in PoolCostOne and PoolCostTwo, the driver totals in DriverTotalOne and DriverTotalTwo, the direct cost in DirectCostObject, the object's driver use in DriverUseOne and DriverUseTwo and its units in ObjectUnits, the formulas return RateOne, RateTwo, ObjectCost and CostPerUnit in that order. A blank or zero driver total returns #DIV/0! in its rate cell, and a blank ObjectUnits cell returns #DIV/0! in CostPerUnit. A blank driver use cell is read as 0 and lowers ObjectCost with no error.

    =PoolCostOne/DriverTotalOne; =PoolCostTwo/DriverTotalTwo; =DirectCostObject+RateOne*DriverUseOne+RateTwo*DriverUseTwo; =ObjectCost/ObjectUnits

Assumptions

  • Resource costs already moved into activity pools

    The rates start from pools that the first stage has already filled. Schmidt and colleagues describe a two-stage allocation in which resource costs are first pooled and each pool then needs an allocation base, called a cost driver. The NHS integrated costing standards give a first-stage example in Table CP3.1, a consultant costing GBP 100,000 split into ward rounds GBP 30,000, outpatient care GBP 30,000, supporting contacts GBP 20,000 and telemedicine GBP 20,000. That split is a cost times a share, the same arithmetic with relative weights as the driver (derived), so it has no record of its own.

  • Driver totals cover every cost object in the same period

    D_1 and D_2 are the totals of d_1j and d_2j over all cost objects that draw on each pool, measured in the same period as the pool cost. The rates then assign each pool in full, so the costs of all objects add to their direct costs plus the pools (derived, and checked here on 216 grid cases). A total taken from capacity or from another period breaks this, as HE-ER-ABC-001 shows.

  • One proportional driver for each activity pool

    Each pool holds costs that follow one driver, and each driver unit carries the same cost. Mogyorosy and Smith describe the aim as more homogeneous small cost pools with an allocation base that has a cause-and-effect relationship with the costs in the pool, and note that the relationship between use of a driver and overhead cost may or may not be linear. A pool whose cost does not rise in step with its driver is outside the formula, and the result then shows only an average rate.

  • Direct costs kept out of the activity pools

    A cost counted in C_dir is removed from every pool, and each pool cost is counted once. HE-ER-ABC-004 gives the size of the error when it is not. HE-ER-COST-003 describes a related double count, an overhead line added to a unit cost that already includes overheads.

  • Fully allocated historical average for one organisation

    C_j and u_j are fully allocated averages of a period's cost. Mogyorosy and Smith state that absorption costing, of which ABC is one approach, allocates historical costs, so the unit costs may or may not be reasonably good estimates of opportunity costs, and that ABC unit costs are organisation-specific averages. The formula does not give the change in cost when activity moves between options.

Worked examples

  • Routine outpatient clinic in the article's two activity pools

    Clinic A in the article's illustrative outpatient department. Booking costs GBP 120,000 over 12,000 bookings and case review GBP 180,000 over 9,000 review minutes, so the rates are GBP 10 per booking and GBP 20 per minute. With 9,000 bookings and 1,800 review minutes the clinic takes GBP 126,000 of overhead, or GBP 14 per attendance, against GBP 25 under volume-based allocation. Direct costs are set aside, as in the article.

    C_1 = 120000; D_1 = 12000; C_2 = 180000; D_2 = 9000; C_dir = 0; d_1j = 9000; d_2j = 1800; n_j = 9000; r_1 = 10; r_2 = 20; C_j = 126000; u_j = 14
  • Complex outpatient clinic in the article's two activity pools

    Clinic B in the same illustrative department. Its 3,000 bookings and 7,200 review minutes take GBP 174,000 of overhead, or GBP 58 per attendance, against GBP 25 under volume-based allocation. Together with clinic A this assigns the GBP 300,000 once.

    C_1 = 120000; D_1 = 12000; C_2 = 180000; D_2 = 9000; C_dir = 0; d_1j = 3000; d_2j = 7200; n_j = 3000; r_1 = 10; r_2 = 20; C_j = 174000; u_j = 58
  • Complex outpatient clinic with an illustrative direct cost

    Adds an illustrative GBP 60,000 of cost traced directly to clinic B, such as staff who work only in that clinic. The rates do not change, because the direct cost stays out of the pools. The clinic's cost rises to GBP 234,000 and its cost per attendance to GBP 78.

    C_1 = 120000; D_1 = 12000; C_2 = 180000; D_2 = 9000; C_dir = 60000; d_1j = 3000; d_2j = 7200; n_j = 3000; r_1 = 10; r_2 = 20; C_j = 234000; u_j = 78
  • Laundry pool by patient bed days with an illustrative second pool

    Špacírová and colleagues give a laundry cost of 55,000 euros over 11,200 patient bed-days, a rate of 4.91 euros per day. The second pool (24,000 euros over 800 assessments) and the patient's use (5 bed days and one assessment) are illustrative. The patient is the cost object, so n_j is 1 and the cost per unit equals the cost. Values are computed at full precision and rounded to the decimals shown.

    C_1 = 55000; D_1 = 11200; C_2 = 24000; D_2 = 800; C_dir = 0; d_1j = 5; d_2j = 1; n_j = 1; r_1 = 4.91; r_2 = 30; C_j = 54.55; u_j = 54.55
  • Limiting case where driver use follows attendances

    If clinic A's share of each driver equals its share of attendances, 75% in every pool, activity-based costing returns the volume-based figure of GBP 25 per attendance (derived). The 6,750 review minutes are illustrative, in place of the article's 1,800. The case checks an implementation and shows that the two methods differ only when use of the pools differs from volume.

    C_1 = 120000; D_1 = 12000; C_2 = 180000; D_2 = 9000; C_dir = 0; d_1j = 9000; d_2j = 6750; n_j = 9000; r_1 = 10; r_2 = 20; C_j = 225000; u_j = 25

Common errors

  • Taking an activity driver total from capacity or another period

    D_2 must be the driver volume actually used by all cost objects in the period. Entering an illustrative capacity of 12,000 review minutes in place of the 9,000 used lowers the rate from GBP 20 to GBP 15, and the clinics take 117,000 and 138,000, so GBP 45,000 of the GBP 300,000 is never assigned (derived). Time-driven costing does divide by practical capacity, as the article explains, and that is a different calculation.

  • Using attendances as the driver of every activity pool

    With attendances as the driver of both pools the rates are 120,000 / 12,000 = 10 and 180,000 / 12,000 = 15, so clinic B takes 3,000 x 25 = 75,000. That returns the volume-based GBP 25 per attendance in place of GBP 58, an undercost of GBP 33 for clinic B and an overcost of GBP 11 for clinic A. This is the pattern Schmidt and colleagues describe, in which a costing system overcosts high-volume products and undercosts low-volume ones.

  • Reading the activity-based average as the saving from moving a patient

    Clinic B costs GBP 58 of overhead per attendance and clinic A GBP 14, a difference of GBP 44. A model that counts GBP 44 saved for each attendance that clinic A takes over is right only if the case review team's cost actually falls, as the article notes. With unchanged staffing the short-run saving is much smaller, because the formula reports a fully allocated average and not the change in cost.

  • Leaving a directly traced cost in an activity pool

    If clinic B's illustrative GBP 60,000 of direct cost also stays in the booking pool, that pool reads 180,000 and its rate 15. Clinic B then shows 249,000 in place of 234,000 and clinic A 171,000 in place of 126,000, and the two add to 420,000 against a true 360,000. The whole GBP 60,000 is counted twice and most of the excess falls on the clinic that did not use it (derived).

  • Driver use and driver total in different units

    The rate and the use must share a unit. Clinic A's review use entered as 30 hours against a rate per minute gives 30 x 20 = 600 in place of 36,000, so the clinic shows GBP 90,600 and about GBP 10.07 per attendance in place of GBP 126,000 and GBP 14 (derived). HE-ER-COST-001 records the same slip for staff time and unit cost.

Sources

  • Activity cost driver rate in a glossary of costing methods for economic evaluation

    Špacírová Z, Epstein D, García-Mochón L, Rovira J, Olry de Labry Lima A, Espín J. A general framework for classifying costing methods for economic evaluation of health care. European Journal of Health Economics. 2020;21(4):529-542. doi:10.1007/s10198-019-01157-9 (full text read in PubMed Central, PMC8149350). Table 2, the glossary of established cost-accounting terminology, defines the activity cost driver rate as the amount determined by dividing the indirect activity expense by the total quantity of the activity cost driver, with the example of laundry expenditure of 55,000 euros over 11,200 patient bed-days giving 4.91 euros per day. The same table defines the activity cost pool and the activity cost driver.

    View source →

  • Schmidt and colleagues on two-stage cost pools and cost drivers

    Schmidt M, Mertens KG, Meyer M. Cost hierarchies and the pattern of product cost cross-subsidization: Extending a computational model of costing system design. PLoS One. 2023;18(9):e0290370. doi:10.1371/journal.pone.0290370 (full text read in PubMed Central, PMC10495028). Section Replication, subsection Introduction of the numerical framework of ABL, describes a two-stage allocation system in which resource costs are pooled and each pool then needs an allocation base called a cost driver. Equation 2 and the text before it give the reported cost of a cost object by multiplying the relative resource consumption of each entry by the amount in each cost pool and summing over the row. The Introduction describes the pattern in which a costing system overcosts high-volume products and undercosts low-volume products.

    View source →

  • Mogyorosy and Smith on activity-based costing in health care

    Mogyorosy Z, Smith P. The main methodological issues in costing health care services: a literature review. CHE Research Paper 7. York: Centre for Health Economics, University of York; 2005 (full text read). Page 75, activities consume resources, costs are assigned to cost objects on the basis of the activities needed, with more homogeneous small cost pools and a cost-allocation base with a cause-and-effect relationship to the pool. Pages 95 and 96, several cost drivers in place of a few allocation bases, and the point that the relationship between use of a driver and overhead cost may or may not be linear. Page 25, absorption costing allocates historical costs, which may or may not be reasonably good estimates of opportunity costs. Page 84, ABC unit costs are organisation-specific averages.

    View source →

  • NHS integrated costing standards on activity-based allocation

    NHS England. Integrated information requirements, costing processes and costing methods 2026 (integrated costing standards). London: NHS England; published 5 March 2025, last updated 4 March 2026. Read in the Internet Archive capture of 6 June 2026. Standard CP2 states that patient-facing costs should be allocated using an activity-based allocation method. Standard CP3 allocates resources to activities, and Table CP3.1 gives the example resource and activity matrix for a consultant used in HE-AS-ABC-001.

    View source →

Canonical Identity

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/activity-cost-driver-rates-and-the-activity-based-cost-of-a-cost-object-with-two-pools