# Grams per milliliter to Kilograms per cubic meter (g/mL to kg/m³)

> Convert grams per milliliter to kilograms per cubic meter: 1 g/mL = 1000 kg/m³. Exact conversion factor, formula, 22-row table and worked examples, with JSON API and MCP access.

- Page id: `g-per-ml-to-kg-per-m3` · Quantity: Density (`density`, base unit kg/m3) · Tool: `convert_units`
- Canonical page: https://tttkmbb.com/conversion/g-per-ml-to-kg-per-m3 · This document: https://tttkmbb.com/conversion/g-per-ml-to-kg-per-m3.md · JSON: https://tttkmbb.com/conversion/g-per-ml-to-kg-per-m3.json (add `?value=` for a result)

## Formula

- `1 g/mL = 1000 kg/m³`
- `kilograms per cubic meter = grams per milliliter × 1000`
- Reverse: `grams per milliliter = kilograms per cubic meter × 0.001`

The factor follows from the SI definitions of both units (NIST SP 811); values below are rounded to 6 significant figures, the API returns up to 12.

## Worked examples

- 5 g/mL = 5000 kg/m³
- 12.5 g/mL = 12500 kg/m³
- 100 g/mL = 100000 kg/m³

## Conversion table

| Grams per milliliter (g/mL) | Kilograms per cubic meter (kg/m³) |
| --- | --- |
| 1 | 1000 |
| 2 | 2000 |
| 3 | 3000 |
| 4 | 4000 |
| 5 | 5000 |
| 6 | 6000 |
| 7 | 7000 |
| 8 | 8000 |
| 9 | 9000 |
| 10 | 10000 |
| 15 | 15000 |
| 20 | 20000 |
| 25 | 25000 |
| 30 | 30000 |
| 40 | 40000 |
| 50 | 50000 |
| 75 | 75000 |
| 100 | 100000 |
| 200 | 200000 |
| 250 | 250000 |
| 500 | 500000 |
| 1000 | 1000000 |

## API

- `GET https://tttkmbb.com/api/v1/convert?value=5&from_unit=g%2FmL&to_unit=kg%2Fm3` → unified JSON envelope with `result.values.result`, `formula`, `factor`, `sources`, `freshness`
- MCP: server `https://tttkmbb.com/mcp`, tool `convert_units` with `{"value":5,"from_unit":"g/mL","to_unit":"kg/m3"}`
- All density units: https://tttkmbb.com/api/v1/units?quantity=density · full converter: [Density Converter](https://tttkmbb.com/conversion/density.md)
- Authentication: none. Freshness: `static` (fixed conversion factors).

## FAQ

**How many kilograms per cubic meter are in one gram per milliliter?**

1 g/mL = 1000 kg/m³. The factor comes from the SI definitions of both units (NIST SP 811 / BIPM), so it is exact or correct to at least 10 significant figures.

**What is the formula to convert grams per milliliter to kilograms per cubic meter?**

Multiply the value in grams per milliliter by 1000: kilograms per cubic meter = grams per milliliter × 1000. For example, 5 g/mL = 5000 kg/m³.

**How do I convert kilograms per cubic meter back to grams per milliliter?**

Multiply by the inverse factor 0.001 (grams per milliliter = kilograms per cubic meter × 0.001), or use the kilograms per cubic meter-to-grams per milliliter page.

## Related conversions

- [Kilograms per cubic meter to grams per milliliter](https://tttkmbb.com/conversion/kg-per-m3-to-g-per-ml.md) (reverse)
- [Kilograms per cubic meter to Grams per cubic centimeter](https://tttkmbb.com/conversion/kg-per-m3-to-g-per-cm3.md)
- [Grams per cubic centimeter to Kilograms per cubic meter](https://tttkmbb.com/conversion/g-per-cm3-to-kg-per-m3.md)
- [Kilograms per cubic meter to Pounds per cubic foot](https://tttkmbb.com/conversion/kg-per-m3-to-lb-per-ft3.md)
- [Pounds per cubic foot to Kilograms per cubic meter](https://tttkmbb.com/conversion/lb-per-ft3-to-kg-per-m3.md)
- [Pounds per US gallon to Kilograms per liter](https://tttkmbb.com/conversion/lb-per-gallon-to-kg-per-liter.md)
- [Kilograms per liter to Pounds per US gallon](https://tttkmbb.com/conversion/kg-per-liter-to-lb-per-gallon.md)
- [Grams per cubic centimeter to Pounds per cubic inch](https://tttkmbb.com/conversion/g-per-cm3-to-lb-per-in3.md)
- [Pounds per cubic inch to Grams per cubic centimeter](https://tttkmbb.com/conversion/lb-per-in3-to-g-per-cm3.md)

## Data Sources

- NIST Special Publication 811 – Guide for the Use of the International System of Units (SI), Appendix B conversion factors — https://www.nist.gov/pml/special-publication-811 (standard, retrieved 2026-09-24)
- BIPM – The International System of Units (SI Brochure, 9th edition) — https://www.bipm.org/en/publications/si-brochure (standard, retrieved 2026-09-24)
- Wikipedia – Conversion of units — https://en.wikipedia.org/wiki/Conversion_of_units (reference, retrieved 2026-09-24)
