CC to grams converter
250 cc of water weighs 250 grams, because its density is about 1 g/cm³. Enter any volume in cc and the density of the substance to get its mass in grams, with the steps laid out for a worksheet or lab notebook. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Cc
- 250
- Density
- 1
- Result
- 250 g
- Grams
- 250
- Volume unit
- cc
- Density unit
- g/cm³
A cc-to-grams converter turns a volume measured in cubic centimeters into a mass in grams by multiplying by the substance density in grams per cubic centimeter. Cubic centimeters, written cc in clinical, automotive, and laboratory speech, are identical to cubic centimeters as a unit and, for liquids, to millilitres, so one cc of a material whose density is ρ grams per cubic centimeter weighs exactly ρ grams. Water near four degrees Celsius sits close to one gram per cubic centimeter, which is why one cc of water is about one gram; metals such as aluminum or steel weigh more per cubic centimeter, and oils or foams weigh less. Enter a finite non-negative volume in cc and a strictly positive density; the tool returns the mass in grams, echoes both inputs, restates the formula grams equals cc times density, and lists substitution steps you can paste into a worksheet.
Why cubic centimeters become grams only through density
Cubic centimeters and grams sit on opposite sides of the density definition, which is why converting cc to grams is never a single fixed factor the way converting inches to centimetres is. When volume is expressed in cubic centimeters and density in grams per cubic centimeter, the product is already in grams; there is no extra conversion constant, because one cubic centimeter is one cc by definition and one millilitre of a liquid occupies one cubic centimeter.
That convenience is why clinicians still write syringe volumes as cc, why engine displacements are quoted in cubic centimeters, and why a kitchen scale and a measuring cylinder together recover density. Water near four degrees Celsius has a density very close to one gram per cubic centimeter, so one cc of water is about one gram—a useful sanity check, not a universal factor.
Aluminum sits near two point seven zero grams per cubic centimeter, typical carbon steels near seven point eight five, ethanol near zero point seven eight nine, and expanded foams far below one. Entering a density of one for steel would understate the mass by nearly eight times; omitting density altogether would be guessing. Zero cubic centimeters maps cleanly to zero grams.
Practical tips, checks, and related searches
Prefer sending bare numbers when you control the client. Round-trip sanity checks are easy: convert two hundred fifty cubic centimeters of water at density one and confirm you receive two hundred fifty grams, or convert ten cubic centimeters of aluminum at density two point seven and confirm you receive twenty-seven grams. When teaching density, pair those checks with a wrong density of one on a metal sample so students see how badly mass is understated if they treat every substance like water.
Look up a published density for the actual alloy, resin, oil, or foodstuff at the relevant temperature; this tool does not guess a material from a name and does not store a hidden table of household ingredients. Stay inside the absolute range so the multiplication cannot overflow into a non-finite result the solver must reject.
This landing targets people searching for cc to grams, cubic centimeters to grams, or convert cc to grams with density; it is not a general multi-unit mass hub, not a grams-to-cc primary form, not a cooking cups-to-grams table keyed by ingredient name, and not a density-from-mass-and-volume solver. Prefer this capability when the volume is already in cubic centimeters and you already know density in g/cm³; if you must convert among many mass or volume units in one call, use a broader unit converter instead.
Keep requests small, pin the rounded grams in tests, and you get reproducible masses for lab notebooks, print estimators, and edge workers without standing up a materials database of your own.
What you can do with it
Lab, clinic, and pharmacy liquid checks
Turn a measured cc of solution, syrup, or reagent into grams from the published density so labels, logs, and syringe notes agree before the sample is weighed.
Print, casting, and small-part estimates
Convert a part volume in cubic centimeters to grams for resin, metal, or polymer using the material density instead of assuming water-like mass.
FAQ
What formula converts cc to grams?
grams = cc × density, with density in g/cm³. One cc equals one cubic centimeter, so the product is already in grams. There is no extra unit factor.
Why must density be a positive number?
Density is mass per volume. Zero density would claim a finite volume has no mass; a negative density is not physical.
Is one cc of water equal to one gram?
Approximately, yes, because water near 4 °C has a density close to 1 g/cm³.
Is the cc to grams converter free?
The browser tool is free and runs locally.
How do I convert cc to grams for something other than water?
Enter that substance's density instead of 1. Aluminum is about 2.70 g/cm³, typical carbon steel about 7.85 and ethanol about 0.789, so 10 cc of aluminum weighs 27 grams.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/conv/cc-to-grams-converter \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"cc":250,"density":1}'const res = await fetch("https://api.kit.forhosting.com/conv/cc-to-grams-converter", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"cc": 250,
"density": 1
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/conv/cc-to-grams-converter",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"cc": 250,
"density": 1
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/conv/cc-to-grams-converter", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"cc":250,"density":1}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"cc":250,"density":1}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/conv/cc-to-grams-converter", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"cc": 250,
"density": 1
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "conv.cc_to_grams_converter",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
Density that is missing, zero, negative, or not a finite number fails with invalid_input instead of inventing a mass.
Why cubic centimeters become grams only through density
Density is mass per unit volume: ρ equals m divided by V, so rearranging gives m equals ρ times V. This capability therefore always requires a strictly positive density: zero would claim that a finite volume has no mass, and a negative density is not a physical mass per volume.
How to call the API and what comes back
Absolute values must stay within the published limit of one trillion. Do not send unit strings inside the number fields; strip the letters cc or g/cm³ on the client and send the magnitudes only. Send a JSON body with two required finite numbers: cc, the non-negative volume in cubic centimeters, and density, the strictly positive substance density in grams per cubic centimeter. Aliases for volume are cubic_centimeters, volume, cm3, ml, and value, so SDK clients and form posts can use the name that fits the product. Aliases for density are rho, d, density_g_cm3, and g_cm3. On success the response echoes rounded cc and density, sets grams and result to the same rounded mass in grams, unit to the token g, volume_unit to cc, density_unit to g/cm³, formula to the string grams equals cc times density, message to a short English summary, and steps to an ordered array of substitution lines. Failed validation—missing fields, non-finite numbers, bare plus or minus signs, non-numeric strings, a density that is not a positive number, a negative volume, values outside absolute limits, or a non-finite product—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item and zero marginal unit price. Prefer JSON numbers; numeric strings are accepted only when they match a strict finite decimal pattern without thousand separators.
Practical tips, checks, and related searches
Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when learners deliberately omit density or pass a zero density to see the contract.
Integration use cases
Homework and unit-test fixtures
Students and engineers convert classroom cc readings to grams and pin golden JSON so browser and API arithmetic never drift on the density product.
Technical questions
What happens if density is missing or zero?
The API returns invalid_input naming the problem (for example that density must be a positive number). Failed tasks are not charged.