A conversion that changes the label and not the number
Most unit conversions change the number you read. This one does not. A density of 1.84 kg/L is 1.84 g/mL, and the same holds for any value. The reason is the way both units are built: the kilogram is 1,000 grams and the liter is 1,000 milliliters, so the factor of 1,000 in the numerator and the factor of 1,000 in the denominator cancel. A converter with a multiplier of exactly 1 might look redundant, but it answers a question people do ask, which is whether the figures from a chemistry data sheet in g/mL can be entered directly into a calculation that expects kg/L. They can, and this page documents why. It also gives you a way to catch errors, since a result that differs from the input by a factor of 1,000 means one of the units was chosen wrongly, usually g/L or kg/m³ instead of the intended pair.
Why the factors cancel
Write the unit conversion out in full. One kg/L equals 1,000 g per 1,000 mL, and dividing both numerator and denominator by 1,000 leaves 1 g/mL. Behind the milliliter is a precise definition. Since 1964 the liter has been exactly one cubic decimeter, and one milliliter is exactly one cubic centimeter. Before that, the liter was defined as the volume of one kilogram of water at its maximum density, which made it about 1.000028 cubic decimeters, a difference that mattered in precise work and is the reason older tables sometimes show a slightly different milliliter. In modern usage the two are the same, and NIST treats the liter as an accepted unit for use with the SI. Because the definition is exact, the factor is exactly 1. The conversion adds no uncertainty, and the result is limited by the precision of the value you enter.
The default example
The default input is 10 kg/L, and the result is 10 g/mL. A density that high is unusual. It lies above silver, which is about 10.5 g/mL, and well above any ordinary liquid, so the default serves as a demonstration of the number staying the same. A more realistic example is concentrated sulfuric acid, about 1.84 kg/L, which is 1.84 g/mL. Olive oil is about 0.91, which floats on water, and seawater about 1.025, which sinks below fresh water when the two meet. Honey is near 1.42 kg/L, one of the denser food liquids. All of these are typical handbook values at room temperature and vary a little with temperature and composition. Entering any of them in the converter returns the identical number, which is the check you can run to confirm the page behaves as expected.
Where each unit is preferred
Kilograms per liter is the practical unit in trades that buy and sell liquids by volume and weigh them by mass, such as fuels, paints, concentrates and bulk chemicals. A delivery note might give a tank as 20,000 L and a product density of 0.84 kg/L, which yields a cargo mass of 16,800 kg. Grams per milliliter belongs to the laboratory, where pipettes dispense milliliters and a balance reads grams. Safety data sheets often give a density in g/mL or g/cm³ and a supplier brochure gives kg/L for the same product. The two units overlap constantly, which is why one ends up copying a number from one document into a calculation built around the other. Seeing that the numbers match removes a source of hesitation, and it lets you move values between documents without recalculating.
Using the number for mass and volume
Once the density is in either unit, you can convert between mass and volume. Mass in kilograms equals density in kg/L times volume in liters, and mass in grams equals density in g/mL times volume in milliliters. A 250 mL sample of milk at 1.03 g/mL has a mass of 257.5 g. A 5 L container of olive oil at 0.91 kg/L holds 4.55 kg. Going back from mass to volume divides by density. If a recipe asks for 500 g of honey at 1.42 g/mL, the volume is about 352 mL. These examples use typical, not measured, densities, so a real product can differ by a few percent. The practical point is that you may use whichever unit matches your measuring tools, and the numerical density stays constant across them.
Concentration versus density
The same units appear in concentration, and the distinction matters. A solution at 1.2 kg/L is a density statement about the whole liquid. A solution containing 0.3 kg of solute per liter is a mass concentration of the solute, and that one also converts to 0.3 g/mL by the same factor of 1. The unit alone does not tell you which quantity you have, so read the label. Density tells you how heavy a liter of the whole solution is, and concentration tells you how much of one component is in it. Confusing them leads to errors such as treating a 0.3 kg/L concentration as the solution density, which would suggest a liquid lighter than water by far. The conversion works identically in both cases, but the interpretation does not.
Temperature and reference conditions
A density in kg/L is tied to a temperature, and sometimes to a pressure. Water is 0.9982 kg/L at 20 °C and 0.9997 at 4 °C. Petroleum fuels move more. Using an illustrative expansion coefficient of about 0.0012 per °C for gasoline, a batch that is 0.740 kg/L at 15 °C would be about 0.722 kg/L at 35 °C, because 20 degrees at 0.0012 is 2.4 percent and 0.740 times 0.976 is 0.722. That drift is why fuel is often sold by volume at a reference temperature. Because the converter does not alter the number, any temperature dependence passes straight through. If you need the density at a different temperature than the source gave, find a table or a measurement at the right temperature before entering the value, and do not expect the unit conversion to account for it. For precise work, record the temperature next to the density.
Fuel, oil and delivery documents
Delivery documents for fuel and industrial liquids often list volume in liters, density in kg/L and mass in kilograms. A tanker unloading 30,000 L of diesel at 0.84 kg/L carries 25,200 kg, and the same density read as 0.84 g/mL gives the same product when a laboratory certificate quotes it that way. Density also changes with temperature, which is why trade in fuel uses volumes corrected to 15 °C in many places. The figures are illustrative, since actual diesel density falls in a range that depends on grade and season. When a certificate and a delivery note appear to disagree, check first whether one uses kg/L and the other kg/m³, a 1,000-fold difference that is easy to see, and then check the reference temperature, which causes smaller differences of up to a percent.
Checking a recipe or formulation
Food and cosmetics formulation uses density to switch between measuring by volume and by weight. A recipe that calls for 250 mL of cream at 1.01 g/mL needs 252.5 g, and 100 mL of glycerin at 1.26 kg/L weighs 126 g. Because the two units share a number, a formulator can read a supplier's kg/L specification directly as g/mL when scaling a recipe on a laboratory balance. Production batches weigh in kilograms and measure by volume in liters, so the same density figure serves both. Small errors accumulate in large batches. A density that is off by 2 percent on a 1,000 L batch shifts the mass by about 20 kg, which can matter for labeling and yield. Verify the density for each lot when the product is sensitive to it.
Doing the check by hand
Because the factor is 1, the check is trivial, and it is worth building the habit. Read the unit on the figure, confirm it is kg/L or g/mL, and carry the number over. The risk lies in nearby units that look similar. A value of 1,030 on a label means kg/m³, and the matching figure in kg/L is 1.03. A value labeled g/L of 1.03 is a gas-scale density that would be 0.00103 g/mL. Whenever a copied number comes out 1,000 times too large or too small, a unit has slipped. The converter lets you select the exact unit pair and see the identical number, which confirms you have the units you think you have. Taking that step once per document is cheap compared with correcting a batch made to the wrong density.
What this converter does and does not do
The page changes the unit and keeps the number, within normal numerical rounding. It does not convert between mass density and number density, calculate buoyancy, or estimate the density of a mixture from its components. It does not know your material, so a value of 1.84 is just a number to it. The result is only as good as the density figure you supply and the temperature it refers to. For a mixture, density cannot generally be found by averaging component densities without allowing for volume change on mixing, which can be a few percent for alcohol and water. Use measured or tabulated data for the actual solution, and use this page for the unit step only.