SALEFall Sale: All 7 courses for the price of one. Master of Cannabis $199 (reg. $399). Ends Sunday at midnight ET.Fall Sale: all 7 courses $199 (reg. $399). Ends Sun midnight ET.

THC vs CBD: Chemistry, Federal Law and Lab Testing

Reviewed by Jeff Zorn, founder of Cannabis Training University (since 2009, 50,000+ students) · LinkedIn

About Jeff

Jeff Zorn is the founder of Cannabis Training University (CTU), an online cannabis school with 50,000+ students since 2009. CTU is an IACET Accredited Provider, and its courses cover cannabis cultivation, business, medical cannabis, budtending, cooking, extraction and industry regulations.

up close of cannabis trichomes with purple and green hues

Cannabis science · chemistry and law

THC vs CBD: Same Formula, Different Structure

What is the difference between THC and CBD?

They have the same atoms, C21H30O2. THC’s atoms close into a third ring; CBD’s stay open.

Both are cannabinoids with a molar mass of 314.5 g/mol. In THC, an oxygen atom links the two halves of the molecule into a ring. In CBD that ring is open, so CBD has a second OH group and an extra carbon–carbon double bond instead. Federal law also treats them differently: hemp limits count THC, not CBD.

Checked October 2026 · Sources below

The molecules

THC and CBD are made of the same 53 atoms. One bond makes the difference.

THC delta-9-tetrahydrocannabinol · PubChem CID 16078
Skeletal formula of delta-9 THC: three rings, with an oxygen bridge closing the middle ringOOH

Ring closed: the O–C bond makes a third ring

CBD cannabidiol · PubChem CID 644019
Skeletal formula of CBD: two separate rings, with two OH groups and an open side chain where THC has its third ringOHHO

Ring open: an OH group and a C=C double bond

Skeletal formulas drawn from PubChem’s 2D structures. Each corner or line end is a carbon atom; hydrogens on carbon are not drawn. The dotted line in CBD marks where the bond would form to make THC’s ring. Two molecules with the same formula but a different structure are called isomers.

Source: PubChem, National Library of Medicine, compounds 16078 and 644019 (formula C21H30O2, 314.5 g/mol). Checked October 2026.

Side by side

The chemistry is nearly identical; the legal treatment is not

THC compared with CBD: chemistry, law and testing
THCCBD
Molecular formulaC21H30O2C21H30O2
Molar mass314.5 g/mol314.5 g/mol
RingsThree: the middle ring is closed by an oxygen atomTwo, not joined into a third
OH groupsOneTwo
Acid form in the raw plantTHCA (C22H30O4, 358.5 g/mol)CBDA (C22H30O4, 358.5 g/mol)
Made in the plant fromCBGA, by the enzyme THCA synthaseCBGA, by the enzyme CBDA synthase
Acid → neutral formHeat removes CO2 (decarboxylation)Heat removes CO2 (decarboxylation)
Counted in the federal hemp limitYes: 0.3% delta-9 THC today; total THC including THCA from Dec 11, 2026No
Federal status (Oct 2026)Cannabis above the hemp limit is marijuana, a controlled substanceNot controlled when it comes from hemp; CBD from marijuana is controlled
Federal workplace drug-test panelYes: urine tests target the THC metabolite Δ9THCC (50 ng/mL screen, 15 ng/mL confirm)Not on the panel
FDA: food and dietary supplementsNot allowed in eitherNot allowed in either

Sources: PubChem (formulas, masses); Gülck and Møller 2020 (biosynthesis); 7 U.S.C. 1639o, P.L. 119-37 and P.L. 119-103 via CRS IF13136 (hemp definition); DEA, 85 FR 51639 (CBD from hemp); HHS FR Doc. 2026-04981 (drug-test panel); FDA (food and supplements). Full list below. Checked October 2026.

Decarboxylation

Heating THCA strips off 12.3% of its mass as CO2. That is where the 0.877 in “Total THC” comes from.

The raw plant makes mostly the acid forms, THCA and CBDA. Heat breaks off a carboxyl group as carbon dioxide and leaves THC or CBD.

Total THC calculator

Enter the THCA and delta-9 THC results from a certificate of analysis (COA), as percent of dry weight.

–Total THC, % dry weight
0.3%

Formula from USDA’s hemp rule, 7 CFR 990.1: Total THC = (0.877 × THCA) + delta-9 THC. This is arithmetic only, not a compliance finding; official hemp compliance testing follows USDA and state sampling rules.

Federal law

Hemp’s THC limit switches from delta-9 THC to total THC on December 11, 2026

  1. Dec 20, 2018

    2018 Farm Bill

    Hemp is defined as cannabis with no more than 0.3% delta-9 THC on a dry weight basis and is removed from the federal definition of marijuana (P.L. 115-334 §10113; 7 U.S.C. 1639o).

  2. Aug 21, 2020

    DEA rule

    DEA confirms that hemp-derived products within the 0.3% delta-9 THC limit, including CBD, are not controlled substances (85 FR 51639).

  3. Jan 19, 2021

    USDA hemp rule

    Crops must be tested for total THC, counting THCA with the 0.877 factor (7 CFR 990).

  4. Nov 12, 2025

    New hemp definition enacted

    The FY2026 agriculture appropriations law (P.L. 119-37, Div. B §781) redefines hemp by total THC, including THCA, and caps final products at 0.4 mg total THC per container. Set to start one year later.

  5. Today

    Oct 28, 2026

  6. Nov 12, 2026

    First part takes effect

    Products containing cannabinoids the cannabis plant cannot naturally produce are no longer hemp.

  7. Dec 11, 2026

    The rest takes effect

    Delayed from Nov 12 by P.L. 119-103 (Sept 2, 2026): the total-THC definition, the 0.4 mg per container cap and the exclusion of cannabinoids synthesized outside the plant.

Status checked October 26, 2026. Bills to delay the change by two more years or to repeal it have been introduced but not passed (CRS IF13136, Sept 28, 2026). State hemp laws can be stricter. This page is not legal advice. State-by-state detail: federal hemp definition change 2026.

Testing and regulation

What a lab report, the FDA and drug tests say

  • A certificate of analysis (COA) lists each cannabinoid as a percentage, usually THCA, delta-9 THC, CBDA and CBD, plus a calculated Total THC line, with the batch ID, test date and lab. Liquid chromatography (HPLC) keeps the acids intact, so the 0.877 factor is applied; gas chromatography heats the sample, which converts THCA during the test (7 CFR 990.1).
  • FDA position: FDA has concluded that THC and CBD products are excluded from the dietary supplement definition, and that adding CBD to food sold across state lines is a prohibited act. On January 26, 2023, FDA said the existing food and supplement rules are not appropriate for CBD and that it would work with Congress on a new approach (FDA page current as of July 16, 2024).
  • Federal workplace drug tests look for THC, not CBD. The HHS panel lists the THC metabolite Δ9THCC for urine (50 ng/mL initial test, 15 ng/mL confirmation) and delta-9 THC for oral fluid (4 and 2 ng/mL). CBD is not on either panel (HHS, March 13, 2026). CBD products can contain THC, and that THC is what these tests detect.

More cannabinoids, side by side: cannabinoids chart.

Link to this page from your site (free, with a credit link)

Sources: PubChem, National Library of Medicine: Tetrahydrocannabinol, CID 16078, Cannabidiol, CID 644019, THCA CID 98523, CBDA CID 160570. Gülck, T. and Møller, B.L. (2020), “Phytocannabinoids: Origins and Biosynthesis”, Trends in Plant Science 25(10): 985–1004. 7 U.S.C. 1639o (2018 Farm Bill, P.L. 115-334 §10113). Congressional Research Service, IF13136, “Changes to the Statutory Definition of Hemp and Implications for Agricultural Policy”, updated September 28, 2026 (P.L. 119-37 Div. B §781; P.L. 119-103). USDA, 7 CFR 990.1, definitions of “Decarboxylated” and “Total THC” (86 FR 5680, Jan. 19, 2021, as amended at 88 FR 82236, Nov. 24, 2023). DEA, “Implementation of the Agriculture Improvement Act of 2018”, 85 FR 51639 (Aug. 21, 2020). HHS/SAMHSA, “Mandatory Guidelines for Federal Workplace Drug Testing Programs: Authorized Testing Panels”, FR Doc. 2026-04981 (Mar. 13, 2026). FDA, “FDA Regulation of Cannabis and Cannabis-Derived Products, Including Cannabidiol (CBD)” (content current as of July 16, 2024) and statement of January 26, 2023. Checked October 2026.

Learn the science and the law

The Master of Cannabis includes all 7 CTU courses (50+ hours), with a certificate for each. Or start with Cannabis 101.

See the Master of Cannabis
Jeffrey (Jeff) Zorn-CEO Cannabis Training University picture

Jeff Zorn

Jeff Zorn is the founder of Cannabis Training University (CTU), an online cannabis school with 50,000+ students since 2009. CTU is an IACET Accredited Provider, and its courses cover cannabis cultivation, business, medical cannabis, budtending, cooking, extraction and industry regulations. Jeff focuses on breaking down complex cannabis topics, like cannabinoids, terpenes, growing techniques and legal frameworks, into clear, practical guidance readers can apply right away. His articles are written for beginners, entrepreneurs and professionals who want to understand cannabis and make informed decisions. He regularly publishes educational articles on cannabis science, cultivation methods and industry changes, with an emphasis on real-world application, responsible use and staying current in a fast-changing market.

Check your state's cannabis laws

See the map of all 50 states

The Entry-Level Cannabis Career Guide

Cannabis 101: Marijuana Basics & Cannabis Education

RECENT ARTICLES

Medical Disclaimer
The information on this website is for educational purposes only and is not intended as medical advice. Always consult a qualified healthcare professional.
Legal Compliance Disclaimer
Cannabis remains illegal under U.S. federal law. Education provided is intended only for jurisdictions where cannabis activity is legal. Users are responsible for understanding local laws.
Guarantee
7-day money-back guarantee · Refund Policy
  • Cannabis Training University 600 17th St, Suite 2800 Denver, CO 80202
© 2026 Cannabis Training University. All Rights Reserved. Cannabis Training University® is a registered trademark of Online Training Providers LLC.

Copyright Cannabis Training University, a subsidiary of Online Training Providers. © 2026. All Rights Reserved.

Medical Disclaimer: The information on this website is for informational purposes only and is not intended to be a substitute for professional medical advice, diagnosis, or treatment.
Always seek the advice of a physician or other qualified health provider with any questions you may have regarding a medical condition.
Legal Compliance: Cannabis remains federally illegal. Products and information are intended only for jurisdictions where cannabis use and possession is legal.
By using this site, you affirm that you are of legal age (21+) and responsible for understanding your local laws.

Divider Text
7-day money-back guarantee. See our Refund Policy at /refund-policy/.