Edible Calculator
This THC potency calculator works out the THC in a homemade oil, butter or tincture: grams of flower times THC percentage times 10, times 0.877 for decarboxylation, times the carrier's extraction efficiency, divided by servings.
An edible calculator multiplies the grams of flower by the THC percentage and by 10, then by 0.877 for decarboxylation and by the share the oil or butter takes up, and divides by the number of servings. Example: 7 g of 20% flower in butter holds 1,400 mg of THCA, at most 1,228 mg of THC after decarboxylation, and about 773 mg in the butter at 63% extraction efficiency: about 32 mg per serving across 24 servings [1][2].
Coconut oil transfers an estimated 73 percent of available cannabinoids, typically 60 to 85 percent. Why this number
Estimates only. Label percentages, decarboxylation and extraction all vary, so treat the result as a planning figure, not a lab value. The note under the scale gives a starting point for each strength; the edible dosage guide sets out the dose tiers in full.
How the edible calculator works
Five numbers go in: the weight of the flower, its cannabinoid percentage, the carrier, the volume of oil or butter and the number of servings. The calculator runs one chain of multiplications, shown in the table, and updates as you type.
| Step | What happens | Factor |
|---|---|---|
| Flower to milligrams | Grams x percentage x 10 gives the milligrams of THCA in the flower | x 10 |
| Decarboxylation | THCA loses a carboxyl group as it becomes THC: 314.5 / 358.5 g/mol leaves at most 0.877 mg of THC per mg of THCA [1][3] | x 0.877 |
| Extraction | Only part of the activated THC moves into the fat; you set this share | x efficiency |
| Servings | The total is divided by the volume for mg/ml and by the servings for mg per serving | / servings |
The 0.877 factor is not a rule of thumb. It is the ratio of the two molecular masses, and US hemp rules use the same number to add THCA to THC as "total THC" [2]. It is also a ceiling: how much THCA actually converts depends on oven temperature and time [4], which is why the decarboxylation temperature chart matters as much as the arithmetic.
Worked example: 7 g of 20% flower in butter
Take 7 g of flower whose label reads 20% THCA, infused into 240 ml of butter and baked into 24 servings, with the butter preset at 63% extraction efficiency.
| Step | Calculation | Result |
|---|---|---|
| THCA in the flower | 7 x 20 x 10 | 1,400 mg |
| After decarboxylation | 1,400 x 0.877 | 1,228 mg of THC at most |
| In the butter | 1,228 x 0.63 | 773 mg |
| Per millilitre | 773 / 240 | 3.2 mg/ml |
| Per serving | 773 / 24 | 32 mg |
If the label already gives activated THC, switch the calculator to "THC, already activated": the 0.877 step drops out and the same batch comes to 882 mg, or 37 mg per serving. Multiplying 7 g by 20% and stopping there gives 1,400 mg, the figure many calculators show; the steps above are why a homemade batch holds less than that.
THCA or THC: which percentage to enter
A lab report or label for raw flower usually lists THCA, the acid form the plant makes, sometimes with a small THC figure beside it. Enter the THCA figure with the switch on "THCA, raw flower". A "total THC" figure has already applied the 0.877 factor [2]: enter it with the switch on "THC, already activated". Labels are not always right: in a test of 75 edible products, 17% matched their label, 23% held more THC than stated and 60% held less [5].
Extraction efficiency: what the studies measured
Extraction efficiency is the share of activated THC that ends up in the oil or butter. The published measurements come from pharmacy olive oil preparations. One study measured 54.2% of THC extracted at 94.5 °C and 64.0% at 96.5 °C [6]. A survey of 201 olive oil extracts from Italian pharmacies found median extraction yields above 75%, while THC concentrations varied by more than 50% between batches [7].
No comparable measurement was found for butter, coconut oil or MCT oil, so the carrier presets (coconut 73%, MCT 80%, olive 55%, butter 63%) are starting points, not measured values. If you know your method, overwrite the efficiency field. The extraction efficiency guide explains what moves the figure.
Reading the result
The calculator reports milligrams per serving and per millilitre. It does not say how much anyone should take. For scale, researchers have proposed 5 mg of THC as one standard THC unit [8]. Dose ranges, onset and duration are in the edible dosage guide, and the method by hand is in how to calculate the potency of homemade edibles.
Edible calculator FAQ
How do I calculate the mg of THC in homemade edibles?
Multiply the grams of flower by the THC percentage and by 10, then by 0.877 if the figure is THCA, then by the extraction efficiency, and divide by the number of servings. The edible calculator above does this as you type.
How many mg of THC are in 1 gram of flower?
1 g of flower at 20% THCA holds 200 mg of THCA, which can become at most about 175 mg of THC (200 x 0.877) [1][3]. How much of it reaches the edible depends on decarboxylation and extraction.
Why does the calculator multiply by 0.877?
Because THCA is heavier than THC. When heat removes the carboxyl group as carbon dioxide, 358.5 g of THCA leaves 314.5 g of THC, a ratio of 0.877 [1][3][2].
How much THC is lost when making cannabutter?
Two losses add up: decarboxylation keeps at most 87.7% of the THCA mass as THC [2], and the fat takes up only part of the activated THC. Olive oil studies measured 54% to 64% in one setup [6] and a median above 75% across pharmacies [7]. No comparable butter measurement was found, so the butter preset of 63% is an estimate you can change.
Does the calculator work for gummies, tinctures and CBD?
Yes. For gummies or chocolates, enter the number of pieces as servings. For an alcohol tincture, choose ethanol extraction. For CBD, enter the CBDA or CBD percentage: CBDA and CBD have the same formulas and masses as THCA and THC, so the same 0.877 ratio applies [9][10].
Sources
- National Center for Biotechnology Information. PubChem Compound Summary for CID 16078, Tetrahydrocannabinol (C21H30O2, 314.5 g/mol). pubchem.ncbi.nlm.nih.gov/compound/16078
- US Code of Federal Regulations, Title 7, section 990.1, Definitions: "Decarboxylated" ((delta-9 THC) + (0.877 x THCA)). ecfr.gov
- National Center for Biotechnology Information. PubChem Compound Summary for CID 98523, delta9-Tetrahydrocannabinolic acid (C22H30O4, 358.5 g/mol). pubchem.ncbi.nlm.nih.gov/compound/98523
- Wang M, Wang YH, Avula B, Radwan MM, Wanas AS, van Antwerp J, Parcher JF, ElSohly MA, Khan IA. Decarboxylation study of acidic cannabinoids: a novel approach using ultra-high-performance supercritical fluid chromatography/photodiode array-mass spectrometry. Cannabis and Cannabinoid Research. 2016;1(1):262-271. doi:10.1089/can.2016.0020
- Vandrey R, Raber JC, Raber ME, Douglass B, Miller C, Bonn-Miller MO. Cannabinoid dose and label accuracy in edible medical cannabis products. JAMA. 2015;313(24):2491-2493. doi:10.1001/jama.2015.6613
- Morini L, Porro G, Liso M, Groppi A. Therapeutic use of delta-9-THC and cannabidiol: evaluation of a new extraction procedure for the preparation of cannabis-based olive oil. Current Pharmaceutical Biotechnology. 2017;18(10):828-833. doi:10.2174/1389201019666171129175655
- Carcieri C, Tomasello C, Simiele M, De Nicolò A, Avataneo V, Canzoneri L, Cusato J, Di Perri G, D'Avolio A. Cannabinoids concentration variability in cannabis olive oil galenic preparations. Journal of Pharmacy and Pharmacology. 2018;70(1):143-149. doi:10.1111/jphp.12845
- Freeman TP, Lorenzetti V. 'Standard THC units': a proposal to standardize dose across all cannabis products and methods of administration. Addiction. 2020;115(7):1207-1216. doi:10.1111/add.14842
- National Center for Biotechnology Information. PubChem Compound Summary for CID 160570, Cannabidiolic acid (C22H30O4, 358.5 g/mol). pubchem.ncbi.nlm.nih.gov/compound/160570
- National Center for Biotechnology Information. PubChem Compound Summary for CID 644019, Cannabidiol (C21H30O2, 314.5 g/mol). pubchem.ncbi.nlm.nih.gov/compound/644019
Working from a target strength instead? The cannabutter calculator runs the sum backwards, from the dose per serving to the grams of flower.
What to read next