Source This Page
Enter a price per mass or a price per volume plus density to convert to the other value.
Common Mistakes Quick tips
- Entering values in both price fields. Fill exactly one: either price per mass or price per volume.
- Using the wrong density units (e.g., entering g/L but leaving the unit set to g/mL).
- Assuming density = 1 g/mL for all liquids. Many liquids (oils, alcohols, fuels) differ significantly.
- Mixing mass and volume units unintentionally (e.g., targeting $/L but leaving the volume selector on US gallon).
- Trying to convert $/mass to $/volume without a valid density value.
When to Use This Calculator
- Comparing supplier quotes that list prices per kg vs. per liter for the same liquid.
- Estimating formulation or batching costs when ingredient density is known.
- Converting retail prices on containers (e.g., $/gal) to lab-friendly units (e.g., $/mL or $/L).
Input Definitions
- Price per Mass — choose per g, kg, mg, oz, or lb.
- Price per Volume — choose per L, mL, US gallon, quart, pint, cup, or fluid ounce.
- Density — mass per volume in your chosen units (defaults to 1 g/mL for water at ~20°C).
- Conversions used — g/L = g/mL × 1000; 1 lb = 453.59237 g; 1 US gal = 3.785411784 L; 1 US fl oz = 29.57353 mL.
$/g to $/l Formula
The following formulas convert between price per gram and price per liter using density; let Pg be the price per gram, PL the price per liter, and ρ the density in g/mL.
P_L = P_g \times \rho\,(\mathrm{g/mL}) \times 1000 \quad\quad P_g = \frac{P_L}{\rho\,(\mathrm{g/mL}) \times 1000}- ρ in g/mL converts to g/L by multiplying by 1000; using ρ in g/L removes the 1000 factor.
- Example densities: water ≈ 1.00 g/mL, ethanol ≈ 0.789 g/mL, olive oil ≈ 0.918 g/mL, milk ≈ 1.03 g/mL.
How do you convert $/g to $/L? Multiply the price per gram by the density (g/mL) and by 1000.
How do you convert $/L to $/g? Divide the price per liter by the density (g/mL) and by 1000.
$/g to $/L Conversion Table
| $ / g | $ / L |
|---|---|
| 0.001 | 1.000 |
| 0.002 | 2.000 |
| 0.005 | 5.000 |
| 0.010 | 10.000 |
| 0.020 | 20.000 |
| 0.050 | 50.000 |
| 0.100 | 100.000 |
| 0.200 | 200.000 |
| 0.250 | 250.000 |
| 0.500 | 500.000 |
| 1.000 | 1000.000 |
| 2.000 | 2000.000 |
| 5.000 | 5000.000 |
| 10.000 | 10000.000 |
| 20.000 | 20000.000 |
| 50.000 | 50000.000 |
| * For other densities: multiply the $/L values above by ρ (g/mL). Example: ρ = 0.80 → multiply by 0.80. | |
Example Problem
Convert $0.012 per gram to $ per liter for a liquid with density 0.80 g/mL.
Use the formula: PL = Pg × ρ × 1000.
PL = 0.012 × 0.80 × 1000 = $9.60 per liter
