Quick answer

The calculator multiplies grams of flower by its THC percentage and by 10 to get the total milligrams of THC. It then applies an 80% cooking-efficiency factor and divides by the number of servings: P = 10 × G × S × 0.80 / N. For example, 2 g of 20% THC flower baked into 8 cookies gives about 40 mg per cookie. That is 8 to 16 times a beginner dose of 2.5 to 5 mg, so use less flower or make more servings. The result is an estimate, not a lab test.

Table of Contents

The idea of this calculator came from Old Hippie's Website.

The concept behind the calculator

Our calculator uses the very same concept as Ohm's Law — you might not remember it from physics class, but it's easy to understand with cannabis. By plugging in a few simple numbers, you can estimate how strong each serving of your homemade edibles will be before you even start cooking.

Understanding the variables

Consider the following:

G = grams of cannabis
P = potency in milligrams of THC per portion
S = strength of cannabis in percent
N = number of servings
E = cooking efficiency (80% — accounts for a ~20% loss during cooking)

G is literally the quantity of plant material you want to use — no mystery here. N is the number of servings of your recipe. For example, if you are making a space cake and you cut your cake into 4 pieces, N equals 4.

S is probably the most complicated to figure out. If you are in a state or country where cannabis is not decriminalized, a good rule of thumb would be: assume 20% strength for top-shelf frosty buds, 10%–15% for mids, and 5% for schwag/brick weed. For concentrates, assume 30% for kief, 40% for hash, 60% for hash oil, 80%–95% for shatter. If you live in a legalized state or country, you can simply ask your budtender or dispensary about the flower or concentrate strength. On a lab-tested label, use the Total THC figure. Labs already multiply THCA by 0.877 to account for the weight lost as CO2 during decarboxylation.

The formula

Now you understand what G, S, N, and E are. You can use all four to calculate your edible's potency with the following equation:

P = 10 × G × S × E / N

Step-by-step example

Confused? Let's go step by step. Assume you have 2 grams of high-quality cannabis with 20% THC and you want to make 8 cookies. How strong will each one be?

G = 2 (grams)
S = 20 (% of THC)
N = 8 (portions)
E = 0.80 (80% cooking efficiency)
P = 10 x 2 x 20 x 0.80 / 8 = 40 mg each

Notice that the amount of oil or butter you use has nothing to do with the calculation! You use whatever your recipe calls for — that's all there is to it.

Why 80% cooking efficiency?

When you cook with cannabis at home, some THC is inevitably lost along the way. Two main steps eat into your total:

  • Decarboxylation — heating raw cannabis converts THCA into active THC. Done right, this step is about 90% efficient. In a 2016 lab study, heating at 110°C (230°F) converted nearly all THCA in about 30 minutes and lost only about 8% of the THC. Done too hot or too short, you lose more.
  • Infusion — transferring THC from plant material into butter, oil, or another fat is never 100%. Our estimate is that a typical home infusion captures roughly 80–90% of the available THC. Few published studies have measured butter or oil infusions, so treat this figure as an estimate.

Combined, these two steps mean you realistically extract around 70–80% of the theoretical maximum. We use 80%, the top of that range, so the calculator leans toward showing a slightly stronger dose rather than a weaker one. This gives you a more realistic picture of what's actually in your food than the theoretical ceiling. Your real edibles can still be stronger or weaker than the number shown, especially if the butter or oil is not mixed in evenly.

Works for CBD too

This equation also works for other cannabinoids. Instead of THC percentage for S, just use CBD percentage, and you get the CBD dosage per portion.

Fortunately, you don't need to do any of this math yourself — you can see it happening live in our calculator. Just input the quantity, strength, and portion number, and we do all the work for you.

Calculator results are estimates for general information, not medical advice. If you are new to edibles, start with 2.5 to 5 mg of THC and wait at least 2 hours before taking more.

Sources

  1. Wang M, Wang YH, Avula B, et al. 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
  2. California Code of Regulations, Title 4, § 15700, Definitions. Defines Total THC as (THCA × 0.877) + THC.
  3. Centers for Disease Control and Prevention. Cannabis Frequently Asked Questions.