The formula to calculate the Price Per Mg (PPmg) is:
\[ PPmg = \frac{TP}{W} \]
Where:
Let's say the total price (TP) is $50 and the total weight (W) is 2000 mg. Using the formula:
\[ PPmg = \frac{50}{2000} = 0.025 \]
So, the price per milligram is $0.025 per mg.