Result
Density is given for room temperature and is approximate — the exact value depends on the substance's specific composition and temperature.
This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.
Facts and limits of this method
| Formula | mass (kg) = volume (L) × density (kg/L) |
|---|---|
| Water density | 1.00 kg/L at 4 °C (reference value) |
| Gasoline density | ≈0.74 kg/L (depends on grade and temperature) |
| Honey density | ≈1.42 kg/L — noticeably denser than water |
When it misleads you
- Density depends on temperature (especially for liquids like gasoline and ethanol) and the substance's exact composition — the values shown are reference figures for room temperature and may differ from a specific label or batch.
- Water uses a density of 1.00 kg/L, accurate near 4°C; at room temperature (20°C) the density is slightly lower (≈0.998 kg/L) — negligible for most everyday purposes.
- When "custom density" is selected, it's up to you to enter a correct value — the converter doesn't validate its plausibility.
- Rounding is applied only to the displayed result — internal calculations use the full precision of JavaScript floating-point numbers.
How it is calculated
To convert mass to volume, the entered mass value (in kg) is divided by the substance's density (in kg/L), giving volume in liters.
To convert volume to mass, the entered volume value (in L) is multiplied by the substance's density (in kg/L), giving mass in kilograms.
Density is taken from the built-in reference table for the selected substance, or entered manually when "custom density" is chosen.
The result is rounded to the chosen number of decimal places and updates instantly whenever any parameter changes.
Questions and answers
Why does honey weigh more than water at the same volume?
Because honey's density (≈1.42 kg/L) is noticeably higher than water's (1.00 kg/L) — at the same volume, honey's mass will be about 42% greater.
Can I use the converter for a liquid not in the list?
Yes, select "custom density" and enter the known density value of the substance in kg/L (equivalent to g/mL).
How accurate are the reference density values?
These are typical values at room temperature — for precise technical calculations, use the density stated by the manufacturer for a specific batch or product grade.
Is my data sent anywhere?
No, the whole calculation runs in your browser.