密度计算器
解决密度、质量或体积,有单位选择和材料表格。
输入结果时更新 。
关于此计算器
Density measures how much mass is packed into a given volume: ρ = m / V. Rearranged, the mass of an object is m = ρ × V and the volume it occupies is V = m / ρ. This calculator lets you solve for any one of the three, entering the other two in whatever units you have — grams, kilograms, pounds and ounces for mass, and cm³/mL, litres or m³ for volume — and returns the density in both g/cm³ and the SI unit kg/m³ (1 g/cm³ = 1,000 kg/m³).
As a worked example, a 100 g object occupying 50 cm³ has a density of 100 / 50 = 2 g/cm³ (2,000 kg/m³) — a bit less dense than aluminium. Because pure water is very close to 1 g/cm³, the calculator also tells you whether a material floats: anything below about 1 g/cm³ floats, anything above sinks, and something right at 1 g/cm³ is neutrally buoyant. A built-in table lists common densities for comparison — ice 0.92, oak 0.75, water 1.00, aluminium 2.70, iron 7.87, lead 11.34 and gold 19.32 g/cm³.
Density is used to identify materials, check the purity of metals and gemstones, work out whether an object will float or sink, convert between the mass and volume of fuels and liquids, and calculate the load a structure or vessel must carry. Because it is an intensive property — independent of the amount of material — a small sample gives the same density as a large one, which is what makes it such a reliable fingerprint for a substance.
经常问到的问题
密度公式是什么?
密度等于质量除以体积, =m / V. 重新排列, 重量= × V 和体积= m / ff。
使用什么单位?
默认情况下,克和立方厘米(1厘米3=1毫升)的密度为g/立方厘米。 纯水约为1克/立方厘米,其密度大于1,且浮在以下。
物质会浮在水中还是沉在水中?
Compare its density to water’s ≈ 1 g/cm³. Below that it floats (ice at 0.92, oak at 0.75), at it is neutrally buoyant, and above it sinks (aluminium 2.70, iron 7.87). The calculator states which case applies.
我如何将 g/cm3 转换为kg/m3?
乘以 1 000:1克/立方厘米等于 1 000 公斤/立方米。 该工具显示两种情况, 所以2克/立方厘米的材料也显示为 2 000 公斤/立方米。
我如何找到质量或体积 而不是密度?
Switch "solve for" to mass or volume. Mass is ρ × V and volume is m / ρ, so a material of 2 g/cm³ filling 50 cm³ has a mass of 100 g.
密度随温度变化吗?
稍微地说,是的。大部分材料在加热时会膨胀,因此随着温度上升,其密度会下降一点。水是不寻常的,在大约4°C时密度最稠密,这就是冰层和湖泊从上到下冷的原因。
API - 使用代码中的计算器
将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →
终点
GET https://calculator.free/api/v1/density/
curl
curl "https://calculator.free/api/v1/density/?solve=density&mass=100&volume=50&density=2"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/density/?" + new URLSearchParams({
"solve": "density",
"mass": "100",
"volume": "50",
"density": "2"
}));
const data = await r.json();
console.log(data.results);
成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。