ThisCalculator

Physics

Diesel Density Calculator: Formula & Examples

Updated · Standard formula, shown below

Density 850.00 kg/m³
API gravity
34.97 °API
Result
Specific gravity
0.850
Result
Mass
850 kg
You entered

Diesel Density Calculator: Formula & Examples

This calculator works out the density of diesel fuel from its mass and volume, or converts between density, specific gravity, and API gravity. You enter the mass and volume (or a density value) and get the density in kg/m³, g/cm³, or lb/ft³, plus the corresponding API gravity and specific gravity. The result helps you estimate fuel energy content, check fuel quality, and convert between volume and mass for logistics or combustion calculations.

Formula

Density is mass divided by volume:

� = m / V

  • Ï� (rho) = density, in kilograms per cubic meter (kg/m³) or grams per cubic centimeter (g/cm³)
  • m = mass, in kilograms (kg) or grams (g)
  • V = volume, in cubic meters (m³) or liters (L)

Because 1 m³ = 1000 L, the calculator converts liters to cubic meters by dividing by 1000.

From density you can also get specific gravity (SG) and API gravity, two common fuel industry measures:

  • SG = Ï� / 1000 (since water density is 1000 kg/m³ at 4°C)
  • API = (141.5 / SG) − 131.5

Worked Example

Using the default inputs: mass = 850 kg, volume = 1000 L.

  1. Convert volume to cubic meters: 1000 L ÷ 1000 = 1.0 m³
  2. Density = 850 kg / 1.0 m³ = 850 kg/m³
  3. Specific gravity = 850 / 1000 = 0.850
  4. API gravity = (141.5 / 0.850) − 131.5 = 166.47 − 131.5 = 34.97 °API

The calculator shows 850.00 kg/m³, 34.97 °API, and 0.850 SG — matching the steps above.

Why Diesel Density Matters

Diesel density is not a fixed number; it varies with temperature, crude source, refining process, and additives. Typical automotive diesel has a density between 820 and 860 kg/m³ at 15°C (59°F). Heating oil and some biodiesel blends can be denser, up to 880 kg/m³. Density affects:

  • Energy content: Heavier diesel contains slightly more energy per liter, so a denser fuel can give better fuel economy (but also more emissions).
  • Fuel quality: Many diesel standards specify a density range; out-of-range density can indicate contamination or blending issues.
  • Volume-to-mass conversion: When buying or selling fuel, contracts often use mass (kg or tonnes) rather than volume, so density is needed to convert.
  • Engine tuning: Fuel injection systems meter by volume, so a change in density alters the mass of fuel injected per stroke.

How to Use the Calculator

Enter any two of the three quantities (mass, volume, density) and the calculator will compute the third. The calculator also shows API gravity and specific gravity, which are alternative density scales used in the petroleum industry.

For a single fuel sample, you might measure mass on a scale and volume with a graduated cylinder. For a fuel tank, you can use the tank’s volume and the fuel’s known density to estimate the mass of fuel onboard.

Common Mistakes and Unit Mix-Ups

The most frequent error is mixing units: using liters for volume and kilograms for mass without converting to m³. Remember:

  • 1 m³ = 1000 L
  • 1 g/cm³ = 1000 kg/m³
  • 1 kg/L = 1000 kg/m³

Another mistake is ignoring temperature. Diesel expands when warm, so its density decreases. A fuel that measures 850 kg/m³ at 15°C might measure 840 kg/m³ at 30°C. Always note the temperature when you measure density.

Rounding too early can also cause small errors, especially when converting to API gravity. Keep extra digits until the final answer.

Limitations of the Density Formula

The simple � = m/V formula assumes a homogeneous fluid at a uniform temperature. Real diesel can contain water or sediment, which changes the measured density. If you are checking fuel quality, take a clean sample and let it settle before measuring. Also, the formula does not account for pressure; at very high pressures (like in injection systems) density increases slightly, but for normal handling and storage the effect is negligible.

For precise work, use a hydrometer or a digital density meter that reports density at a reference temperature (usually 15°C). The calculator here gives the density at whatever temperature your mass and volume correspond to, so it is up to you to measure at a known temperature.

Frequently Asked Questions

What is the density of diesel in kg/m³?

Typical diesel density ranges from 820 to 860 kg/m³ at 15°C. The exact value depends on the crude source, refining process, and additives. Winter diesel may be slightly lighter, while summer diesel is often denser.

How do I convert diesel volume to mass?

Multiply the volume in liters by the density in kg/L (which is the density in kg/m³ divided by 1000). For example, 1000 L of diesel with density 850 kg/m³ has a mass of 1000 × 0.850 = 850 kg.

What is API gravity and why is it used?

API gravity is a scale from the American Petroleum Institute that expresses how heavy or light a petroleum liquid is relative to water. Higher API means lighter (less dense) fuel. It is commonly used in the oil industry to classify crude oils and fuels. Diesel typically has an API gravity between 30 and 40.

Does diesel density change with temperature?

Yes. Like most liquids, diesel expands when heated, so its density decreases. A typical change is about 0.7 kg/m³ per °C. That is why fuel density is always reported at a reference temperature, usually 15°C.

Can I use this calculator for biodiesel?

Yes, the formula works for any liquid. Biodiesel (B100) is usually denser than petroleum diesel, around 880 kg/m³. Blends like B20 (20% biodiesel) will have a density between the two. Just enter the mass and volume of your sample.

Why does my diesel density seem too high or too low?

If your measured density is far outside 820–880 kg/m³, check for water contamination (water is 1000 kg/m³), air bubbles, or a wrong unit conversion. Also make sure you measured at a known temperature and that your volume measurement is accurate.

Related

Formula used
in mass | Mass | kg | 850 | 0
in vol | Volume | L | 1000 | 0
out dens | Density | kg/m³ | (mass / (vol / 1000)) | 2
out api | API gravity | °API | (141.5 / ((mass / (vol / 1000)) / 1000) - 131.5) | 2
out sg | Specific gravity | - | (mass / (vol / 1000)) / 1000 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.