Skip to main content
Peptide Calculator

Cost Per mg Calculator

Divides a price by a mass in milligrams to give cost per milligram. For lab and business bookkeeping; not medical advice.

Cost & Inventory

Calculator inputs

This is a mathematical and laboratory reference tool. It does not diagnose, treat or recommend a dose, and it is not medical advice.

The cost per milligram calculator turns a price and a mass into the only figure that allows two products to be compared: what a milligram of each actually costs.

Two vials can differ enormously in unit price while differing by very little in cost per milligram, and a comparison made on vial price alone will reach the wrong conclusion more often than not.

It is one division, and it is the first step in every cost comparison on this site.

Why dividing by the mass turns a price into a property

A price belongs to a transaction, not to a substance. The same peptide in a 5 mg vial and in a much larger container carries two different prices, and neither number means anything on its own, because what a buyer actually wants to know is what the material costs per unit of material. Dividing by the mass is what converts a transaction into a property. The mass is the right denominator because it is the quantity a vial label quantifies, so a figure built on it scales with the amount rather than with the packaging.

The result is therefore independent of how much you buy. If a unit price is constant, a single vial and a bulk order return the same cost per milligram, which means the number is measuring the material and not the deal. That is exactly what makes it usable as a comparison figure: two suppliers offering the same peptide in different pack sizes can be placed on one basis by dividing, without either figure being converted into the packaging of the other. A number that shifted with order size would be measuring the seller instead of the substance.

The denominator has to be the active substance

The mass you divide by must be the mass of active substance, not the mass in the container. Those are the same number only for pure material. Anything present alongside the peptide, whether counterions, residual solvent or a salt form, contributes to a gross figure without contributing to the amount of peptide actually present. Cost per milligram of gross mass is therefore lower than cost per milligram of active substance by exactly the fraction that is not peptide. Where a purity figure exists, correcting for it is a single division, and the purity correction calculator performs that step on its own.

Purity and unit price interact in a direction that surprises people: impure material looks cheaper per milligram on gross mass and then costs more per milligram of the substance actually of interest. That is why two containers at visibly different prices can have identical cost per milligram of active substance, and why a more precisely specified material can appear to be the more expensive one. Where no purity figure is available the honest move is to leave the correction out and record that the result is a gross mass figure, rather than to assume a purity. The recovery percent calculator runs the same reasoning in the opposite direction.

What the unit price leaves out of the total

Cost per milligram prices the material and nothing else. Shipping, diluent, syringes, filters, time and the portion of a container that goes unused are all excluded, and on a small order they can rival the vial price. A material with the best unit price is therefore not automatically the cheapest route to a given amount of peptide. The batch cost calculator exists to hold the list of everything that is not the substance, precisely so that the unit price reads as one component of a total rather than as the total itself.

Unused material changes the arithmetic in a specific and quantifiable way. If a container is opened and only part of its contents is used, the price paid covers the whole labelled mass while the amount actually used is smaller, so the effective cost per milligram used is the label figure divided by the smaller number. How much larger that is depends entirely on the fraction consumed, which turns it into an input rather than an opinion. The cost per sample calculator carries the same idea up one level, dividing a whole batch by the number of samples it yields, which is the form that survives an uneven split.

Building the other cost figures from the unit price

Once a cost per milligram exists, every other cost figure on the site is one multiplication or division away. The cost of a given amount is the unit price times that amount. The cost of a whole vial is the unit price times the labelled mass. The cost per micromole needs the mass expressed as a particle count first, which is what the cost per micromole calculator does. Working from the unit price rather than from raw prices keeps all of these figures mutually consistent, which is the real reason to compute it once.

Two identities are worth checking, because both are exact and both catch transcription errors. Multiply a cost per milligram by the total mass and the original price comes back. Multiply a cost per micromole by the total micromoles and the original price comes back as well. When either fails, the fault is in an input rather than in the arithmetic, and finding that out before a purchase is far cheaper than finding it out afterwards. The cost calculator starts from a single vial and reports the cost of an amount drawn from it, which is an independent route to the same arithmetic.

How this calculator works

Divide the price by the mass. That is the whole calculation, and the result is in currency per milligram.

The useful property is that cost per milligram is independent of how much you actually buy or use. A bulk purchase and a single vial at the same unit price have the same cost per milligram, so the figure reflects the material rather than the transaction.

The formulas

  • cost per mg = price / mass in mg

    The comparison unit. Independent of quantity purchased.

Worked example

Unit price of a 5 mg vial

Illustrative example. The numbers are chosen to make the arithmetic easy to check. They are not a dose, a protocol or a recommendation.

Given

Price
60
Mass
5 mg
  1. Divide
    Substitution
    60 / 5
    Result
    12 per mg

What this shows

Twelve per milligram. Every cost figure on this site can be traced back to this one number, because the cost of a dose is simply the cost per milligram multiplied by the milligrams in the dose. The price comparison this enables is between materials, not between sellers.

Understanding the inputs

Price paid
The total price paid or quoted, for the whole quantity.
Watch for: Entering the price per milligram instead of the total, which is circular and produces a wrong answer with total confidence.
Mass (mg)
The net mass of active substance, in milligrams.
Watch for: Use the labelled mass, not the gross vial weight, and apply the purity correction first if you have a certificate of analysis figure. Cost per milligram of impure material is lower than cost per milligram of active substance, and the difference is exactly the purity fraction.

Understanding the results

Cost per mg
The unit price in currency per milligram of active substance.

Units explained

Cost per mg
The comparison unit. Multiply by a dose in milligrams to get the cost of that dose.
Gross versus net mass
Gross includes impurities and packaging; net is the active substance alone. Cost comparisons must use net, or they flatter impure material.

Common mistakes

  • Comparing on vial price rather than cost per milligram. A 10 mg vial at 120 and a 5 mg vial at 60 are the same unit price, while a 10 mg vial at 100 is genuinely cheaper per milligram.
  • Using gross mass rather than purity corrected mass.
  • Ignoring that shipping, duties, needles, diluent and wastage are not in the vial price, and can be a large share of the real cost.
  • Reading a low cost per milligram as good value. A cheaper material is not a better material.

Important limitations

  • It compares the material only. Total cost of ownership includes shipping, storage, wastage, the diluent, the syringe and the time.
  • No adjustment for purity, stability, storage requirements or storage temperature.
  • No currency conversion. The result is in whatever currency the price was entered in.

Frequently asked questions

What does the cost per mg calculator compute?

It divides a total price by a total mass to give a cost per milligram: cost per mg = price / mass (mg).

How do I use the cost per mg calculator?

Enter the price you paid and the total mass in mg that price covers. The calculator returns the cost per mg.

When is the cost per mg calculator useful?

For comparing the price efficiency of different vial sizes or suppliers on a like-for-like, per-milligram basis, regardless of how the listed price and vial size differ between options.

What units does the cost per mg calculator use?

Price in whatever currency you paid in, the calculator is currency agnostic, mass in mg, result as cost per mg in that same currency.

What happens with a mass of zero on the cost per mg calculator?

It is rejected as invalid; mass must be a positive number since it is the denominator of the calculation.

How is the cost per mg calculator different from the cost per umol calculator?

This calculator expresses cost per unit mass; the cost per umol calculator additionally uses the compound’s molar mass to express cost per unit of molar amount instead, a fairer basis for comparing two different compounds against each other.

Can price be zero on the cost per mg calculator?

Yes, a price of zero is accepted, for example a free sample, returning a cost per mg of zero; only a negative price is rejected.

Is the cost per mg calculator free?

Yes. The cost per mg calculator runs entirely in your browser.