Calculate price per mg from the total price and weight, or from a tablet count and mg per tablet, and see the matching price per gram, ounce and pound.

Any currency; results use the same currency.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Price per mgFinds the price of one milligram from what was paid and how much was boughtRequires the total price paid and either the total weight or the number of tablets or doses and the amount in each
Total price from price per weightFinds what a given weight costs at a known price per weightRequires the price per weight and the total weight
Weight you can buyFinds how much weight a budget buys at a known price per weightRequires the total price paid and the price per weight

Weights go in as mg, g, kg, oz or lb, and the amount per tablet or dose as mg, g or mcg. A price per weight can be per mg, per g, per kg, per oz or per lb. Prices can be in any currency, and every result is in that same currency. Each result also lists the price per gram, kilogram, ounce and pound.

Price Per mg Formulas

PPmg = TP ÷ W
PPmgPrice per milligram
TPTotal price paid
WTotal weight in milligrams

A weight in another unit is converted to milligrams first: 1 g is 1,000 mg, 1 kg is 1,000,000 mg, 1 oz is 28,349.523125 mg and 1 lb is 453,592.37 mg [1]. One microgram is 0.001 mg.

Price per mg

W = N × mg each

With a total weight, the main formula applies directly: 45 paid for 5 g is 45 ÷ 5,000 = 0.009 per mg, which is 9 per gram. With tablets or doses, the total weight is the count N times the amount in each one. 200 tablets of 10 mg hold 2,000 mg, so 30 paid for them is 30 ÷ 2,000 = 0.015 per mg, and 0.15 per tablet.

Total price from price per weight

TP = PPmg × W

A price per g, kg, oz or lb is converted to a price per mg, then multiplied by the weight in milligrams. At 0.015 per mg, 500 mg costs 7.5. At 8 per gram, 250 mg costs 0.008 × 250 = 2.

Weight you can buy

W = TP ÷ PPmg

The budget is divided by the price per mg. A budget of 20 at 0.05 per mg buys 400 mg. The answer is shown in the unit of the price per weight, so 20 at 8 per gram reads 2.5 g, with the same weight in milligrams beside it.

Limits of This Estimate

  • No currency conversion is done. The price per mg is in whatever currency the total price was entered in.
  • The tablet or dose option counts only the labeled amount of the ingredient in each one, not the full weight of the tablet with its fillers.
  • Ounces and pounds are avoirdupois units. Precious metals are usually weighed in troy ounces, which are heavier, so a troy weight has to be converted to grams before it goes in.

Sources

  1. NIST, Guide for the Use of the International System of Units (SP 811), Appendix B.8: weight of the avoirdupois ounce and pound, and of the troy ounce