Density and Specific Gravity Converter

Density and Specific Gravity Converter

Twelve density units derived from exact definitions — including the pound per US gallon and the pound per imperial gallon, which are 20.1% apart — plus specific gravity on the 60/60 °F, 20/4 °C and 20/20 °C conventions with the difference between them shown, API gravity, and all four published Baumé constants rather than one. Water’s density comes from Tanaka’s formula, because it is not 1.000.

Density, SG, API and Baumé

Any density or gravity scale → all of them
The first twelve are densities. The last six are specific gravities and the scales built on them, and every one of those needs a reference temperature before it means anything.
In the unit above. The default is API 35, a medium-light crude.
Only used for the temperature block and the water-density figures. Tanaka’s formula is valid from 0 to 40 °C.
There is no right answer. Published handbooks give 144, 144.3, 145 and 146 for the heavy scale, and the disagreement grows up the scale.
A plot, not a circuit: the density of pure water against temperature, from Tanaka's 2001 formula and computed rather than sketched, with the vertical scale hugely exaggerated — the whole range drawn here is under nine kilograms per cubic metre out of a thousand. Three things are worth looking at. Water's maximum is at 3.983 °C, not 4.000, and it is 999.975 kg/m³, not 1000: the top gridline is a line the curve never touches. The two vertical markers are the reference waters the two specific-gravity conventions divide by, 4 °C and 15.56 °C, and the gap between them on this curve is the tenth of a per cent that separates SG(20/4) from SG(60/60). And the cross is your own sample temperature, which is why a specific gravity needs two temperatures stated and not one.
849.0136kg/m³Example

a crude oil at 35 °API

Advertisement

Density is easy. Specific gravity needs two temperatures

SG = ρsample(t₁) / ρwater(t₂)  ·  API = 141.5 / SG(60/60 °F) − 131.5  ·  SG = 141.5 / (API + 131.5)  ·  heavy Baumé: SG = c / (c − °Bé), c = 144, 144.3, 145 or 146  ·  light Baumé: SG = 140 / (130 + °Bé)  ·  ρwater(t) = a₅[1 − (t + a₁)²(t + a₂) / (a₃(t + a₄))]
t₁ / t₂
the sample’s temperature and the reference water’s, in that order. “60/60 °F” means both at 60 °F; “20/4 °C” means the sample at 20 and the water at 4. Neither number is optional and a bare “specific gravity” is incomplete
ρ_water(60 °F)
999.016 kg/m³, ASTM D1250’s own figure and the basis of the whole petroleum convention. Tanaka’s formula independently gives 999.0163, which is a two-parts-per-million agreement and a better check than the citation
ρ_water(4 °C)
999.972 kg/m³, near the density maximum, which is why SG(20/4) is numerically almost the density in g/cm³. The true maximum is 999.975 at 3.983 °C
141.5 and 131.5
chosen so that water is exactly 10 °API. The scale runs backwards — higher API is lighter oil — and it is defined at 60 °F only
c
the Baumé constant for the heavy scale, and there is no right value. Four are in print and they disagree by more the further up the scale you go
a₁ … a₅
Tanaka’s coefficients: −3.983035 °C, 301.797 °C, 522 528.9 °C², 69.34881 °C and 999.974950 kg/m³, valid 0 to 40 °C

Worked example

a crude oil at 35 °API
SG(60/60 °F) = 141.5 / (35 + 131.5) = 0.849850
ASTM D1250 gives water at 60 °F as 999.016 kg/m³, so the oil's density at 60 °F is 0.849850 × 999.016 = 849.014 kg/m³
That is 7.0854 lb per US gallon and only 8.5092 lb per IMPERIAL gallon — the same oil, 20.1% apart, because the gallons are
Taken to the laboratory convention instead, the SAME density over water at 4 °C is 0.849037 — 0.096% below the 60/60 figure from the reference water alone, and about 0.47% once the sample's own temperature difference is allowed for as well
On the heavy Baumé scale this oil is lighter than water, so the heavy formula does not apply at all; on the light scale it is 34.735 °Bé. Water is 10 on that scale and 0 on the other one

Density units, and two gallons that are 20% apart

UnitIn kg/m³An API 35 crudeWater at 20 °C
kg/m³1.000000849.0136998.2067
g/cm³ (= g/mL = kg/L = t/m³)1,000.0000.8490140.998207
kg/L1,000.0000.8490140.998207
g/L (= mg/mL)1.000000849.0136998.2067
lb/ft³16.01846353.002262.3160
lb/in³27,679.9050.0306730.036063
lb per US gallon119.8264277.08548.3304
lb per imperial gallon99.7763738.509210.0044
oz per US gallon7.489152113.3658133.2870
oz/in³1,729.9940.4907610.577000
slug/ft³515.3788181.64741.9368
short ton per cubic yard1,186.5530.7155300.841266
Every factor here is exact, derived from NIST Handbook 44’s definitions: the US liquid gallon is 231 cubic inches exactly, the imperial gallon is 4.546 09 litres exactly, the inch is 25.4 mm and the pound 453.592 37 g. The trap is the two gallons. An imperial gallon is 1.200950 times a US one, so lb per US gallon is 20.095% larger as a density unit than lb per imperial gallon, and a figure quoted in “pounds per gallon” without saying which is out by a fifth. There is a nice historical check on the imperial one: it was defined so that a gallon of water weighed ten pounds, and at 62 °F Tanaka’s formula gives 10.011 lb — which is where “a pint of water weighs a pound and a quarter” comes from.

“Specific gravity” is not one quantity: it needs two temperatures

ConventionSample at (°C)Reference water at (°C)Reference density (kg/m³)SG of an 849.01 kg/m³ oilAgainst 60/60 (%)
60/60 °F — petroleum, ASTM D125015.5615.56999.01600.8498500.0000
20/4 °C — laboratory20.004.00999.97200.849037-0.0956
20/20 °C20.0020.00998.20670.8505390.0811
15/4 °C15.004.00999.97200.849037-0.0956
A specific gravity is a ratio of two densities, and both of them are at a temperature. The petroleum industry uses 60/60 °F; laboratories often use 20/4 °C, where the reference water is at its density maximum and the specific gravity is therefore numerically almost equal to the density in g/cm³. The reference waters differ by 0.0957% — about a tenth of a per cent. That is the part everybody mentions, and it is the SMALLER part. The sample is also at a different temperature in the two conventions, 15.56 °C against 20 °C, and a hydrocarbon expands about 0.085% per degree, so the same oil measured both ways differs by around 0.47% — four fifths of it from the sample and one fifth from the reference. On a cargo of thirty thousand tonnes that is a hundred and forty tonnes, which is why trade specifies the convention.

API gravity runs backwards, and water is exactly 10

°APISG (60/60 °F)Density at 60 °F (kg/m³)lb per US gallonClassification
0.01.0760461,074.9878.9712Extra heavy / bitumen
10.01.000000999.0168.3372Heavy crude
20.00.933993933.0747.7869Heavy crude
22.30.920026919.1217.6704Medium crude
31.10.870234869.3777.2553Light crude
35.00.849850849.0147.0854Light crude
40.00.825073824.2616.8788Light crude
50.00.779614778.8476.4998Light crude
70.00.702233701.5425.8547Light crude
100.00.611231610.6305.0960Light crude
API = 141.5 / SG(60/60 °F) − 131.5, and the inverse is SG = 141.5 / (API + 131.5). Three things are worth checking and all three hold. Water is exactly 10 °API, because 141.5 − 131.5 = 10. The scale runs BACKWARDS — a higher number is a lighter oil, so a 40 °API crude is worth more per barrel than a 20 °API one. And it is defined at 60 °F only: an API gravity at any other temperature is not an API gravity, which is why cargo measurements are corrected to 60 °F before the number is quoted. The relation is not linear in density, so a degree of API is a different number of kg/m³ at each end of the scale — about 1.1 at 10 °API and 0.5 at 70. Anything denser than SG 1.076 has a negative API gravity, which some bitumens do.

Baumé is two scales, and the heavy one has four published constants

°BéSG on 145.0SG on 144.3SG on 144.0SG on 146.0Spread (%)
51.035711.035891.035971.035460.0493
101.074071.074461.074631.073530.1022
201.160001.160901.161291.158730.2209
401.380951.383511.384621.377360.5269
601.705881.711741.714291.697670.9785
For liquids heavier than water, SG = c / (c − °Bé), and published handbooks give c as 144, 144.3, 145 and 146. For liquids lighter than water it is a different scale altogether: SG = 140 / (130 + °Bé), which puts water at 10 °Bé rather than 0. So the two Baumé scales disagree about water by ten degrees, and the heavy one disagrees with itself by an amount that grows up the scale — a fiftieth of a per cent at 5 °Bé, a hundredth at 10, and a full per cent by 70. This page carries the disagreement rather than picking a winner, because there is nothing to pick on: as one long-running industry forum puts it, the constants “are not based on any physical quantity, they are simply people’s efforts to correlate an unreliable and vague scale to the more exacting S.G. scale”. The light Baumé scale and API gravity, incidentally, agree EXACTLY at 10 degrees — both were built to put water there — and nowhere else.

Water’s density is not 1.000, and that is why SG is ambiguous

°C°FDensity (kg/m³)Against the maximum (%)SG of an 849.01 kg/m³ oil against it
0.0032.00999.8428-0.013210.849147
2.0035.60999.9429-0.003200.849062
3.983039.17999.97490.000000.849035
4.0039.20999.9749-0.000000.849035
10.0050.00999.7027-0.027230.849266
15.0059.00999.1026-0.087240.849776
15.5660.00999.0170-0.095800.849849
20.0068.00998.2067-0.176820.850539
25.0077.00997.0470-0.292800.851528
30.0086.00995.6488-0.432630.852724
40.00104.00992.2152-0.775990.855675
Tanaka’s 2001 formula, recommended for the density of standard mean ocean water between 0 and 40 °C, checked here against eight IAPWS-IF97 spot values which it matches to 0.02 kg/m³. Water’s maximum density is at 3.983 °C and it is 999.9749 kg/m³ — not 1000, and not at 4.000 °C either. The kilogram was originally meant to be the mass of a litre of water at that maximum, and the 1901 redefinition of the litre came from the same idea; the 25 parts per million by which it misses is one of metrology’s tidier embarrassments. The practical point is in the last column: the specific gravity of one and the same oil changes in the fifth decimal place depending on which water you divide by, so an SG quoted without its two temperatures is incomplete. Temperature also makes every other property ambiguous the same way — the other agent’s gas concentration converter makes the same point about molar volume, and the viscosity converter needs this page’s density at the viscosity’s own temperature.

Density is arithmetic; specific gravity needs two temperatures

Density units are arithmetic and this page does them exactly. Specific gravity is where the difficulty is. Every density factor here comes from a definition: the US liquid gallon is 231 cubic inches exactly, the imperial gallon is 4.546 09 litres exactly, the inch is 25.4 mm and the pound is 453.592 37 g. Nothing is rounded. The one trap in the density list is the two gallons: an imperial gallon is 1.2009 times a US one, so lb per US gallon and lb per imperial gallon are 20.1% apart, and a figure quoted as “pounds per gallon” without saying which is out by a fifth. The imperial one carries its own check: it was defined so that a gallon of water weighs ten pounds, and at 62 °F it comes out at 10.01 lb.

A specific gravity needs two temperatures, and the pair depends on the industry. It is a ratio of the sample’s density to a reference fluid’s, and both densities are at a temperature — which is why the notation has a slash in it. The petroleum convention is 60/60 °F: sample and water both at 60 °F, where ASTM D1250 puts water at 999.016 kg/m³. The laboratory convention is often 20/4 °C: the sample at 20 °C and the water at its density maximum, which is convenient because it makes the specific gravity numerically almost the same as the density in g/cm³. The same oil is a different number in the two, and both are computed here. How much different is worth decomposing, because the usual explanation puts the emphasis in the wrong place: the two reference waters differ by only 0.096%, while the sample itself is 4.4 degrees warmer in one convention than the other, which for a hydrocarbon is about 0.38%. Four fifths of the difference is the sample, one fifth the reference, and the total for a typical crude is around half a per cent. On a thirty-thousand-tonne cargo that is a hundred and forty tonnes, which is why trade documents name the convention.

API gravity is worth getting exactly right because three things about it are counter-intuitive, and all three check out. API = 141.5 / SG(60/60 °F) − 131.5. Water is exactly 10, because 141.5 − 131.5 = 10. The scale runs backwards: because specific gravity is in the denominator, a higher API number is a lighter oil, and light crudes are the valuable ones. And it is defined at 60 °F only — a gravity measured at another temperature has to be corrected to 60 °F before it is an API gravity at all, which is the entire purpose of the ASTM D1250 petroleum measurement tables. It is also not linear in density: a degree of API is about 1.1 kg/m³ at 10 °API and 0.5 at 70, so you cannot average API numbers to blend oils.

Baumé is two scales with four constants and this page carries the disagreement rather than resolving it. For liquids heavier than water, SG = c / (c − °Bé), with c published as 144, 144.3, 145 and 146 in different handbooks. For liquids lighter than water it is a different formula altogether, SG = 140 / (130 + °Bé), which puts water at 10 °Bé instead of 0 — so the two halves of one scale name disagree about water by ten degrees. The reason the constants differ is that none of them was derived from anything: they are, as one long-running industry forum puts it, “people’s efforts to correlate an unreliable and vague scale to the more exacting S.G. scale”. The cost of choosing wrongly grows up the scale, from a fiftieth of a per cent at 5 °Bé to a full per cent at 70, and this page shows three of the constants side by side so the cost is visible. One pleasing detail: the light Baumé scale and API gravity agree exactly at 10 degrees, because both were built to put water there, and they agree nowhere else.

Water’s density is not 1.000, and that is the root of all of it. Water is densest at 3.983 °C, where it is 999.9749 kg/m³ — 25 parts per million short of the 1000 the kilogram was originally meant to make it. At 20 °C it is 998.2067 and at 60 °F 999.016. This page uses Tanaka’s 2001 formula, recommended for standard mean ocean water from 0 to 40 °C, and checks it against eight independent IAPWS-IF97 values, which it matches to 0.02 kg/m³; the density maximum above was found by searching that formula rather than by quoting a textbook. Because the reference moves with temperature, a specific gravity quoted without its two temperatures is incomplete — and the same is true of every property read through a density. Brix and Plato are mentioned on this page and deliberately not computed: they are concentration scales read through density, their modern conversions are fitted polynomials whose coefficients differ between publishers, and a number computed without naming whose polynomial it is would be unattributable. For the property that cannot be converted without the density on this page, see the viscosity converter; for hardness and finish on the same components, the hardness scale converter and the surface roughness converter; and for the same temperature ambiguity in a different guise, the water hardness converter.

Advertisement

Frequently asked questions

What is the difference between density and specific gravity?

Density is a physical quantity with units — kilograms per cubic metre. Specific gravity is a ratio of two densities and therefore dimensionless, and it is only defined once you say what the reference is and at what temperatures both were measured. That is the whole difficulty: “SG 0.85” is not a complete statement. The petroleum convention is 60/60 °F, both at 60 °F. Laboratories often use 20/4 °C, the sample at 20 and the water at its density maximum, which makes the specific gravity numerically almost equal to the density in g/cm³. The same oil differs by about half a per cent between the two.

How much does the 60/60 against 20/4 choice actually matter?

About half a per cent, and it is worth knowing which half. The two reference waters differ by 0.096% — 999.016 against 999.972 kg/m³ — and that is the part everyone quotes. But the SAMPLE is also at 15.56 °C in one convention and 20 °C in the other, and a hydrocarbon expands about 0.085% per degree, which is 0.38% over that gap. So the sample’s temperature contributes four times as much as the reference water’s, and the total for a typical crude is around 0.47%. On a 30,000 tonne cargo that is 140 tonnes, which is why trade documents specify the convention rather than leaving it to be guessed.

What is API gravity and why does it run backwards?

API = 141.5 / SG(60/60 °F) − 131.5. The constants were chosen so that water comes out at exactly 10, and because SG is in the denominator the scale inverts: a higher API number is a LIGHTER oil, and lighter crudes fetch more because they yield more petrol and diesel. Light crude is above 31.1 °API, medium 22.3 to 31.1, heavy below 22.3 and extra heavy below 10 — which means denser than water. It is defined at 60 °F only: an API gravity measured at any other temperature has to be corrected to 60 °F before it is an API gravity at all. It is also not linear in density, so a degree of API is about 1.1 kg/m³ at the heavy end and 0.5 at the light end.

Which Baumé constant is correct?

None of them, and that is the honest answer rather than a dodge. For liquids heavier than water the formula is SG = c / (c − °Bé), and handbooks print c as 144, 144.3, 145 and 146. The reason they disagree is that the constant was never derived from anything: as a long-running industry forum puts it, these are “people’s efforts to correlate an unreliable and vague scale to the more exacting S.G. scale”. Lighter-than-water liquids use a different scale again, SG = 140 / (130 + °Bé), which puts water at 10 °Bé instead of 0. This page shows all four heavy constants side by side and the disagreement between them, which grows from a fiftieth of a per cent at 5 °Bé to a full per cent at 70. If a Baumé reading matters, find out which constant your instrument or your table assumes.

Are pounds per gallon the same on both sides of the Atlantic?

No, and this is one of the cleanest traps in unit conversion. An imperial gallon is 4.546 09 litres and a US gallon is 3.785 411 784 litres, so the imperial one is 1.2009 times bigger. As a DENSITY unit that means lb per US gallon is 20.1% larger than lb per imperial gallon, so the 35 °API crude this page opens with is 7.09 lb/US gal and 8.51 lb/imp gal. A figure quoted as “pounds per gallon” without saying which is out by a fifth. The imperial gallon has a nice check built into it: it was defined so a gallon of water weighs ten pounds, and at 62 °F it comes out at 10.01 lb.

Is water’s density 1.000 g/cm³?

Only approximately, and only near 4 °C. Water’s maximum density is 999.9749 kg/m³ at 3.983 °C, which is 0.0025% below 1000 — the kilogram was originally intended to be the mass of a litre of water at that maximum and it misses by 25 parts per million. At 20 °C water is 998.2067 kg/m³, 0.18% below the maximum, and at 60 °F it is 999.016. This page uses Tanaka’s 2001 formula, which matches eight independent IAPWS-IF97 values to 0.02 kg/m³ and locates the maximum by search rather than by quotation. That temperature dependence is precisely why a specific gravity needs two temperatures stated.

What about Brix and Plato?

They are concentration scales read through density — Brix for sugar solutions, Plato for brewing wort — and this page mentions them rather than computing them, deliberately. Both are defined against a table of sucrose solutions and the modern conversions are fitted polynomials whose coefficients differ between published sources, so a figure computed without saying whose polynomial it is would be unattributable. They are also not a property of your liquid: the Brix of a fermenting beer is meaningless as a sugar concentration because alcohol is lighter than water and pulls the reading down. If this page carried them, it would have to name the polynomial, and the sources it has do not.

Why do I need this for a viscosity conversion?

Because kinematic viscosity is dynamic viscosity divided by density, so you cannot move between the two families without the density at the viscosity’s own temperature. That is the commonest reason to come to a page like this from engineering rather than from trade. If your data sheet gives an API gravity or a specific gravity instead of a density, convert it here first, remembering that a 15 °C density used with a 100 °C viscosity will be a few per cent out. The viscosity converter is the page that needs it.

Related calculators

References

  1. Tanaka M, Girard G, Davis R, Peuto A, Bignell N. Recommended table for the density of water between 0 °C and 40 °C based on recent experimental reports. Metrologia 38 (2001) 301–309. doi:10.1088/0026-1394/38/4/3. ρ = a₅[1 − (t + a₁)²(t + a₂) / (a₃(t + a₄))] with a₁ = −3.983035 °C, a₂ = 301.797 °C, a₃ = 522 528.9 °C², a₄ = 69.34881 °C and a₅ = 999.974950 kg/m³, valid 0 to 40 °C. Checked here against eight IAPWS-IF97 spot values, which it matches to 0.02 kg/m³, and used to LOCATE the density maximum by search rather than by quotation: 3.983 °C, 999.975 kg/m³.
  2. ASTM D1250 (2008), Standard Guide for the Use of the Petroleum Measurement Tables. Cited by number; not fetched. Its published density of water at 60 °F, 999.016 kg/m³, is the figure the whole 60/60 °F specific-gravity convention rests on, and it is quoted here through the Wikipedia article on API gravity. Tanaka’s formula independently gives 999.0163 kg/m³ at 60 °F, which agrees to two parts in a million — the check that matters more than the citation.
  3. American Petroleum Institute / ASTM. API gravity = 141.5 / SG(60/60 °F) − 131.5, with the inverse SG = 141.5 / (API + 131.5). Verified here at three points: water is exactly 10, the relation round-trips to machine precision over SG 0.6 to 1.1, and it runs backwards, so a lighter oil carries a higher number. Band edges (light above 31.1, medium 22.3–31.1, heavy below 22.3, extra heavy below 10.0) from the Wikipedia API gravity article.
  4. IAPWS / Engineering ToolBox and SimuPipe water property tables (IAPWS-IF97): the eight independent density spot values from 0 to 40 °C that Tanaka’s formula is checked against on this page.
  5. finishing.com, Baumé to Specific Gravity (Ted Mooney and correspondents). The source for this page’s refusal to pick one Baumé constant: “some handbooks cite 144 for the ‘heavier than water’ scale, and other books cite 145, and other people cite 146”, because “those constants are not based on any physical quantity, they are simply people’s efforts to correlate an unreliable and vague scale to the more exacting S.G. scale.” The light scale is given there as SG = 140 / (130 + °Bé).
  6. NIST Handbook 44, Appendix C, General Tables of Units of Measurement. The US liquid gallon is 231 cubic inches exactly and the imperial gallon is 4.546 09 litres exactly; every gallon-based density unit on this page is derived from those two definitions and the exact inch, and the 20.095% difference between lb per US gallon and lb per imperial gallon is simply their ratio.