# Density converter > How dense is that in other units? Convert between kg/m³, g/cm³, kg/L, g/L, lb/ft³, lb/in³, oz/in³ and pounds per gallon. Free density converter: kg/m³, g/cm³, kg/L, g/L, lb/ft³, lb/in³, oz/in³ and pounds per US or UK gallon, with exact definitions from NIST. - Page: https://how.box/density/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/density/?v={v}&from={from}&to={to} - `v` (number 0 to 1e15): The density to convert, in the from unit. Example: `1`. - `from` (kg_m3, g_cm3, kg_l, g_l, lb_ft3, lb_in3, oz_in3, lb_gal_us or lb_gal_imp): Unit of v (unit id: kg_m3, g_cm3, kg_l, g_l, lb_ft3, lb_in3, oz_in3, lb_gal_us, lb_gal_imp). Example: `g_cm3`. - `to` (kg_m3, g_cm3, kg_l, g_l, lb_ft3, lb_in3, oz_in3, lb_gal_us or lb_gal_imp): Unit to convert to (unit id). Example: `kg_m3`. Example answer: https://how.box/density/?v=1&from=g_cm3&to=kg_m3 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `density_convert`: Converts a density between units using exact definitions (1 g/cm³ = 1 kg/L = 1000 kg/m³, 1 g/L = 1 kg/m³, 1 lb/ft³ = 0.45359237 / 0.3048³ kg/m³ ≈ 16.01846, 1 lb/in³ ≈ 27679.90, 1 oz/in³ ≈ 1729.994, 1 lb/gal (US) ≈ 119.8264, 1 lb/gal (UK) ≈ 99.77637 kg/m³; NIST SP 811 B.9). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"density_convert","arguments":{"value":1,"from_unit":"g_cm3","to_unit":"kg_m3"}}}` - GET: https://how.box/mcp/run/density_convert?value=1&from_unit=g_cm3&to_unit=kg_m3 ## How it works Density is mass divided by volume. The SI unit is the kilogram per cubic metre (kg/m³), and every unit here is converted through it. A gram per cubic centimetre is the same as a kilogram per litre, 1,000 kg/m³; a gram per litre is the same as 1 kg/m³. Imperial units follow from the pound (0.45359237 kg) and the foot, inch and gallon. A pound per cubic foot is 0.45359237 ÷ 0.3048³ ≈ 16.018 kg/m³, so water at about 1,000 kg/m³ is about 62.43 lb/ft³. US and UK gallons differ (3.785 L and 4.546 L), so pounds per gallon do too. The definitions come from NIST Special Publication 811 and the UK Weights and Measures Act. The converter converts the number you give it; the density of a real material changes with temperature. ## FAQ **What is the density of water?** About 1,000 kg/m³ (1 g/cm³) near 4 °C, a little less when warmer: about 998 kg/m³ at 20 °C. **Is g/cm³ the same as g/mL?** Yes. A millilitre is a cubic centimetre, so 1 g/cm³ = 1 g/mL = 1 kg/L. **How many lb/gal is 1 kg/L?** About 8.345 lb per US gallon, or about 10.02 lb per UK gallon. **Can I convert density directly to mass?** You also need the volume: mass = density × volume. Use matching units, such as kg/m³ and m³ to get kilograms. **Does converting units change the material’s density?** No. Only the numerical expression changes. Temperature or pressure can change a material’s density, but this converter does not model those changes. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)