Grams Cc Calculator

How many cc is your mass — or how many grams fills your volume?

Enter a mass in grams and the material density to get volume in cubic centimeters, or flip it — enter volume in cc and density to get mass in grams. Works for any liquid, solid, or powder with a known density.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine filling a box with marbles versus foam balls of the same size. The marbles weigh far more for the same volume. That ratio — weight per unit volume — is density, and it is the only number needed to move between mass and volume in either direction.

The relationship is a single equation: mass equals volume multiplied by density. Rearrange it and you get volume equals mass divided by density. That is the entire calculation. What makes this useful in practice is that density is a fixed property of a material at standard conditions — so once you know it, you can convert freely without a scale or a measuring cup.

One cubic centimeter of volume is defined to equal one milliliter, which is why grams and cc have a particularly clean relationship. For water specifically, 1g = 1cc = 1ml — a coincidence baked into the original metric system definition. For everything else, the density correction is the only step.

When To Use This
Right tool, right situation

Use this calculator when you have a mass reading from a scale and need to know the volume the material occupies — for filling containers, checking mold sizes, or computing shipping dimensions. Also use it when you have a volumetric measurement and need mass for dosing, formulation, or purchasing raw materials by weight.

It is appropriate for single-phase homogeneous materials with a known or measurable density: metals, pure liquids, dry powders with a known bulk density, and plastics. It applies directly to any situation where density is stable — laboratory reagents, machined metal parts, food ingredients.

Do not use this calculator for gases without explicit gas-law corrections — gas density changes dramatically with temperature and pressure. Do not use it for porous materials like soil or foam where bulk density and true material density diverge. And do not rely on it for mixtures where component densities differ significantly — the result will be wrong without a blended effective density.

Common Mistakes
Why results sometimes look wrong

The most common mistake is using density in the wrong units. Many reference sources list density in kg per cubic meter rather than g per cc. A density of 1,000 kg/m3 is the same as 1.0 g/cc — but entering 1,000 into this calculator gives a result 1,000 times too large. Always verify units before entering.

The second mistake is assuming water density applies to all liquids. Honey, alcohol, oils, and saltwater all have distinct densities. Substituting 1.0 g/cc for olive oil (0.91 g/cc) produces a volume error of about 9% — unacceptable in formulation, dispensing, or casting work.

The third mistake is ignoring temperature. Density is temperature-dependent. Water at 4 degrees C is 1.0000 g/cc; at 80 degrees C it is 0.9718 g/cc. For most everyday uses the difference is negligible, but in precision analytical or pharmaceutical contexts, use the density value at the actual working temperature.

The Math
Worked examples and deeper derivation

The core formula is: mass (g) = volume (cc) x density (g/cc). Rearranged: volume (cc) = mass (g) / density (g/cc).

Density carries units of grams per cubic centimeter. When you multiply cc by g/cc, the cc units cancel and you get grams. When you divide grams by g/cc, the grams in numerator and denominator cancel and you get cc. Unit analysis alone tells you whether you have the formula the right way around.

For blended materials or mixtures, no single density applies. You need an effective density, which is calculated as total mass divided by total volume of the blend. This calculator assumes a single homogeneous density — if you are working with a composite, calculate each component separately and sum the results.

Measuring out cooking oil by weight
200 grams of olive oil, density 0.91 g/cc, solving for volume
200 / 0.91 = 219.78 cc. A kitchen scale shows 200g but your measuring cup needs 220ml — these are not the same number because olive oil is lighter than water. This catches a common recipe error when substituting weight for volume measurements.
Casting a metal part and checking if it fits a mold
380 cc mold volume, copper density 8.96 g/cc, solving for mass
380 x 8.96 = 3,404.8 grams — about 3.4 kg of copper. A machinist uses this before ordering raw stock to confirm the billet weight needed, and to check whether the final part meets a weight specification without actually casting it first.
Pharmacist verifying a liquid medicine fill volume
15 grams of an oral suspension, density 1.22 g/cc, solving for volume
15 / 1.22 = 12.3 cc. A 12.3 ml fill in a 15 ml bottle is correct — the headspace is expected. If the result came back at 15 cc, the bottle would overflow. Density-based volume checks prevent compounding errors when preparing liquid dosage forms.
Expert Unlock
The thing most explanations skip

The formula assumes density is perfectly uniform and constant, which fails at two edges: very fine powders and saturated solutions. Bulk density of a powder depends on how tightly packed it is — the same 100g of flour might occupy 160cc loosely poured or 130cc tapped. For powder work, specify whether you are using loose, tapped, or true particle density. For solutions near saturation, density increases non-linearly with solute concentration, so a fixed g/cc value introduces compounding error at high concentrations.

Why does 1 gram not always equal 1 cc?

How many cc is 1 gram?
1 gram equals 1 cc only for water at standard conditions, where density is exactly 1.0 g/cc. For any other material, divide the mass in grams by the density in g/cc to get the volume in cubic centimeters. Gold at 19.3 g/cc means 1 gram occupies just 0.052 cc — a tiny speck.
Is cc the same as ml?
Yes — 1 cubic centimeter (cc) and 1 milliliter (ml) are exactly the same volume. The terms are interchangeable in medicine, cooking, and chemistry. You can use this calculator for milliliters directly without any conversion.
How do I find the density of a material I do not recognise?
Check the material safety data sheet (MSDS or SDS) for any chemical or industrial substance — density is always listed there. For common substances, a published density table works well. If you have a sample of unknown material, weigh it on a scale and measure its volume by water displacement, then divide mass by volume to get g/cc.

Need something this doesn't cover?

Suggest a tool — we'll build it →