First order kinetics with an Arrhenius rate
If a reaction is first order, the fraction converted after time t is X = 1 minus e to the power (minus k t). The rate constant k follows the Arrhenius equation, k = A e to the power (minus Ea / R T), where T is in kelvin. A modest rise in temperature multiplies k, which is why decarboxylation goes from hours to minutes over a few tens of degrees.
This model uses the CBDA values reported by a Colorado State University Pueblo study: an activation energy of about 51.0 kJ/mol and a pre-exponential factor of about 5.04 x 10^5 per minute. That study heated hemp in pressurized hot water, so treat the numbers as a teaching model; rates in neat oil or dry biomass differ, and THCA follows the same pattern with its own constants.
Mass that leaves as gas
Removing CO2 (44 g/mol) from CBDA or THCA (about 358.5 g/mol) leaves CBD or delta 9 THC (about 314.5 g/mol). The neutral product weighs 0.877 times the acid, so about 12.3 percent of the converted mass leaves as gas. The CO2 readout is 122.8 g per kg of acid times the fraction converted.
The same 0.877 factor appears in federal hemp rules. Under the 2018 Farm Bill, hemp may hold no more than 0.3 percent delta 9 THC on a dry weight basis, and USDA regulations count THCA toward total THC as 0.877 times THCA plus delta 9 THC, because heat can convert one into the other.