The Comprehensive Flowmeters Resource

Density Conversion

{source}

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>

<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta name=”description” content=”CONVERSION TO Grains/gallon (UK) Grains/gallon (US) Grams/cubic centimeters Grams/liter Grams/milliliters Kilograms/cubic meters Kilograms/liter Megagrams/cubic meter Milligrams/milliliter Milligrams/liter Ounces/cubic inch Ounces /gallon (UK) Ounces/gallon (US) Pounds/cubic inch Pounds/cubic foot Pounds/gallon (UK) Pounds /Gallon (US) Slugs/cubit foot Tonnes/cubic meter Tons (UK)/cubic yard Tons (US) cubic yard “>
<meta name=”keywords” content=”Unit Converter units conversion convertor convert metric system UK US metric system SI imperial weight mass length volume speed density pressure area force temperature Flow meter directory”>
<title>ONLINE CONVERSION – Density Conversion</title>
<style type=”text/css”>
A {
text-decoration: none;
color: black;
}
A:hover {
text-decoration: underline;
color: #FF9933;
}
.size12pt {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
</style>
<style type=”text/css”>
<!–
.style8 {
color: #FFFFFF;
}
body {
background-color: #A3A3A3;
}
–>
</style>
<script type=”text/javascript”>
<!–
var numDigs;
var curQuantity;
var initializing = true;

function loadOptions(){
numDigs = getNumDigs();

if (getDefaultQuantityMethod() == “userDefined”)
curQuantity = getUserQuantity();
else curQuantity = getCookie(“curQuantity”);
if (curQuantity == null) curQuantity = “Length”;

displayPage(curQuantity.toLowerCase() + “.htm”);
initializing = false;
}

function getNumDigs(){
var numDigs = getCookie(“UCNumDigs”);
if (numDigs != null) return parseInt(numDigs);
else return 6;
}

function getCookie(name){
var cname = name + “=”;
var dc = document.cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(“;”, begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}
function getDefaultQuantityMethod() {
if (getCookie(“defaultQuantityMethod”) == “userDefined”)
return “userDefined”;
else return “remember”;
}
function getUserQuantity(){
var i;
var returnQuantity;
var cookieQuantity = getCookie(“userQuantity”);

// Default value
returnQuantity = “Length”;

// Check if valid cookie quantity exists
if (cookieQuantity != null) {
for (i = 0; i <= (quantities.length – 1); i++) {
if (cookieQuantity == quantities[i]) returnQuantity = cookieQuantity;
}
}
return returnQuantity;
}
function displayPage(URL)
{
window.location.href = URL;
}

function Convert(){
with(document.ConvertForm){
ValueTo.value = formatFloat(parseFloat(ValueFrom.value) *
parseFloat(UnitFrom.options[UnitFrom.selectedIndex].value) /
parseFloat(UnitTo.options[UnitTo.selectedIndex].value), numDigs);
}
}

function ConvertBack(){
with(document.ConvertForm){
ValueFrom.value = formatFloat(parseFloat(ValueTo.value) /
parseFloat(UnitFrom.options[UnitFrom.selectedIndex].value) *
parseFloat(UnitTo.options[UnitTo.selectedIndex].value), numDigs);
}
}

function formatFloat(number,X) {
// rounds number to X decimal places, default is 6
X = (!X ? 6 : X);
return Math.round(number*Math.pow(10,X))/Math.pow(10,X);
}

–>
</script>
</head>

<body leftmargin=”10″ marginheight=”0″ marginwidth=”10″ topmargin=”0″>
<form name=”ConvertForm”>
<table border=”0″ cellspacing=”0″ cellpadding=”5″ align=”left”>
<tr>
<td><font face=”Arial, Helvetica, sans-serif” size=”+1″><b style=”color: #000″>Density [mass/length³]</b></font></td>
</tr>
<tr>
<td>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
<tr>
<td bgcolor=”#000000″>
<table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”5″>
<tr>

<td bgcolor=”#666666″><font face=”Arial, Helvetica, sans-serif” size=”-1″><b><font color=”#FFFFFF”>Input</font></b></font></td>
</tr>
<tr>

<td bgcolor=”#FF0000″>
<table>
<tr>
<td>
<input type=”text” size=”20″ name=”ValueFrom” value=”1″ onKeyUp=”Convert()”> </td>
<td>
<select name=”UnitFrom” size=”1″ onChange=”Convert()”>
<option value=”0.000014253948343691203″>grains/gallon
(UK)</option>
<option value=”0.000017118011571775823″>grains/gallon
(US)</option>
<option value=”1″>grams/cubic centimeters</option>
<option value=”1e-3″>grams/liter</option>
<option value=”1″>grams/milliliters</option>
<option selected value=”1e-3″>kilograms/cubic meters</option>
<option value=”1″>kilograms/liter</option>
<option value=”1″>megagrams/cubic meter</option>
<option value=”1e-3″>milligrams/milliliter</option>
<option value=”1e-6″>milligrams/liter</option>
<option value=”1.729994044″>ounces/cubic inch</option>
<option value=”0.006236023″>ounces/gallon (UK)</option>
<option value=”0.007489152″>ounces/gallon (US)</option>
<option value=”27.679904″>pounds/cubic inch</option>
<option value=”0.016018463″>pounds/cubic foot</option>
<option value=”0.099776373″>pounds/gallon (UK)</option>
<option value=”0.119826427″>pounds/gallon (US)</option>
<option value=”0.51531788206″>slugs/cubic foot</option>
<option value=”1″>tonnes/cubic meter</option>
<option value=”1.328939184″>tons (UK)/cubic yard </option>
<option value=”1.186552843″>tons (US)/cubic yard</option>
</select> </td>
<td>
<input type=”button” name=”ButtonGO” value=”Go!” onClick=”Convert()” onFocus=”if(this.blur)this.blur()”> </td>
</tr>
</table> </td>
</tr>
</table> </td>
</tr>
</table>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>

<td>&nbsp;</td>
</tr>
</table>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ align=”center”>
<tr>
<td bgcolor=”#000000″>
<table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”5″>
<tr>

<td bgcolor=”#666666″><font face=”Arial, Helvetica, sans-serif” size=”-1″><b><font color=”#FFFFFF”>Output</font></b></font></td>
</tr>
<tr>

<td bgcolor=”#CCCCCC”>
<table>
<tr valign=”middle”>
<td>
<input type=”text” size=”20″ name=”ValueTo” onKeyUp=”ConvertBack()”> </td>
<td>
<select name=”UnitTo” size=”1″ onChange=”Convert()”>
<option value=”0.000014253948343691203″>grains/gallon
(UK)</option>
<option value=”0.000017118011571775823″>grains/gallon
(US)</option>
<option value=”1″>grams/cubic centimeters</option>
<option value=”1e-3″>grams/liter</option>
<option value=”1″>grams/milliliters</option>
<option selected value=”1e-3″>kilograms/cubic meters</option>
<option value=”1″>kilograms/liter</option>
<option value=”1″>megagrams/cubic meter</option>
<option value=”1e-3″>milligrams/milliliter</option>
<option value=”1e-6″>milligrams/liter</option>
<option value=”1.729994044″>ounces/cubic inch</option>
<option value=”0.006236023″>ounces/gallon (UK)</option>
<option value=”0.007489152″>ounces/gallon (US)</option>
<option value=”27.679904″>pounds/cubic inch</option>
<option value=”0.016018463″>pounds/cubic foot</option>
<option value=”0.099776373″>pounds/gallon (UK)</option>
<option value=”0.119826427″>pounds/gallon (US)</option>
<option value=”0.51531788206″>slugs/cubic foot</option>
<option value=”1″>tonnes/cubic meter</option>
<option value=”1.328939184″>tons (UK)/cubic yard </option>
<option value=”1.186552843″>tons (US)/cubic yard</option>
</select> </td>
</tr>
</table> </td>
</tr>
</table> </td>
</tr>
</table> </td>
</tr>
<tr>
<td></td>
</tr>
</table>
</form>
</body>

</html>

<iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/0x1uzxFTydo?rel=0″ frameborder=”0″ allowfullscreen></iframe>

{/source}

Featured Product of the Month!

Flowmeter Supplier Texas, Louisiana, Arkansas and more

We are teamed up with suppliers of various flow meter designs and techniques to solve flow measurements in liquids. If in doubt, give us a call. We have access to reliable flow meter solutions and manufacturers.

Scroll to Top