Volume to Density Calculator
Volume & Density Calculation Results
What Is a Volume to Density Calculator?
A volume to density calculator determines a material’s mass density by dividing its mass by its volume. This calculator also works in reverse, multiplying volume by an entered density to estimate mass. It converts measurements into standard units and displays density in both metric and U.S. customary units.
Density describes how much mass is contained in a given volume. A material with greater density contains more mass per unit of volume than a less dense material.
Density is commonly expressed in kilograms per cubic meter (kg/m³) or grams per cubic centimeter (g/cm³). The calculator uses kg/m³ as its internal standard unit.
Volume alone cannot determine a material’s density. You must also know its mass or provide another measurement that establishes the mass-to-volume relationship. In this calculator, density mode requires both volume and mass.
How the Volume to Density Formula Works
The calculator uses the standard mass-density relationship. It first converts the entered measurements into kilograms and cubic meters, then applies the appropriate formula for the selected calculation mode.
1. Density Formula from Mass and Volume
When calculating density, the calculator divides mass by volume.
Where:
- ρ (rho) = Mass density in kilograms per cubic meter (kg/m³).
- m = Mass in kilograms (kg).
- V = Volume in cubic meters (m³).
For example, a sample with a mass of 2 kg and a volume of 0.001 m³ has a density of 2,000 kg/m³.
The calculator accepts mass in several units and converts it into kilograms before dividing by volume.
2. Calculate Mass from Volume and Density
The second calculation mode rearranges the density formula to solve for mass.
In this mode, you enter the material density and the volume of the object or sample. The calculator multiplies the two values after converting them into compatible units.
The primary result is displayed in kilograms and pounds. This is a calculated mass based on the entered density, not a measured value.
3. Volume and Mass Unit Conversions
The calculator converts volume to cubic meters and mass to kilograms using the selected unit factors.
Here, f_V and f_m are the conversion factors associated with the selected volume and mass units.
The calculator supports the following volume units:
| Volume Unit | Conversion to m³ |
|---|---|
| Cubic centimeters (cm³ or mL) | Multiply by 0.000001 |
| Liters (L) | Multiply by 0.001 |
| Cubic meters (m³) | Multiply by 1 |
| Cubic inches (in³) | Multiply by 0.000016387064 |
| Cubic feet (ft³) | Multiply by 0.028316846592 |
| US gallons (gal) | Multiply by 0.003785411784 |
For mass, the available units are grams, kilograms, metric tonnes, pounds, and ounces. The calculator uses 0.001 kg per gram, 1,000 kg per metric tonne, 0.45359237 kg per pound, and 0.028349523125 kg per ounce.
4. Density Unit Conversion Formulas
Once density is calculated in kg/m³, the calculator converts it into additional metric and imperial units.
The calculator treats g/cm³, g/mL, and kg/L as numerically equivalent density units.
When entering density in mass calculation mode, you can select kg/m³, g/cm³, lb/ft³, lb/in³, or lb/US gal. The calculator converts the entered density into kg/m³ before calculating mass.
5. Specific Gravity Formula
The calculator also determines specific gravity by comparing the calculated material density with a fixed reference water density of 1,000 kg/m³.
Specific gravity has no units because it is a ratio of two densities expressed in the same units.
A specific gravity greater than 1 means the material is denser than the calculator’s reference water value. A specific gravity below 1 means it is less dense.
The reference density is fixed. The calculator does not adjust water density for temperature, pressure, or other conditions.
Worked Example: Calculate Density from Volume and Mass
Consider the calculator’s default Steel Block Sample preset.
| Input | Value |
|---|---|
| Calculation Mode | Density from Volume and Mass |
| Volume | 250 cm³ |
| Mass | 1,962.5 g |
Step 1: Convert volume to cubic meters.
Step 2: Convert mass to kilograms.
Step 3: Calculate density.
The calculator displays the primary result as 7,850 kg/m³.
Step 4: Convert the density into other units.
The calculator displays the following density conversions:
| Density Unit | Displayed Result |
|---|---|
| kg/m³ | 7850.00 kg/m³ |
| g/cm³ (g/mL or kg/L) | 7.8500 g/cm³ |
| lb/ft³ | 490.06 lb/ft³ |
| lb/in³ | 0.28360 lb/in³ |
| lb/US gal | 65.51 lb/US gal |
Step 5: Calculate specific gravity.
The displayed specific gravity is 7.8500. The calculator labels this sample as denser than its water reference.
The normalized mass is 1.9625 kg, and the normalized volume is 0.00025 m³, or 0.2500 L. These values are calculated from the example inputs and are not measurements of every steel product.
Example: Calculate Mass from Volume and Density
The calculator also includes an Aluminum Part Weight preset. It uses a volume of 500 cm³ and an entered material density of 2,700 kg/m³.
First, convert volume into cubic meters.
Then multiply by the entered density.
The calculator displays an expected mass of 1.35 kg (2.98 lb).
It also calculates a specific gravity of 2.7000 using its fixed water-density reference. This result assumes the entered volume and density accurately represent the material sample.
How to Use the Volume to Density Calculator
Follow these steps to calculate density or expected mass using the measurements you have available.
- Select the calculation mode. Choose Density (ρ = m / V) from Volume & Mass or Expected Mass (m = ρ × V) from Volume & Material Density.
- Choose an optional preset. Select Steel Block Sample, 1 Liter of Pure Water, Aluminum Part Weight, or Concrete Pour Mass to load example inputs.
- Enter volume. Provide a positive volume value for the sample or object.
- Select the volume unit. Choose cm³/mL, liters, cubic meters, cubic inches, cubic feet, or US gallons.
- Enter mass when solving for density. Provide the measured mass and choose grams, kilograms, metric tonnes, pounds, or ounces.
- Enter material density when solving for mass. Provide a positive density value and choose kg/m³, g/cm³, lb/ft³, lb/in³, or lb/US gal.
- Click Calculate. Review the main density or mass result, the unit conversions, specific gravity, normalized measurements, and material summary.
- Click Reset if needed. The calculator restores the default Steel Block Sample preset and returns to density calculation mode.
In density mode, the main result is shown in kg/m³. In mass mode, the main result is shown in kilograms and pounds. The supporting results include density in additional units regardless of which calculation mode is selected.
Understanding Your Density and Mass Results
Density Versus Mass
Mass measures how much matter an object contains. Density describes mass per unit of volume.
Two objects made from the same uniform material can have different masses if their volumes differ. However, their calculated densities will match when their mass-to-volume ratios are equal.
In mass calculation mode, the result is an estimated mass based on the entered density. Although some preset names refer to weight, the calculator does not calculate gravitational weight in newtons or pounds-force.
Specific Gravity and Water Comparison
The calculator compares the material density with a water reference of 1,000 kg/m³. It displays specific gravity to four decimal places.
Its text result classifies materials as less dense than water, denser than water, or matching the reference density. The accompanying floating or sinking description is conditional on a solid or immiscible material.
This comparison is simplified. Whether a real object floats depends on its overall density, including any enclosed air or hollow spaces, and the surrounding fluid. The calculator does not separately model object shape or buoyant force.
Normalized Mass and Volume
The calculator displays mass in kilograms and grams, along with volume in cubic meters and liters. These normalized measurements help you see the values used in the calculation.
Mass is shown to four decimal places in kilograms and two in grams. Volume is shown in scientific notation to three decimal places in cubic meters and to four decimal places in liters.
Rounding and Display Units
The primary density result is rounded to two decimal places, with unnecessary trailing zeros removed. The primary mass result uses up to four decimal places in kilograms, with pounds displayed to two decimal places.
Supporting density conversions use fixed decimal formatting: two places for kg/m³ and lb/ft³, four for g/cm³, five for lb/in³, and two for lb/US gal.
Rounding changes only how the result is displayed. The calculator uses the unrounded calculated values for its supporting conversions.
Input Requirements and Calculation Limits
Volume must be greater than zero in both calculation modes. The volume input field shows a minimum of 0.000001 in the selected volume unit.
In density mode, mass must be zero or positive. A mass of zero is accepted and produces a calculated density of zero for a positive volume.
In mass mode, the entered material density must be greater than zero. Missing, negative, or otherwise invalid required values trigger an error message rather than a normal calculation result.
Calculation limitation: Density and mass results depend on the accuracy of the entered measurements. Actual material density can vary with composition, porosity, temperature, and other physical conditions. The calculator does not automatically adjust for those factors. Use material-specific measurements or specifications when precision is important.
Frequently Asked Questions
How do you calculate density from volume?
To calculate density, divide mass by volume using the formula ρ = m/V. Both measurements must use compatible units. This calculator converts mass to kilograms and volume to cubic meters before calculating density. Volume alone is not enough because different materials can have different masses for the same volume.
What is the formula for mass density?
The mass density formula is ρ = m/V, where ρ represents density, m represents mass, and V represents volume. In SI units, mass is measured in kilograms, volume in cubic meters, and density in kg/m³. The calculator uses this relationship in its default density mode.
Can you calculate mass if you know volume and density?
Yes. Multiply density by volume using m = ρV. In the calculator, select the expected mass mode, enter volume, and provide material density with its unit. The result is displayed in kilograms and pounds. For example, 0.0005 m³ at 2,700 kg/m³ gives a calculated mass of 1.35 kg.
How do you convert kg/m³ to g/cm³?
Divide the density in kg/m³ by 1,000. For example, 7,850 kg/m³ equals 7.85 g/cm³. The calculator performs this conversion automatically after calculating density. It also displays equivalent numerical values for g/mL and kg/L, along with several U.S. customary density units.
Can I use pounds and cubic feet to calculate density?
Yes. Select pounds as the mass unit and cubic feet as the volume unit. The calculator converts both measurements into SI units before dividing mass by volume. The result includes kg/m³ and lb/ft³, along with g/cm³, lb/in³, and lb/US gal.
What does specific gravity mean?
Specific gravity compares a material’s density with a reference density. This calculator divides material density by 1,000 kg/m³, its fixed reference value for water. A result greater than 1 means the material is denser than that reference, while a result below 1 means it is less dense.
Does density change when the volume changes?
Density does not change simply because you have more or less of the same uniform material. If mass and volume increase in the same proportion, their ratio stays constant. However, changing volume while keeping mass fixed changes the calculated density. The calculator uses whichever mass, volume, or density values you enter.