Browse Subject Areas

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Costs of cannabis testing compliance: Assessing mandatory testing in the California cannabis market

  • Pablo Valdes-Donoso ,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Validation, Visualization, Writing – original draft

    Affiliation Agricultural Issues Center, University of California, Davis, California, United States of America

  • Daniel A. Sumner,

    Roles Conceptualization, Formal analysis, Funding acquisition, Project administration, Supervision, Validation, Writing – review & editing

    Affiliations Agricultural Issues Center, University of California, Davis, California, United States of America, Department of Agriculture and Resource Economics, University of California Davis, Davis, California, United States of America

  • Robin Goldstein

    Roles Data curation, Visualization, Writing – review & editing

    Affiliation Agricultural Issues Center, University of California, Davis, California, United States of America

Costs of cannabis testing compliance: Assessing mandatory testing in the California cannabis market

  • Pablo Valdes-Donoso, 
  • Daniel A. Sumner, 
  • Robin Goldstein


Most U.S. states that have regulated and taxed cannabis have imposed some form of mandatory safety testing requirements. In California, the country’s largest and oldest legal cannabis market, mandatory testing was first enforced by state regulators in July 2018, and additional mandatory tests were introduced at the end of 2018. All cannabis must be tested and labeled as certified by a state-licensed cannabis testing laboratory before it can be legally marketed in California. Every batch that is sold by licensed retailers must be tested for more than 100 contaminants, including 66 pesticides with tolerance levels lower than the levels allowable for any other agricultural product in California. This paper estimates the costs of compliance with mandatory cannabis testing laws and regulations, using California’s testing regime as a case study. We use state government data, data collected from testing laboratories, and data collected from lab equipment suppliers to run a set of Monte Carlo simulations and estimate the cost per pound of compliance with California’s new cannabis testing regulations. We find that cost per pound is highly sensitive to average batch size and testing failure rates. We present results under a variety of different assumptions about batch size and failure rates. We also find that under realistic assumptions, the loss of cannabis that must be destroyed if a batch fails testing accounts for a larger share of total testing costs than does the cost of the lab tests. Using our best estimates of average batch size (8 pounds) and failure rate (4%) in the 2019 California market, we estimate testing cost at $136 per pound of dried cannabis flower, or about 10 percent of the reported average wholesale price of legal cannabis in the state. Our findings explain effects of the testing standards on the cost of supplying legal licensed cannabis, in California, other U.S. states, and foreign jurisdictions with similar testing regimes.


U.S. state markets for cannabis are evolving rapidly. As of mid-2019, 32 of 50 states had some form of legal medicinal cannabis system in place, and since 2012, 11 of those states had legalized and regulated adult-use cannabis [1].

California was the first U.S. state to decriminalize the sale of medicinal cannabis, with the 1996 passage of the Compassionate Use Act (Proposition 215). In 2003, a California state legislative act, Senate Bill 420, set out more specific rules for the operation of medicinal cannabis collectives and cooperatives. For the following 15 years, regulations on the cultivation, manufacturing, and sale of cannabis in California were largely limited to a wide variety of local ordinances, with little intervention from the state government.

In November 2016, California voters legalized adult-use cannabis by approving Proposition 64 (the Adult Use of Marijuana Act, or AUMA). Subsequently, the Medicinal and Adult-Use Cannabis Regulation and Safety Act of 2017 (MAUCRSA) created a unified framework for the state licensing of cannabis businesses and the taxation and regulation of adult-use and medicinal cannabis. MAUCRSA regulations went into effect on January 1, 2018 [2].

Safety regulations generally add costs to production. One of the most costly components of California’s new system of cannabis regulation is the mandatory testing of all legal cannabis for more than 100 contaminants, including pesticides and heavy metals. This paper is the first to comprehensively examine the economic challenges of cannabis testing and estimate the cost of testing compliance per pound of cannabis marketed in a legal and licensed cannabis market. In a previous article [2], we provide a brief introduction to testing costs to which this paper supplies needed rigor.

We review and compare the allowable tolerance levels for contaminants in cannabis with allowable levels in other crops from California, and review rejection rates in California since mandatory testing began in 2018. We compare these with rejection rates in other U.S. states where medical and recreational use of cannabis are permitted. We use primary data from California’s major cannabis testing laboratories, several cannabis testing equipment manufacturers, Bureau of Cannabis Control license data including geographical location information, and data from Cannabis Benchmarks on average wholesale batch sizes to estimate the testing cost per pound of cannabis legally marketed in California.


At the U.S. federal level, cannabis is still classified as a Schedule I illegal narcotic, and its possession, sale, and even testing are serious criminal offenses under federal law [3,4]. Even cannabis businesses that are fully compliant with state regulations thus face legal risks, uncertainties, and obstacles to doing business such as a lack of access to mainstream banks [5]. In recent years, however, the conflict of state and federal laws has generally been mediated via a series of informal, non-binding agreements, letters, and memos of understanding between the U.S. Department of Justice and states. These understandings have enabled cannabis businesses to focus more on complying with state and local laws than on hiding from federal prosecutors.

All of the U.S. states that have legalized, taxed, and regulated recreational cannabis, and most states that have legalized and regulated medicinal cannabis, require testing for some contaminants (e.g. fungus, mold, bacteria, and mycotoxins) and testing and labeling of potency (as measured by concentrations of cannabinoids such as the phytocannabinoid tetrahydrocannabinol, or THC, and cannabidiol, or CBD). Colorado and Washington were the first states to vote to legalize and regulate adult-use cannabis, both in 2012. Colorado first introduced the enforcement of potency and homogeneity tests for retail cannabis products in 2014. Residual solvents and microbial contaminants were added to the testing requirements in 2015, and heavy metals and pesticide residues as of mid-2018 [68]. Washington State mandates that licensed testing laboratories must also perform potency tests, moisture analysis, foreign matter, microbial and mycotoxin screenings, and (for extracted cannabis, e.g. cannabis oil) screenings for residual solvents [9].

Some states, including California and Colorado but not Washington, also require more sophisticated and costly wet-lab tests for pesticides and heavy metals. Per MAUCRSA, the California Department of Pesticide Regulation (DPR) established maximum allowable thresholds for 66 different pesticides, including zero tolerance for trace amounts of 21 pesticides and low allowable trace amounts of 45 other pesticides. MAUCRSA also established thresholds for 22 residual solvents plus a variety of heavy metals and other contaminants. The Bureau of Cannabis Control (BCC) was put in charge of licensing and regulating testing labs and enforcing the testing standards.

In the 2016 marketplace, prior to the passage of Proposition 64—which was unregulated at the state level and partially regulated (medicinally) at the local level—total California cannabis production was estimated at approximately 13.5 million pounds of raw flower, with roughly 80% of this production illegally shipped out of the state [10]. These out-of-state shipments may explain why California accounted for 70% of nationwide cannabis confiscations in 2016 [11]. Rough estimates suggest that only about one-quarter of California’s in-state cannabis consumption, or less than 5% of total cannabis production, went to the legal medicinal market in 2016 [12].

Until 2018, there were no rules in place at the state or local levels in California for testing contaminants, even for products legally marketed as medicinal cannabis [5,13]. A minority of medicinal cannabis retailers in the pre-2018 state-unregulated market was routinely testing and labeling cannabis for THC potency, but few were voluntarily testing for contaminants. Informal evidence suggests that pesticide residues were common in cannabis products in the pre-regulated market. For example, in 2017 an investigation reported that 93% of 44 samples collected from 15 cannabis retailers in California had pesticide residues [14].

California’s cannabis testing standards

The mandatory testing framework introduced under MAUCRSA is summarized in Table 1, where we briefly describe the tests for specific types of batches and the standards for passing each test. Dried cannabis flower (or “harvest batches”) and cannabis products (or “manufactured batches”) must be tested for concentrations of cannabinoids and various contaminants in order to enter the legal market. Some tests (for cannabinoids, presence of foreign material, pesticides, heavy metals, mycotoxins, microbial impurities and terpenoids) apply to all batches, while some others (moisture content, residual solvents, processing chemicals) only apply to some forms of cannabis. Heavy metals tests (for traces of lead, cadmium, arsenic, and mercury) were not mandatory until December 2018.

Table 1. Summary of mandatory testing per batch type and criterion used to pass tests.

Table 2 shows the list of contaminants with their maximum tolerance levels allowed in California. Tolerance levels are generally lower for products that are inhaled than for products that are eaten or applied topically. For 21 pesticides, the maximum residual level is zero, meaning that no trace of those residues may legally be detected in a sample of cannabis.

Table 2. Tolerance levels for pesticide residues, heavy metals, residual solvents, and processing chemicals in cannabis and cannabis products in California.

MAUCRSA requires that all batches of cannabis flowers and products must be sampled and tested by licensed laboratories before being delivered to retailers. Distributors are responsible for testing (although cultivators, manufacturers, and retailers may also hold distributor licenses). Fig 1 shows the flow of cannabis testing in California. The weight of a harvest batch cannot exceed 50 pounds; larger batches must be broken down into 50-pound sub-batches for testing. The sample size must be bigger than 0.35% of its weight. A processed batch cannot surpass 150,000 units.

After testing each batch, laboratories must file a certificate of analysis (COA) indicating the results to distributors and to the BCC. If a sample fails any test, the batch that it represents cannot be delivered to dispensaries for marketing. Instead, it can be remediated or reprocessed (no more than twice) and fully re-tested again. If a batch fails a second re-testing after a second remediation, or if a failed batch is not remediated, then the entire batch must be destroyed.

Analyzing the cannabis market, compared with other agricultural markets, presents a unique challenge to researchers because of the rapidly changing legal environment, the lack of historical data or scientific studies, the lack of government tax data, and the cash nature of the business. Testing prices are not publicly advertised by licensed laboratories. Quotes are known to vary depending on the number of samples, the frequency of testing, the type of contract between the distributor and the laboratory, among others. Bulk pricing is common and is negotiated on a case-by-case basis.

We approximate the costs of testing by collecting detailed data on the testing process and constructing in-depth estimates of the capital, fixed, and variable costs of running a licensed testing laboratory in California. We use these results in a set of simulations that estimate the costs per pound generated by cannabis testing under the California regulations in place as of mid-2019. We make some market assumptions based on the most reliable industry data available as of this writing in order to estimate the current cost per pound of testing compliance.

Materials and methods

We construct a simulation model using R software [15] to assess the cost structure of cannabis testing in California under the current regulatory framework. We base our simulations on the number of testing labs (n = 49) and distributors (n = 1,210) that had been granted temporary licenses by the BCC as of April 2019. The number of labs and distributors in California will fluctuate as the industry continues to develop.

To estimate costs incurred by labs, we first construct estimates of fixed and variable costs for labs based on their testing capacities. We calculate the cost of testing a sample of dried cannabis flower considering the lab scale and the distances between labs and distributors. Based on meetings with representatives of California testing labs, we assume that 70%, 20%, and 10% of the labs are distributed into small, medium, and large size categories. We assume that the testing industry is like many others in that many small firms (that have relatively high costs) supply relatively little of the output. We run 1,000 simulations to estimate the cost of sampling and testing for a sample of a typical batch of dried flowers from each of the 49 labs, assuming that costs, working hours, testing capacities, etc., may vary from lab to lab.

Next, we use the weighted average of testing cost per sample to estimate cost per pound. We express total testing cost in dollars per pound of legal cannabis that reaches the market, after incorporating costs of remediating and re-testing failed batches and losses from batches of cannabis that cannot be remediated and must be destroyed.


We used the list published by the BCC [16] to identify actively licensed testing labs and requested, to managers or representatives, a personal or phone-call interview based on a set of questions that we used as a guideline (S1 Appendix). We interviewed one-fourth of the operating or prospective licensed testing labs listed by the BCC. We gathered data on market prices for testing equipment, supplies and chemical reagents consumed by equipment, equipment running capacities, and other cannabis testing inputs needed to build a compliant testing laboratory in California. Likewise, we collected financial, managerial, and logistics data. To complement licensed testing lab data, we also drew on personal interviews, phone calls, and email exchanges with sales representatives of three large equipment suppliers. Table 3 summarizes capital costs, other one-time expenses, and annual operational and maintenance costs used in our calculations. We report average cost and standard deviation for each estimate.

Table 3. Average expected costs of implementing a licensed cannabis testing laboratory in California.

We assume that medium-sized and large labs receive discounted prices on equipment, given the larger scale of their purchases. Based on information provided by equipment suppliers, we expect these discounts to be between 1.5% and 2.5%. Different-sized labs have different capacities based on their scale. We assume that larger labs have made larger capital investments and are better able to optimize processes when supplying a larger volume of testing (for instance, by minimizing lab downtime through redundancy in equipment). On the other hand, small testing labs require less equipment and less capital investment, and operate with low annual costs, but their testing capacities are also low. Table 4 summarizes our estimates of running time for tests, the main consumables used by testing machines, and the expected cost of running a specific test per sample. In addition, we include a range of $80 to $120 per sample to cover general material and labor apparel (e.g., tubes, glassware, goggles, masks, gloves, etc.) used while preparing and processing samples.

Table 4. Main consumables used by each cannabis testing lab machine, estimated testing time and cost per sample.

Calculating laboratory cost per sample of cannabis

We break down the laboratory cost per successfully tested sample (Ci) of each lab (i = 1,…, 49) into two major components: the per-sample cost of testing itself (Ai), and the per-sample cost of collecting, handling and transporting samples from distributors to labs (Si), thus Ci = Ai+Si.

First, we consider the cost of testing per sample, which is equal to the annual total cost of running a testing lab (ACi), plus the associated total return to risk and profit for the lab, divided by Qi, the number of samples successfully tested per year. Qi is defined and explained below. The return to risk and profit is calculated as rate of return π (e.g. 15%), multiplied by the amount of invested capital (Fi).


Notice that invested capital enters per-unit costs in two places: one is a separate term for the rate of return π times the amount of invested Fi, and the other is a component of the cost of operating the lab.

The annual cost of running a testing lab (ACi) includes the annualized cost of capital invested (Fi) (equipment and other one-time expenses, including startup and sampling equipment, and implementation of ISO), annual operational and maintenance costs (OMi), and annual labor costs (Li), thus ACi = Fi+OMi+Li (see Tables 3 and 4 for detailed costs).

We calculate the annualized flow of capital invested (Fi) based on a formula typically used in budgeting studies (Eq 2): (2) where Ki denotes the total cost of capital and one-time expenses, r denotes an assumed annual discount rate that reflects the combined effects of depreciation and interest (we use r = 7.5%), and h denotes the number of years to the investment horizon (we use h = 10 years).

The number of samples successfully tested per year (Qi), OMi, and Li all depend on the size of each lab, e.g. the number of pieces of each type of testing equipment, number of employees, working hours per employee, and so on. We assume that small-scale labs operate with the minimum necessary investment in testing equipment, maintenance, staff, and operating hours, while large-scale labs operate with much higher investment in testing equipment, maintenance, staff, and operating hours.

To estimate Qi for each lab, we make four sets of assumptions about each lab’s operational efficiency. Our efficiency assumptions depend on the lab’s size. First, we estimate a lab’s potential single-day testing capacity qi, which is the maximum number of samples per day that could theoretically be tested (successfully or unsuccessfully) by a lab’s machinery if it were operating continuously. We use the testing time per sample (TSk) of each piece of equipment (see Table 4) and the total testing operational hours per day of each lab (TTi) to calculate qi. Because large-scale labs hire and manage more workers, we assume that they conduct testing for 14 hours per day (with a standard deviation of 0.06 hours); while small and medium-scale labs conduct testing for about 8 hours per day (with a standard deviation of 0.06 hours).

We assume that multiple tests can be run from a single sample, some machines can run simultaneously, and some machines run more than one type of test (see Table 4). Based on these assumptions, we calculate the total number of samples tested per day per one (or more) machines of the same type (nk), such that , where n = 1,…, n (see Table 3), and k = 1, …, 6 (see Table 4). We then constrain the total number of samples tested per day by using the minimum number of samples tested per one (or more) machines of the same type, such that .

Second, we assume that during each operating day, a lab runs at some percent operational efficiency Ri of its maximum daily testing capacity qi. Efficiency percent Ri is defined as the ratio of actual tests per day performed by a lab to total possible tests per day qi; thus (qi * Ri) gives the number of actual tests per day performed by a lab. We assume that the operational efficiency ratio Ri is a function of equipment redundancy, maintenance-related downtime, efficient scheduling with customers, and other operational factors, which together are proportional to lab size. After many interviews with lab operators, we assume that Ri is about 55% (with a standard deviation of 2.9%) for small labs, 70% (with a standard deviation of 2.9%) for medium labs, and 80% (with a standard deviation of 2.9%) for large-scale labs.

Third, we assume that labs, even when fully operational, will perform some unsuccessful tests (e.g., where machines fail, errors are made by lab technicians, or results are ambiguous, such that the lab is unable to issue a certificate of analysis without re-testing the sample at its own expense). We assume that small and medium-scale labs, because they have less experience and are likely to have less well-trained staff, have higher rates of unsuccessful tests than large-scale labs. We denote the ratio of successful tests to all tests as Ei, and we assume that this successful testing ratio Ei is about 80% (with a standard deviation of 1.7%) in small- and medium-scale labs, and about 96% (with a standard deviation of 1%) in large-scale labs.

Fourth, we assume that small-scale labs operate fewer days per year than large-scale labs. In Eq (3), we denote the lab’s operational days per year as Di. Based on information provided by representatives of testing labs, we assume that Di is 240–260 days for small-scale labs, 250–270 days for medium-scale labs, and 280–300 days for large-scale labs.

The total number of samples successfully tested per year (Qi) is expressed in Eq (3) as a function of the four sets of operational assumptions described above: (3)

Next, we must estimate sampling cost (Si), which includes transportation, labor, equipment, and material costs. We use the zip codes of active licensed testing labs (denoted by i) and distributors (denoted by j) published by the BCC [16] to estimate the distance from labs to distributors (dij). Using the R software [15] and the zip codes of active licensed testing labs and distributors [16], we generate a map that shows the geographical location of licensed labs and distributors in mid-2019 (Fig 2). We have no information about which labs served which distributors. However, we expect that labs are better able to compete for nearby distributors because they would have lower transportation time and cost and may be more likely to have closer business relationships.

Fig 2. Locations of licensed testing labs and distributors in California.

(Source: Bureau of Cannabis Control, April of 2019).

In order to estimate average transport costs from distributors to labs, we randomly assigned distributors located within a 160 mi radius to each lab. Based on 2019 data, this was the longest travel distance from a distributor to the nearest lab. This travel distance radius ensures that each distributor in the sample is covered by at least one laboratory.

Based on the annual number of samples that we estimate each lab is able to test (Qi), we estimate the share of total testing done by small labs, medium labs, and large labs. We then estimate the number of distributors per lab. In each of our 1,000 simulations, 70% of the 49 licensees (34 labs) with specific locations were randomly chosen to represent small-scale labs, 20% (10 labs) were randomly chosen to represent medium-scale labs, and 10% (5 labs) were randomly chosen to represent large-scale labs.

Eq 4 shows our calculation of sampling cost as the average cost of sampling from each distributor supplied by sampling and testing from an ith lab.


The first term of the right hand side of Eq 4 shows transportation cost. The term dij denotes the distance, back and forth, from an ith lab to a jth distributor, and TDij the number of trips, per-sampler, needed to collect the total samples (Qij) from a particular distributor within a year. We use the cost of transportation as $0.58 per mile, the Federal reimbursement rate per mile for California. The second term of the right hand side of Eq 4 shows the labor cost of sampling. We include the time spent sampling and traveling back and forth to distributors. We use $18 per hour as the labor opportunity cost of sampling (Ls), and used 15 minutes as the average time used to retrieve one sample from a batch. We expect that a sampling employee will collect at least 10 samples from a distributor in one visit (i.e., ). We used a range of speed (sp) between 50 and 60 miles per hour to calculate the time spent traveling (i.e., ). The third term of the right-hand side of Eq 4 shows the material cost of sampling. Based on information provided by testing labs, we assume a $50 cost of materials per visit, including disposables such as gloves, masks, etc.

Calculating cost per pound of cannabis marketed

Our estimates of cost per pound of cannabis that reaches the market (m) includes laboratory cost (c), the value of lost inventory (v), and the cost of remediation of failed batches (z): m = c+v+z. Laboratory cost per pound of marketed cannabis (c) is expressed by Eq 5: (5) where is a weighted average of the lab cost per sample using the share of annual testing capabilities of each lab, B is the batch size or number of pounds of a batch of cannabis flower from which a sample is taken for analysis, is the weighted average of per-pound cost of security compliance, and TP is the ratio of the number of pounds tested per pound that passes testing.

We use a range of values less than or equal to 50 pounds for B, as MAUCRSA sets a maximum batch size of 50 pounds of cannabis flower (or 150,000 units for processed cannabis products) [1]. We use a weighted average of security compliance cost of $3.92 per pound ($4.88 for G in small labs, $4.06 in medium labs, and $3.25 in large-scale labs). These costs include video surveillance and archival, disposal and quarantine, and other compliance estimated elsewhere [10]. Eq 6 shows the calculation of TP: (6)

The numerator of Eq 6 expresses total pounds tested (including pre-tested and rejected pounds), and the denominator expresses total pounds that pass testing. Based on our best estimates after interviewing testing labs and gathering data from other states, we set the pre-test share at 25%, the re-tested share of failed samples at 50%, and the failure rate of re-tested samples at 50%.

We use a range of failure rates from 0% to 8% based on the ranges of cannabis testing failure rates that have been observed in California in 2018 and 2019 [17], and by comparing cannabis tolerance levels with data on pesticide residue detection in other crops of California [18]. Cannabis and cannabis products are offered to be consumed via edibles or inhalable. Here we treat cannabis like any other crop in California.

Table 5 shows the percent of California food products with any detection of pesticide residues and above the U.S. Environmental Protection Agency (EPA) tolerance levels, from 2015 to 2017. We estimate that about 13% of over 7,000 samples would have been above the inhalable cannabis product tolerance limits, whereas about 4% would have exceeded even the less stringent tolerance levels established for other (non-inhalable) cannabis products (Table 5).

Table 5. Percent of California food product samples indicating any detection of pesticide residues, above EPA tolerance levels, and percent above tolerance levels for cannabis products (2015–2017).

The value of lost inventory (v) includes the cost of the cannabis used up in the testing procedures () and the cost of cannabis that must be destroyed when it has failed testing twice (). We use a wholesale price of cannabis flower of $1,360 per pound as a weighted average () from outdoor, greenhouse, and indoor grow types [10]. Eq 7 expresses the value lost inventory per pound of cannabis that passes testing.


To calculate the amount of cannabis that must be removed from inventory for testing (s), we include a fraction (0.35%) of the batch size (B) that is removed for testing, and a fraction that is retested after failing the first round of testing, and a fraction that is pre-tested (Eq 8).


We calculate the amount of cannabis that is destroyed after remediation (d) by using a fraction of cannabis that fails (between 0% and 8%) minus the share of cannabis that passes the second test (Eq 9).


As for the value of lost inventory, Eq 10 shows how we estimate the remediation cost of failed batches at per pound of cannabis that passes testing (z). Based on our interviews with operators, we assume that the cost of remediation P (processing batches that did not pass the first round of testing) is $20 per pound.


Results of simulations

Laboratory cost per sample of cannabis

The minimum capital investment in testing equipment needed to satisfy regulations is substantial. We estimate that in small labs (n = 34), capital investment in equipment is about $1.1 million; in the medium-sized labs (n = 10), capital investment in equipment is about $1.8 million; and in large-scale labs (n = 5), capital investment in equipment is about $2.8 million. These capital costs, amortized over a 10-year time span with a 7.5% rate of depreciation and interest, represent less than 15% of total annual expenses. Annual costs of operating range from $1.4 to $2.2 million for small labs, $2.7 to $3.7 million for medium-sized labs, and $6.2 to $8.1 million for large labs. Consumables are the largest share of total annual costs in large-scale labs, whereas labor is the largest share of costs in small-scale labs. In medium-scale labs, consumables and labor have about equal shares of annual costs.

Different-sized labs differ in their capacity and efficiency. Large-scale labs test about four times the amount of cannabis per hour than medium labs, and more than 10 times what small labs test. The cost advantage of large testing labs comes from a more efficient use of inputs such as lab space, equipment, and labor. Table 6 summarizes the average of estimated testing capacities, annual costs, and testing cost per sample for each of the three lab size categories.

Table 6. Testing capacity, itemized annual costs, and testing cost per sample by laboratory scale.

Cost of collection, handling and transport also vary by lab size. As of April 2018, the longest distance between a lab and a distributor in California was about 156 miles. Fig 3 shows the cost of collection, handling, and transportation (which we call the “sampling cost”) per sample for distances between labs and distributors, of less than 156 miles. As expected, the longer the distance, the higher the sampling cost. Large labs have relatively low sampling costs even at long distances. The highest possible sampling cost we assume for small labs is about $35 per sample if the distributor is located 156 miles away (Fig 3). On average, costs of collection, handling, and transportation represents a small share (about 2.5%) of total lab costs per sample.

Fig 3. Sampling cost (collection, handling, and transportation) at different distances between a lab and a distributor.

Fig 4 shows the distribution of full testing cost per sample from 1,000 Monte Carlo simulations assuming 49 labs. Variability of the cost per sample within small labs is high, with the highest and lowest cost within that group differing by $463. The difference between the highest and lowest costs in large labs is $88, with a lowest cost per sample of about $273. The average full cost per sample tested is about $313 for large labs, $537 for medium labs, and about $778 for small labs (see Table 6).

Fig 4. Testing cost per sample from a batch of cannabis flower (Ci) estimated for small, medium, and large labs using 1,000 Monte Carlo simulations.

Large cost differences per test and per batch document the large-scale economies and differences in operational efficiencies across labs of difference sizes. The aggregate amount of cannabis flowing through licensed labs in 2019 remains relatively small relative to the anticipated amounts expected in the future. That means labs that may anticipate growth, operate well below capacity. Substantial scale economies suggest that, as the market settles, the smallest labs must either expand to use their capital investment more fully, leave the industry, or provide some specialized services to distributors that are not accounted for in the analysis presented here. Simply put, the average cost differences shown in Table 6 or the simulated ranges displayed in Fig 4 should not be understood as a long run equilibrium in the cannabis testing laboratory industry.

Testing cost per pound of cannabis marketed

Based on the shares developed based on current information, a few large labs are likely to supply almost half the testing services for cannabis sold through licensed retailers in California, while medium labs will test about 24% of cannabis and small labs about 30% of cannabis. Using these shares and the cost information documented, the weighted average of testing cost from our simulations is about $504 per sample.

In 2018, the first year of mandatory testing enforcement, according to official data published by the California Bureau of Cannabis Control and posted publicly on its website, failure rates in California averaged about 5.6% (not including failures due to “label claims,” i.e. incorrect cannabinoid content reported on the label, which can be corrected at little cost by re-labeling without remediation). Failure rates for the first seven months of 2019, the second year of the testing regime, have averaged 4.1% [17]. We assume a 4% failure rate for the current market in California.

By comparison, in Washington State, in 2017, the second year after the testing began, 8% of the total samples failed one or more tests [19]. The Colorado Marijuana Enforcement Division reported that during the first six months of 2018, 8.9% of batches of adult-use cannabis failed testing, with infused edibles and microbial tests for flower accounting for the most failures [8].

Batch size significantly affects the per-pound testing cost of cannabis marketed, especially when batch size is smaller than 10 pounds. Fig 5 shows the costs of one pound of cannabis marketed coming from different sizes of batch flowers using 0%, 4%, and 8% rejection rates. As rejection rates increase, the differences between the costs per pound of testing different batch sizes decreases. For example, given a 0% rejection rate, the cost of testing per pound of cannabis marketed from a one-pound batch is about 27 times higher than the cost of a 48-pound batch; on the other hand, given an 8% rejection rate, the cost of testing per pound of cannabis marketed from a one-pound batch size is only seven times higher than the cost from a 48-pound batch size.

Fig 5. Testing costs per pound of cannabis marketed at different batch sizes and rejection rates.

Table 7 shows costs per pound of cannabis testing itemized into laboratory cost, the value of lost inventory, and the cost of remediating failed batches, given different rejection rates and batch sizes. For small batch sizes, laboratory costs are a higher share of total testing costs than they are for large batch sizes. For a one-pound batch size, the total cost of testing of a pound of cannabis that reaches the market is about $641 when the expected rejection rate is equal to zero. The cost increases to $714 if the expected rejection rate is equivalent to 4%, and to $791 if the expected rejection rate is 8% (Table 7).

Table 7. Itemized costs per pound of cannabis that reaches the market at three rejection rates and different batch sizes.

The share of laboratory cost from total cost decreases as the rejection rate increases and the value of lost inventory therefore increases. Under an 8% expected rejection rate, the share of lost inventory is half of the total cost for eight-pound batches (Table 7).


In this paper, we use a simulation model to estimate the costs per pound of mandatory cannabis testing in California. To do this, we make assumptions about the cost structure and estimated the testing capabilities of labs in three different size categories, based on information collected from market participants across the supply chain. For each lab, we estimate testing cost per sample and its share, based on testing capacity, of California’s overall testing supply. We then estimate a weighted average of the cost per sample and translate that value into the cost per pound of cannabis that reaches the market.

We use data-based assumptions about expected rejection rates in the first and second round of testing, pre-testing, and the remediation or processing of samples that fail testing. Our simulations rely on information collected from several sources, including direct information from testing labs in California, price quotes from companies that supply testing equipment, interviews with cannabis testing experts, data on testing outcomes for cannabis and other agricultural products from California and other states, data on pesticide detection in California crops, and data on average wholesale cannabis batch sizes.

Costs needed to start a testing lab that meets California regulations depend on the scale of the lab. As lab scale rises, testing capacity rises faster than do input costs, so average costs fall with scale. We find that a large lab has four times the total costs of a small lab but 10 times the testing capacity, in part because large labs are able to use their resources (equipment, lab space, labor) more efficiently.

Testing cost per pound of cannabis marketed is particularly sensitive to batch size, especially for batch sizes under 10 pounds. Testing labs report that batch size varies widely. The maximum batch size allowed in California is 50 pounds, but many batches are smaller than 15 pounds. We assume an eight-pound average batch size in the 2019 California market, but we expect that the average batch size will increase in the future as cultivators become larger and more efficient and take advantage of the opportunity to save on testing costs (and other costs that vary nonlinearly with batch size).

Testing itself is costly, but losses inflicted by destroying cannabis that fails testing is a major component of overall costs. Low or zero tolerance levels for pesticide residues are the most demanding requirement, and result in the greatest share of safety compliance testing failures [17]. Cannabis standards are very tight compared to those for food products in California. A significant share of tested samples from California crops have pesticide residues that would be over the tolerance levels established for California cannabis (see Table 5). Some foods that meet pesticide tolerance established by California EPA may be combined with dried cannabis flowers to generate processed cannabis products (such as baked goods, for example). Pesticide residues coming from the food inputs may generate detection levels of pesticide over the tolerance levels set by cannabis law and regulation, even if they are otherwise compliant as food products. Cannabis testing regulation is strict compared to tobacco, another inhalable crop. Tobacco has no pesticide tolerance limits because it is considered to be an inedible crop used for recreational purposes [5]. Cannabis has multiple pathways of intake, such as edibles, inhalable, patches, etc., and also may be prescribed for people with a health condition, searching for alternatives to traditional medicine.

Some labs report that when samples barely fail one test, they have a policy of re-testing that sample to reduce the probability of false positives. Some labs have reported up to 10% in variation in test results from the same sample. Some labs indicate that about 25% of samples need to be re-tested to be sure that results are accurate. Such concerns have been widely reported. In July 2018, some producers voluntarily recalled cannabis products after receiving inconsistent results of contaminant residues from different laboratories [20]; and some California labs have also been sanctioned by the Bureau of Cannabis Control for failing state audits on pesticide residue tests.

A major issue for legal, taxed and licensed cannabis market is competition with cannabis marketed through untaxed and unlicensed segment. Higher testing costs translate into higher prices in the licensed segment. Safety regulations and testing may improve the perceived safety and quality of cannabis in the licensed segment, thus adding value for some consumers [21]. However, price-sensitive consumers move to the unlicensed segment when licensed cannabis gets too expensive. A useful avenue for further research is to investigate cannabis testing regulations and standards across states to assess implications for consumer and community wellbeing and competition with unlicensed cannabis.

Compared with other agricultural and food industries, the licensed cannabis industry in California has relatively little data. Banking is still done in cash, and sources of government financial data are less available for cannabis than they are for other industries. As the licensed cannabis segment develops, we expect that increased access to data on the market for testing services, including on prices, quantities, and batch sizes. Data from tax authorities, the track-and-trace system, and the licensing system will then help clarify the costs and implications of mandatory cannabis testing.


  1. 1. Government of California. Medicinal and Adult-Use Cannabis Regulation and Safety Act (MAUCRSA). In: SB 94. [Internet]. U.S.: Government of California; 2018 [cited 1 Dec 2018] pp. 1–122. Available:
  2. 2. Valdes-Donoso P, Sumner DA, Goldstein RS. Costs of mandatory cannabis testing in California. Calif Agric. 2019;73: 154–160.
  3. 3. Public Law 91–513. to amend the Public Health Service Act and other laws to provide increased research into, and prevention of, drug abuse and drug dependence; to provide for treatment and rehabilitation of drug abusers and drug dependent persons; and to strengthen existing. 84 Stat. the 91st U. 1971;
  4. 4. Drug Enforcement Administration. Schedule of Controlled Substances: Maintaining Marijuana in Schedule I of the Controlled Substances Act. US Depertment of Justice; 2016.
  5. 5. Stone D. Cannabis, pesticides and conflicting laws: The dilemma for legalized States and implications for public health. Regul Toxicol Pharmacol. 2014;69: 284–288. pmid:24859075
  6. 6. Colorado Department of Revenue. Marijuana Enforcement Division. Reatil Marijuana Rules. 1 CCR 212–2 [Internet]. Code of Colorado Regulations. Secretary of State. State of Colorado; 2018 [cited 25 Feb 2018]. Available: CCR 212–2 Retail Effective 02022018.pdf
  7. 7. Colorado Department of Revenue. Marijuana Enforcement Division. Medical Marijuana Rules. 1 CCR 212–1 [Internet]. Code of Colorado Regulations. Secretary of State. State of Colorado; 2018 [cited 25 Feb 2018]. Available: CCR 212–1 Medical Effective 02022018.pdf
  8. 8. Colorado Department of Revenue. Marijuana Enforcement Division, Annual Updates [Internet]. State of Colorado; 2018 [cited 15 Apr 2018]. Available:
  9. 9. Washington Administrative Code. Washington State Legislature. Laws and Rules. Chapter 314–55: Marijuana licenses, application process, requirements, and reporting [Internet]. Washington Administrative Code. Liquor and Cannabis Board; 2018 [cited 25 Apr 2018]. Available:
  10. 10. Sumner DA, Goldstein RS, Matthews W, Lee H, Pan Q, Medellin-Azuara J, et al. Economic Costs and Benefits of Proposed Bureau of Cannabis Control Regulations for the Implementation of the Medicinal and Adult Use Cannabis Regulation and Safety Act (MAUCRSA). Standardized Regulatory Impact Analysis. State of California D of F, editor. In: Prepared for the California Bureau of Cannabis Control by the University of California Agricultural Issues Center [Internet]. State of California, Department of Finance; 2018. Available:
  11. 11. Drug Enforcement Administration. Cannabis Eradication. Domestic Cannabis Eradication and Suppression Program [Internet]. U.S. Department of Justice; 2018 [cited 14 May 2018]. Available:
  12. 12. MacEwan D, Newman C, Howitt R, Noel J. Economic Impact Analysis of Medical Cannabis Cultivation Program Regulations. Standardized Regulatory Impact Assessment (SRIA). Morris A, editor. ERA Economics; 2017.
  13. 13. Lindsey TD. Medical Marijuana Cultivation and Policy Gaps [Internet]. Prepared for the Office of Assembly Member Linda Halderman from the California Research Bureau; 2012 [cited 23 Apr 2018] pp. 1–7. Available:
  14. 14. Grover J, Glasser M. Pesticides and Pot: What’s California Smoking? In: NBC4 [Internet]. 2017 [cited 20 Dec 2017]. Available:
  15. 15. R Development Core Team. R: A Language and Environment for Statistical Computing [Internet]. Vienna, Austria: R Foundation for Statistical Computing; 2015. Available:
  16. 16. Bureau of Cannabis Control. Cannabis License Search [Internet]. 2019 [cited 30 Apr 2019]. Available:
  17. 17. Bureau of Cannabis Control. Weekly Reports [Internet]. 2019.
  18. 18. California Department of Pesticide Regulation. Pesticide Residue Monitoring Program [Internet]. 2019 [cited 21 May 2019]. Available:
  19. 19. WSLCB. Response to Public Records Request: Data Installment of Records. Washington State Liquor and Cannabis Board; 2018.
  20. 20. Schroyer J. Second voluntary cannabis product recall issued in California [Internet]. Marijuana Business Daily. 2018. Available:
  21. 21. Gray RS, Sumner DA, Alston JM, Brunke H, Acquaye AKA. Economic consequences of mandated grading and food safety assurance: ex ante analysis of the federal marketing order for California pistachios. Giannini Found Monogr. 2005;46: 1–52.