CINXE.COM

Molar Mass Calculations and Molecular Weight Calculator (EnvironmentalChemistry.com)

<!DOCTYPE HTML> <HTML lang="en-US"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Molar Mass Calculations and Molecular Weight Calculator (EnvironmentalChemistry.com)</title><META NAME="ROBOTS" CONTENT="NOARCHIVE"> <meta name="superfish" content="nofish"><META NAME="ROBOTS" CONTENT="NOODP"><META NAME="DESCRIPTION" CONTENT="A tutorial on Molar mass calculations with examples and a molecular weight calculator to aid calculations."><META NAME="KEYWORDS" CONTENT="molar mass,molecular weight,molar mass calculator,molecular weight calculator,molar mass of compounds,molar mass of a vapor,calculate the molar mass of barium hydroxide octahydrate,mole,moles,mol,avogadros number,chemistry,atom,atomic,avogadro's number,avogadro,molecular weight browser,teacher resources,educational resources,careers,science articles,environmental issues,science"><META NAME="revisit-after" content="30 days"><SCRIPT type="text/javascript">if(top.location!=location){top.location.href=document.location.href}</script><link rel="canonical" href="https://EnvironmentalChemistry.com/yogi/reference/molar.html"><link rel="alternate" type="application/rss+xml" title="RSS" href="/feed.xml" ><link rel="shortcut icon" href="https://envirochem.us/favicon.ico" type="image/x-icon"><link type="text/css" rel="stylesheet" media="all" href="https://envirochem.us/css/Main20170126.css"><link type="text/css" rel="stylesheet" media="screen" href="https://envirochem.us/css/screen20120422.css"><LINK rel="stylesheet" type="text/css" href="https://envirochem.us/css/printer.css" media="print"><!-- 8.222.208.146 - Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 3.5.21022; .NET CLR 1.0.3705; .NET CLR 1.1.4322) //--></head><BODY><div class="MB"><header><div class="TA"><a href="https://EnvironmentalChemistry.com/" title="EnvironmentalChemistry.com homepage &amp; site map">EnvironmentalChemistry.com</a></div><div class="TB"><a href="/yogi/environmental" title="Environmental articles and resources" class="TBA">Environmental</a>, <a href="/yogi/chemistry/" title="Chemistry resources" class="TBA">Chemistry</a> &amp; <a href="/yogi/hazmat/" title="Hazardous materials and regulatory resources" class="TBA">Hazardous Materials</a> News, <a href="/careers/" class="TBA">Careers</a> &amp; Resources</div></header><script type="text/javascript">var strChemistry=' Selected';var strEnvironmental='';var strHazMat='';var strCareers='';var strHeadlines='';document.write(TopMenu());</script><div class="W"><div class="CA"><div class="BA"><ul class="Handheld"><li><a href="#Content">Skip to page content</a><li><A HREF="#Menu">Skip to site menu on this page</a></ul><script type="text/javascript">document.writeln(printInstructions());</script><span id="Content"></span><h1>Molar Mass Calculations and <a href="#Calculator">Molecular Weight Calculator</a></h1><h2 class="Author"><A HREF="/yogi/bobbie.html">By Roberta Crowell Barbalace</a></h2><p>In order to grasp the concept of molar mass calculations it is important to understand the molar unit. The mole also called mol is the basic unit of measurement in chemistry. By definition, in modern chemistry, one mole represents the number of carbon atoms in exactly 12 grams of carbon 12 isotope. Remember that carbon-12 has an atomic mass of 12 (six neutrons and six protons).</p><p>One mole of anything, however, contains 6.0221367E<sup>23</sup> of that object. This is known as Avogadro's number.</p><dl><dt>Examples:</dt><dd>1 mole of carbon = 6.0221367E<sup>23</sup> carbon atoms<dd>1 mole of bananas = 6.0221367E<sup>23</sup> bananas<br>(Aren't you glad they don't sell bananas by the mole?)</dl><p>Obviously it would be impossible to count out 6.0221367E<sup>23</sup> atoms. Remember, however that 1 mole of carbon-12 = 12 grams = 6.0221367E<sup>23</sup> atoms. It has been established that 1 mole of any element = the atomic mass of that element expressed in grams. Since magnesium has an atomic mass of 24, one mole of magnesium weighs 24 grams and contains 6.0221367E<sup>23</sup> atoms of magnesium. A mole of any molecule = the molecular mass of that molecule expressed in grams. In order to determine the weight of one mole of bananas, one would have to get an average weight of a banana and multiply that by 6.0221367E<sup>23</sup> then we could weigh out that weight of bananas and presto, we would have a mole of bananas. Of course, nobody would ever do that. It just demonstrates that mole of anything = 6.0221367E<sup>23</sup> and we can measure out a mole of something by counting it or by weighing it out. Since atoms are too small to count, we must weigh out a mole of atoms.</p><p><em>Molar mass</em>is a unit that enables scientists to calculate the weight of any chemical substance, be it an element or a compound. Molar mass is the sum of all of the atomic masses in a formula. Once one determines the molar mass of a substance, it will be easy to measure out one mole of that substance.</p><p>The molar mass calculation of a substance is complete the following steps (We will use sulfuric acid, H<sub>2</sub>SO<sub>4</sub>, as an example):</p><OL><LI>Make a list of each element and the number of atoms of each element present in the substance.<dl class="NoPadding"><dd>H 2<br>S 1<br>O 4</dl><li>Go to periodic table and determine the atomic mass average (atomic weight) of each element.<dl class="NoPadding"><dd>H 1.00794<br>S 32.066<br>O 15.9994</dl><li>Multiply each atomic mass by the number of atoms in the formula.<dl class="NoPadding"><dd>H 1.00794 * 2 = 2.015<br>S 32.066 * 1 = 32.066<br>O 15.9994 * 4 = 63.998</dl><li>Add up the results of step three:<dl class="NoPadding"><dd>2.015+32.066+63.998 = 98.079 = molar mass of sulfuric acid</dl></ol><p>In this example the results have been rounded off to the correct number of decimal places. (Since the atomic mass average of sulfur given above only has 3 decimal places, accuracy can not be determined beyond that point).</p><p>These calculations will be necessary before one can determine the molarity or normality of a solution and many other formulas in stoichiometry (the quantitative relationships between chemical substances in a chemical equation).</p><dl><dt>Try these formulas and then compare your results to those you get on the calculator below:</dt><dd>H<sub>2</sub>O<dd>NH<sub>3</sub><dd>C<sub>2</sub>H<sub>4</sub>O<sub>2</sub><dd>K<sub>2</sub>Cr<sub>2</sub>O<sub>7</sub></dl><h3 id="Calculator">Molecular Weight Calculator</h3><p>Formulas can have a max of two brackets open at the same time, and the molecule of crystallization must be placed last.</p><dl><dt><b>Examples:</b></dt><dd>3BeO.Al2O<sub>3</sub>.6(SiO<sub>2</sub>) = (BeO)3.Al2O3.6(SiO2)<dd>(BaH<sub>2</sub>O)<sub>2</sub>Mn<sub>5</sub>O<sub>10</sub> = (BaH2O)2Mn5O10<dd>(KMgCl<sub>3</sub>).6H<sub>2</sub>O = (KMgCl3).6H2O</dl><p><div style="margin-left:100px;width:250px"><form method="get" action="" Name="MMC">Formula<br><input type="text" size="29" Name="ChemicalFormula" style="font-family:monospace" class="Border"><br><input type="button" onClick="writeOut(this.form)" value="Calculate" class="Button"><input type="reset" onClick="ClearForm(this.form)" value="Clear" class="Button"><br><input type="text" size="29" Name="vMM" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="Gram" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="Sig" style="font-family:monospace" class="Border"><br><span class="TextSmall">(% by mass, Element, # Atoms, mass)<br></span><input type="text" size="29" Name="C1" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C2" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C3" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C4" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C5" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C6" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C7" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C8" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C9" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C10" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C11" style="font-family:monospace" class="Border"><br><input type="text" size="29" Name="C12" style="font-family:monospace" class="Border"><br></form></div><h3>Related Resources</h3><ul class="Headlines"><li class="HLI"><a href="/yogi/reference/molar.html">Molarity, Molality and Normality</a><br><span class="IndexTS">Introduces stoichiometry and explains the differences between molarity, molality and normality.</span><li class="HLI"><a href="/yogi/periodic/">Periodic Table of Elements</a><br><span class="IndexTS">Provides comprehensive data on the chemical elements including scores of properties, element names in many languages, chemical compounds, most known nuclides.</span><li class="HLI"><A HREF="/yogi/periodic/atom_anatomy.html" >Anatomy of the Atom</a></strong><br><span class="IndexTS">Answers many questions regarding the structure of atoms.</span></ul> <script type="text/javascript">document.writeln(printSocial());</script><!-- google_ad_section_end --><!-- google_ad_section_start --><h3>Citing this page</h3><p>If you need to cite this page, you can copy this text:</p><p id="idCitePage" class="CiteLink">Roberta Barbalace, Kenneth Barbalace. Molar Mass Calculations and Molecular Weight Calculator. EnvironmentalChemistry.com. 1996. Accessed&nbsp;on-line:&nbsp;11/30/2024<br>https://EnvironmentalChemistry.com/yogi/reference/molar.html<br>.<div class="NoPrint" id="providelink"><h3>Linking to this page</h3><p class="TextSmall">If you would like to link to this page from your website, blog, etc., copy and paste this link code (in red) and modify it to suit your needs:</p><p class="CiteLink">&lt;a href="https://EnvironmentalChemistry.com/yogi/reference/molar.html"&gt;echo Molar Mass Calculations and Molecular Weight Calculator (EnvironmentalChemistry.com)&lt;/a&gt;- A tutorial on Molar mass calculations with examples and a molecular weight calculator to aid calculations.<br>.</p><p class="TextSmall"><STRONG>NOTICE:</strong> While linking to articles is encouraged, <strong>OUR ARTICLES MAY NOT BE COPIED TO OR REPUBLISHED ON ANOTHER WEBSITE UNDER ANY CIRCUMSTANCES.</strong></p><p class="TextSmall"><strong>PLEASE, if you like an article we published simply link to it on our website do not republish it.</strong></p></div></div><DIV class="MM ColumnHeight NoPrint" id="Menu"><nav> <div id="SidebarLogin"><h2 id="H2Years">29 years on the web</h2><p id="PYears">Started 10-22-1995</p></div> <div style="margin: 0 auto 15px"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="CCBJP5DHB7DEA"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" style="background:none;border-width:0px"><img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" style="height:1px;width:1px"></form> <h3 class="H3M">Please <a href="#share" title="Jump to social networking sharing widgets on this page." class="H3MA">Share</a> and/or <a href="#providelink" title="Suggested link code for this page." class="H3MA">Link To</a> This Page</h3><div class="Menu"><p>Please <a href="#share" title="Jump to social networking sharing widgets on this page.">share</a> and/or <a href="#providelink" title="Suggested link code for this page.">link</a> to this page if you find it useful or informative.</p></div><h3 class="H3M">Educators</h3><p><strong>We are a great educational resource!</strong> Use online or print pages out as classroom handouts. <A HREF="/yogi/about.html#Classroom">More info.</a></p><h3 class="H3M">Featured</h3><ul class="PMenu"><li><a href="/yogi/periodic/" title="Comprehensive data for each element of the periodic table including up to 40 properties, common chemical compounds. Information also provided for 3,600 nuclides and 4,400 nuclide decay modes.">Periodic Table</a><li><a href="/yogi/environmental/200912_nitrogen_dioxide_ozone_and_lead_endanger_children.html" title="Scientists from the University of California, Irvine have found that Nitrogen Dioxide (NO2) and Ozone (O3) react with surfaces painted with lead based paint to increase the release of lead from said paint posing an even greater risk for children.">Nitrogen Dioxide, Ozone &amp; Lead Partner to Increase Pollution Dangers to Urban Children</a><li><A HREF="/yogi/environmental/200704prairiedogcontrolnonlethal.html" title="A discussion of differenct non-lethal prairie dog control measure">Prairie Dog Control: Non-Lethal Techniques</a></ul><h3 class="H3M" title="Going green can save money and energy while helping to protect the environment.">Go Green</h3><ul class="PMenu"><li><div><A HREF="/gogreen/ecorenovation/70shouse/" title="A series of articles documenting the eco renovation a house built in 1970 and reviewing products used in the renovation. We expect the renovations ...">70s House Eco Renovation&nbsp;</A></div><ul class="SM"><li>Redecorating<ul class="SM"><li><A HREF="/gogreen/ecorenovation/70shouse/paintingwalls.html" title="Bright walls require less light, Low VOC options, recycled painting supplies.">Painting Walls</A><li><A HREF="/gogreen/ecorenovation/70shouse/replacingcarpets.html" title="Soybean based padding, recycled PET carpets, low VOCs, reduced health concerns">Replacing Carpets</A><li><A HREF="/gogreen/ecorenovation/70shouse/lightfixtures.html" title="Better ambiance, energy efficient CFLs">Updating Light Fixtures</A></ul><li>Bathroom Renovation<ul class="SM"><li><A HREF="/gogreen/ecorenovation/70shouse/showerhead.html" title="An easy DIY project that will result in immediate savings.">Installing a low flow showerhead </A></ul><li>Switching to Renewable Energy<ul class="SM"><li><A HREF="/gogreen/ecorenovation/70shouse/buycleanelectricity.html" title="One of the easiest ways for us to reduce our carbon footprint by around 1.5 tons per year was to start buying our electricity from a clean power pr...">Buying local clean power electricity</A></ul><li>Kitchen Renovation - Coming in 2010 or 2011<li>Weatherization - Coming late 2009<ul class="SM"><li><A HREF="/gogreen/ecorenovation/70shouse/initialenergyaudit.html" title="This energy audit was conducted on our house to help us prioritize weatherization and energy efficiency projects.">Energy Audit</A><li><A HREF="/gogreen/ecorenovation/70shouse/revisedreturnoninvestment.html" title="These are updated return on investment calculations for the energy audit that was conducted on our house and reflect updated information.">Revised ROI Calculations</A></ul></ul></ul><h3 class="H3M">Environmental Issues</h3><ul class="PMenu"><li><div>Consumer Health &amp; Food Safety Concerns</div><ul class="SM"><li><A HREF="/yogi/environmental/200701fluorideininfantdiets.html" title="Based on American Dental Association recommendations, many infants and small children may be getting too much fluoride in their diets, which may po...">ADA Recommendation for Fluoride in Infant Diets</A><li>Asbestos<ul class="SM"><li><A HREF="/yogi/environmental/asbestoshistory2004.html">Asbestos, a Brief History its Uses &amp; Health Risks</A><li><A HREF="/yogi/environmental/asbestosproperties2004.html">Asbestos, its Chemical &amp; Physical Properties</A><li><A HREF="/yogi/environmental/asbestoshealthhazards2004.html">Asbestos: A Manufacturing Health Hazard Dating to Prehistoric Times</A></ul><li>Dry-Cleaning Chemicals<ul class="SM"><li><A HREF="/yogi/environmental/200603percholorethylene.html" title="According to the EPA, we all may be exposed to perc because it is found in the air and drinking water nationwide.">Looking Good, Feeling Bad; or, What's the Problem with Perc?</A><li><A HREF="/yogi/environmental/200605drycleaning.html" title="The vast majority of America's dry cleaners use perc - are there viable alternatives? The three most prominent non-perc cleaning options are examin...">Are there Realistic Dry-Cleaning Alternatives to Perc?</A></ul><li><A HREF="/yogi/environmental/200603tefloncoverup.html" title="Court records and internal documents have shown that DuPont has been covering up the true dangers of Teflon for decades.">DuPont's Teflon Cover-up</A><li><A HREF="/yogi/environmental/200804childrenautismadhd.html" title="While the generally accepted causes of neurodevelopmental disorders like Autism and ADHD include genetic and environmental factors, a wide range of...">Neurodevelopmental Disorders in Children: Autism &amp; ADHD</A><li><A HREF="/yogi/environmental/200601pcbsinfood.html" title="PCBs a notoriously hazardous group of chemicals have infiltrated our food chain.">PCBs in the food you love</A><li>Seafood Safety<ul class="SM"><li><A HREF="/yogi/environmental/200511mercuryvsomega-3fattyacids.html" title="In spite of the health benefits provided by omega-3 fatty acids found in fish oils, people are decreasing fish in their diets due to high levels of...">Mercury in Fish vs. the Benefits of Fish Oils</A><li><A HREF="/yogi/environmental/200605norwegiansalmon.html" title="The quality and safety of Norwegian farmed salmon came into question with a Russian ban, illegal nitrate use and evidence of a Norwegian cover up.">Norwegian Farmed Salmon Raises Global Concern</A></ul><li><A HREF="/yogi/hazmat/200606lawnchemicals.html" title="Each year consumers paint their lawns with various fertilizers, herbicides and pesticides. These chemicals can be deadly if used incorrectly.">The Dangers of Lawn Chemicals at Home</A></ul><li><div>Energy &amp; Sustainablity</div><ul class="SM"><li><A HREF="/yogi/environmental/200802biofuels.html" title="Whatever their motivation - be it energy independence for the U.S. or an attempt at fighting climate change for Europe - world governments are now ...">Biofueling to the future</A><li><A HREF="/yogi/environmental/200611CO2globalwarming.html" title="Why is carbon dioxide considered pollution and how do scientists know that humans are responsible for climate change?">CO<sub>2</sub> Pollution and Global Warming</A><li><A HREF="/yogi/environmental/200704compactfluorescentlights.html" title="Do compact Fluorescent lights really save money, how well do they perform? See what we found out, then calculate your potential savings.">Compact Fluorescent Lights (CFLs): Are They Worth the Switch?</A><li><A HREF="/yogi/environmental/200706energyinnovation.html" title="In a mere 100 years we have depleted the equivalent of millions of years' worth of solar energy captured by ancient organisms and locked up in oil,...">Global Trends in Energy Technology Innovation</A><li><A HREF="/yogi/environmental/200608hydrogenfuelcells.html" title="Energy sources of the future will have to be cleaner and more efficient than current sources - hydrogen fuel cells fulfill these requirements; howe...">Hydrogen Fuel Cells: Energy of the Future</A></ul><li><div>Environmental Disasters</div><ul class="SM"><li>Chernobyl<ul class="SM"><li><A HREF="/yogi/hazmat/articles/chernobyl1.html" title="In 1996 we revisited the Chernobyl disaster and looked at what the impacts were ten years on.">Chernobyl Revisited</A><li><A HREF="/yogi/hazmat/articles/chernobyl2.html" title="Agricultural and Environmental Impact of the Chernobyl disaster">Agricultural and Environmental Impact</A><li><A HREF="/yogi/hazmat/articles/chernobyl3.html" title="Chernobyl was a real turning point for nuclear energy.">A Turning Point</A></ul><li><A HREF="/yogi/hazmat/articles/bhopal.html" title="Why would anyone choose to work in the hazardous waste industry?">From Bhopal to Hazardous Waste Compliance</A><li><A HREF="/yogi/hazmat/articles/grownups.html" title="What was it like growing up in Love Canal NY, which became one of the Superfund Act's first Superfund hazardous waste site.">Love Canal NY: Grownups Don't Do Blue Goo</A><li><A HREF="/yogi/environmental/200606katrina.html" title="New Orleans communities were destroyed and lives uprooted as water came cascading onto the Bayou. Did the damage have to be so devastating?">New Orleans, Hurricane Katrina &amp; the Oil Industry</A></ul><li><div>Politics and Policy</div><ul class="SM"><li><A HREF="/yogi/hazmat/articles/nimby.html" title="In whose backyard does our hazardous waste end up?">Environmental Justice and the NIMBY Principle</A><li>Prairie Dogs: Small mammal, big controversy<ul class="SM"><li><A HREF="/yogi/environmental/200703prairiedogs.html" title="In the Midwest U.S. the matter of whether prairie dogs are a threatened species or an over populated public health nuisance that causes severe econ...">Prairie Dogs: A Threatened Species or Public Health Nuisance?</A><li><A HREF="/yogi/environmental/200704prairiedogcontrolnonlethal.html" title="A discussion of differenct non-lethal prairie dog control measures.">Prairie Dog Control: Non-Lethal Techniques</A><li><A HREF="/yogi/environmental/200704prairiedogcontrollethal.html" title="A discussion of differenct lethal prairie dog control measures.">Prairie Dog Control: Lethal Techniques</A><li><A HREF="/yogi/environmental/200706prairiedogreconciliation.html" title="The concept of reconciliation ecology is to accommodate wild species within a human modified or occupied landscape. So how can this be applied to p...">Can Prairie Dogs be Managed Utilizing Reconciliation Ecology?</A></ul><li><A HREF="/yogi/environmental/pseudoscience2004.html" title="Pseudoscience that threatens the integrity of science in America.">Pseudoscience: A Threat to Our Environment</A><li><A HREF="/yogi/environmental/200608junkscience.html" title="Do you know how to separate science from pseudoscience? Many websites are sponsored by organizations that have specific agendas.">Sorting out Science from Junk Science</A></ul><li><div>Pollution - Air</div><ul class="SM"><li><A HREF="/yogi/environmental/200602airpollution.html" title="Air pollution caused by products you use every day can harm your health.">Effects of Air Pollution on your health</A><li><A HREF="/yogi/environmental/mercurypollution2005-pt2.html" title="Clean Air Act Amendments of 1970 and 1977 Set the Stage for the Mercury Calamity of the 21st Century.">Clean Air Act Contributing to Mercury Problem</A><li><A HREF="/yogi/environmental/200912_nitrogen_dioxide_ozone_and_lead_endanger_children.html" title="Scientists at the University of California, Irvine have found that Nitrogen Dioxide and Ozone react with surfaces painted with lead based paint to ...">Nitrogen Dioxide, Ozone &amp; Lead Partner to Increase Pollution Dangers to Urban Children</A><li><A HREF="/yogi/environmental/200602outdoorwoodfurnaces.html" title="Emissions from outdoor wood burning stoves drift across property lines raising health concerns for neighbors.">The Heat facing Outdoor Wood Furnaces &amp; Boilers</A></ul><li><div>Pollution - Water</div><ul class="SM"><li><A HREF="/yogi/environmental/200510hudsonriverpcbs.html" title="Many parties are responsible for the decades-long PCB contamination of the Hudson River. Who must ultimately pay the price for cleanup? Forensic ch...">PCBs in New York's Hudson River</A><li><A HREF="/yogi/environmental/mercurypollution2005.html" title="Outdated coal fired powerplants are contributing to increased mercury levels in lakes and streams.">Increased Mercury Levels Attributed to Industrial Activities</A><li><A HREF="/yogi/environmental/200512concordriverpollution.html" title="In Massachusetts, the Concord River, along with its tributaries, serve as an example of the implications that pollutants can have on our environment.">Environmental Pollution of the Concord River</A></ul><li><div>Waste &amp; Recycling</div><ul class="SM"><li><A HREF="/yogi/environmental/household.html" title="There are a lot of dangerous chemicals in your home. Here are some things to do to make it safer.">Guide to Handling Household Chemicals</A><li><A HREF="/yogi/environmental/200604recycledpaper.html" title="Just like anything else, the recycled paper you buy may not always be what it seems.">How Well Do You Know Recycled Paper?</A><li><A HREF="/yogi/hazmat/articles/trash.html" title="Many municipal landfills have the situation well in hand; do you?">Protecting Wildlife from Trash</A><li><A HREF="/yogi/environmental/200702plasticrecycling.html" title="Where do recyclable plastics go? If a plastic makes it into the recycling loop, it will go through many processes before it emerges as a recycled p...">Plastics - From Recycling Bin to New Product</A><li><A HREF="/yogi/environmental/200705rohs.html" title="The European Union (EU) member states are taking action and holding manufacturers responsible for the hazardous materials in their products.">RoHS: Europe's Initiative to Control Technological Waste</A><li><A HREF="/yogi/environmental/medicalwaste.html" title="Gives insight as to how medical waste is disposed of in America.">Treatment of Biohazardous Waste</A><li><A HREF="/yogi/environmental/wastehistory.html" title="Do you want to be a Garbologist?">The History of Waste</A></ul></ul><h3 class="H3M">Chemistry</h3><ul class="PMenu"><li><div>Articles</div><ul class="SM"><li><A HREF="/yogi/periodic/atom_anatomy.html" title="Explains the structure of atoms and how this affects the way they interact with each other.">Anatomy of the Atom</A><li><A HREF="/yogi/chemistry/pcb.html" title="PCB, The Manmade Chemicals That Won't Go Away">The Chemistry of Polychlorinated Biphenyls</A><li><A HREF="/yogi/reference/molar.html" title="A tutorial on Molar mass calculations with examples and a molecular weight calculator to aid calculations.">Molar Mass Calculations and Molecular Weight Calculator</A><li><A HREF="/yogi/chemistry/MolarityMolalityNormality.html" title="Introduces stoichiometry and explains the differences between molarity, molality and normality.">Stoichiometry: Molarity, Molality and Normality</A><li><A HREF="/yogi/chemistry/200609fluorine.html" title="Fluoride's derivatives have many uses other than as a mouthwash.">What You Do and Don't Know About Fluorine</A></ul><li><div>Reference Resources</div><ul class="SM"><li><A HREF="/yogi/chemicals/" title="An indexed directory of common chemicals used in industry and household products.">Chemical Database</A><li><A HREF="/yogi/chemistry/dictionary/index.html" title="Defines many of the technical terms and acronyms used on this site as well as many other terms.">Chemistry Dictionary</A><li><A HREF="/yogi/periodic/" title="Comprehensive data for each element of the periodic table including up to 40 properties, common chemical compounds. Information also provided for 3...">Periodic Table of Elements</A><li><label for="PTOEDDD">Sort periodic table by: <select onchange="window.location='/yogi/periodic/'+this.options[this.selectedIndex].value+'.html'" id="PTOEDDD"><option SELECTED>select order<option value="atomicradius">Atomic Radius<option value="boilingpoint">Boiling Point<option value="covalentradius">Covalent Radius<option value="crosssection">Cross Section<option value="crystal">Crystal Structure<option value="density">Density<option value="electrical">Electrical Conductivity<option value="electronegativity">Eletronegativity<option value="meltingpoint">Freezing Point<option value="vaporization">Heat of Vaporization<option value="ionicradius">Ionic Radius<option value="1stionization">Ionization Potential<option value="mass">Mass Average<option value="meltingpoint">Melting Point<option value="name">Name<option value="index">Periodic Table<option value="series">Series<option value="symbol">Symbol<option value="thermal">Thermal Conductivity<option value="year">Year of Discovery</select></label></ul></ul><h3 class="H3M">Hazardous Materials</h3><ul class="PMenu"><li><div>Household</div><ul class="SM"><li><A HREF="/yogi/environmental/household.html" title="There are a lot of dangerous chemicals in your home. Here are some things to do to make it safer.">Guide to Handling Household Chemicals</A><li><A HREF="/yogi/hazmat/200606lawnchemicals.html" title="Each year consumers paint their lawns with various fertilizers, herbicides and pesticides. These chemicals can be deadly if used incorrectly.">The Dangers of Lawn Chemicals at Home</A></ul><li><div>Industry</div><ul class="SM"><li><A HREF="/yogi/hazmat/erg/" title="An online version of the USDOT ERG which is for first responders during the initial phase of a HazMat incident.">Emergency Response Guidebook (ERG)</A><ul class="SM"><li>List materials by<ul class="SM"><li><A HREF="/yogi/hazmat/erg/">UN Number</A><li><A HREF="/yogi/hazmat/erg/ob/name.html">Material Name</A></ul></ul><li><A HREF="/yogi/hazmat/table/" title="USDOT hazardous materials table from 49CFR 172.101.">49CFR USDOT Hazardous Materials Table</A><li><A HREF="/yogi/hazmat/placards/" title="Images and definitions of hazardous materials placards required by the USDOT when transporting dangerous goods.">USDOT HazMat Placards</A><ul class="SM"><li><label for="PlacardDD" title="Select hazard class/division"><select onchange="window.location='/yogi/hazmat/placards/'+this.options[this.selectedIndex].value+'.html'" id="PlacardDD"><option SELECTED> Select Class/Div.<option value="class1">1 Explosives<option value="class2">2 Compressed Gas<option value="class3">3 Flammable Liquid<option value="class4">4 Flammable Solids<option value="class5">5 Oxidizers<option value="class6">6.1 Poisons<option value="class7">7 Radioactives<option value="class8">8 Corrosives<option value="class9">9 Miscellaneous<option value="etc">Related Markings</select></label></ul><li><A HREF="/yogi/hazmat/compliance/quiz.html" title="Test your knowledge of USDOT HazMat placarding regulations (49CFR).">Placarding Quiz</A><li><A HREF="/yogi/hazmat/placards/PlacardingCD.html" title="Contains clipart versions of hazmat placards. Includes USDOT hazmat transportation training modules as a free bonus.">USDOT HazMat Placards CD &amp; training modules</A><li><A HREF="/yogi/hazmat/compliance/200601ExceptionsExemptionsVariances.html" title="All Leniencies are not created equally, what are the differences?">Exceptions, Exemptions and Variances</A><li><A HREF="/yogi/hazmat/compliance/HazMatTransportionPermitSystem.html" title="Federal Motor Carrier Safety Administration's hazardous materials transportation permitting system.">FMCSA HazMat Transportion Permit System</A></ul></ul></nav></div></div><div class="VB ColumnHeight ScreenOnly"></div></div><nav><div class="BN"><ul class="BNUL"><li class="BNLI"><A href="/yogi/privacy.html" class="BNA">Privacy Statement</A><li class="BNLI"><A href="/terms.html" class="BNA">Terms of Service</A><li class="BNLI"><a href="/yogi/about.html" class="BNA">About Us</a><li class="BNLI"><a href="/" class="BNA">Site Directory</a><li class="BNLI"><A href="/contact.html" class="BNA">Contact Us</a><li class="BNLI"><A href="http://twitter.com/envirochem" class="BNA">Follow Us on Twitter</a></ul></div></nav><footer><div class="Copyright">Copyright 1995 - 2024 Kenneth L Barbalace (<a href="https://KLBProductions.com/" title="Custom website development and database application development in Saco Maine.">J.K. Barbalace, inc., website development</a>)<br>NO REPUBLISHING IN ANY FORM (including on other websites), in whole or in part, for any reason, without written permission.<br><span class="NoPrint">A few words about <a href="http://blog.environmentalchemistry.com/2007/10/plagiarism-copyright-infringement-fair.html">Plagiarism, Copyright Infringement and Fair Use</a><br></span> <span class="PrintOnly">Printed from https://EnvironmentalChemistry.com</span></div></footer></div><script type="text/javascript">var sEl='',temp='',vMM=0,dM=document.MMC,formula='',DataError=false,nEl='',mP,aM='',aMM='',aG='';NoA=new Array(0,0,0,0,0,0,0,0,0,0,0,0);PoM=new Array(0,0,0,0,0,0,0,0,0,0,0,0);aNA=new Array(0,0,0,0,0,0,0,0,0,0,0,0);compound=new cmpd(NoA,aNA,vMM);a=new mA(109);a[1]=new El('H','1.00794',5);a[2]=new El('He','4.002602',6);a[3]=new El('Li','6.941',3);a[4]=new El('Be','9.012182',6);a[5]=new El('B','10.811',3);a[6]=new El('C','12.011',3);a[7]=new El('N','14.00674',5);a[8]=new El('O','15.9994',4);a[9]=new El('F','18.9984032',7);a[10]=new El('Ne','20.1797',4);a[11]=new El('Na','22.989768',6);a[12]=new El('Mg','24.3050',4);a[13]=new El('Al','26.981539',6);a[14]=new El('Si','28.0855',4);a[15]=new El('P','30.973762',6);a[16]=new El('S','32.066',3);a[17]=new El('Cl','35.4527',4);a[18]=new El('Ar','39.948',3);a[19]=new El('K','39.0983',4);a[20]=new El('Ca','40.078',3);a[21]=new El('Sc','44.955910',6);a[22]=new El('Ti','47.88',2);a[23]=new El('V','50.9415',4);a[24]=new El('Cr','51.9961',4);a[25]=new El('Mn','54.93805',5);a[26]=new El('Fe','55.847',3);a[27]=new El('Co','58.93320',5);a[28]=new El('Ni','58.6934',4);a[29]=new El('Cu','63.546',3);a[30]=new El('Zn','65.39',2);a[31]=new El('Ga','69.723',3);a[32]=new El('Ge','72.61',2);a[33]=new El('As','74.92159',5);a[34]=new El('Se','78.96',2);a[35]=new El('Br','79.904',3);a[36]=new El('Kr','83.80',2);a[37]=new El('Rb','85.4678',4);a[38]=new El('Sr','87.62',2);a[39]=new El('Y','88.90585',5);a[40]=new El('Zr','91.224',3);a[41]=new El('Nb','92.90638',5);a[42]=new El('Mo','95.94',2);a[43]=new El('Tc','98',0);a[44]=new El('Ru','101.07',2);a[45]=new El('Rh','102.90550',5);a[46]=new El('Pd','106.42',2);a[47]=new El('Ag','107.8682',4);a[48]=new El('Cd','112.411',3);a[49]=new El('In','114.82',2);a[50]=new El('Sn','118.710',3);a[51]=new El('Sb','121.757',3);a[52]=new El('Te','127.60',2);a[53]=new El('I','126.90447',5);a[54]=new El('Xe','131.29',2);a[55]=new El('Cs','132.90543',5);a[56]=new El('Ba','137.327',3);a[57]=new El('La','138.9055',4);a[58]=new El('Ce','140.115',3);a[59]=new El('Pr','140.90765',5);a[60]=new El('Nd','144.24',2);a[61]=new El('Pm','145',0);a[62]=new El('Sm','150.36',2);a[63]=new El('Eu','151.965',3);a[64]=new El('Gd','157.25',2);a[65]=new El('Tb','158.92534',5);a[66]=new El('Dy','162.50',2);a[67]=new El('Ho','164.93032',5);a[68]=new El('Er','167.26',2);a[69]=new El('Tm','168.93421',5);a[70]=new El('Yb','173.04',2);a[71]=new El('Lu','174.967',3);a[72]=new El('Hf','178.49',2);a[73]=new El('Ta','180.9479',4);a[74]=new El('W','183.85',2);a[75]=new El('Re','186.207',3);a[76]=new El('Os','190.2',1);a[77]=new El('Ir','192.22',2);a[78]=new El('Pt','195.08',2);a[79]=new El('Au','196.96654',5);a[80]=new El('Hg','200.59',2);a[81]=new El('Tl','204.3833',4);a[82]=new El('Pb','207.2',2);a[83]=new El('Bi','208.98037',5);a[84]=new El('Po','209',0);a[85]=new El('At','210',0);a[86]=new El('Rn','222',0);a[87]=new El('Fr','223',0);a[88]=new El('Ra','226.0254',4);a[89]=new El('Ac','227',0);a[90]=new El('Th','232.0381',4);a[91]=new El('Pa','213.0359',4);a[92]=new El('U','238.0289',4);a[93]=new El('Np','237.0482',4);a[94]=new El('Pu','244',0);a[95]=new El('Am','243',0);a[96]=new El('Cm','247',0);a[97]=new El('Bk','247',0);a[98]=new El('Cf','251',0);a[99]=new El('Es','252',0);a[100]=new El('Fm','257',0);a[101]=new El('Md','258',0);a[102]=new El('No','259',0);a[103]=new El('Lr','260',0);a[104]=new El('Rf','261',0);a[105]=new El('Db','262',0);a[106]=new El('Sg','263',0);a[107]=new El('Bh','262',0);a[108]=new El('Hs','265',0);a[109]=new El('Mt','266',0);function cmpd(NoA,aNA,MMM,printString){this.NoA=NoA;this.aNA=aNA;this.MMM=MMM;this.printString=printString};function ParseFormula(formula){var c=0;x=0;y=0;c1=0;m1=0;m2=-1;loopCount=0;DataError=false;multiplier=1;a1=new Array(0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0);a2=new Array(0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0);while(c<=formula.length-1&&!DataError){AN=findAN(formula.substring(c,c+2));if(AN==-1){AN=findAN(formula.substring(c,c+1));y=1}else y=2;if(AN>-1){m2=-1;for(var c2=0;c2<=11;c2++){if(a2[c2]==AN){m2=c2;break}}if(m2>=0){m1=m2;loopCount-=1}else m1=loopCount;c+=y;a2[m1]=AN;var OK=true,c3=0;while(OK&&c+c3<=formula.length-1){AN=findNum(formula.substring(c+c3,c+c3+1));if(AN>=0)c3++;else OK=false}if(c3>0){if(m2>=0)a1[m1]+= parseInt(formula.substring(c,c+c3))*multiplier;else a1[m1]=parseInt(formula.substring(c,c+c3))*multiplier}else{if(m2>=0)a1[m1]+= 1*multiplier;else a1[m1]=1*multiplier}c+= c3;loopCount++}else{AN='[]().'.indexOf(formula.substring(c,c+1));if(AN==-1){DataError=true;break}if(AN==0||AN==2){if(AN==2){var zz=0;for(x=c;x<=formula.length-1;x++){if(formula.substring(x,x+1)==')'){zz=x;break}}}else{for(x=c;x<=formula.length-1;x++){if(formula.substring(x,x+1)==']'){zz=x;break}}}var c4=1;OK=true;while(OK&&zz+c4<=formula.length-1){var AN1=findNum(formula.substring(zz+c4,zz+c4+1));if(AN1>=0)c4++;else OK=false}if(c4>1){var z=parseInt(formula.substring(1+zz,c4+zz));multiplier=multiplier*z}c++}if(AN==1||AN==3){var c5=1;OK=true;while(OK&&c+c5<=formula.length-1){var AN1=findNum(formula.substring(c+c5,c+c5+1));if(AN1>=0)c5++;else OK=false}if(c5>1){multiplier=Math.round(multiplier/parseInt(formula.substring(c+1,c+c5)))}c+=c5}if(AN==4){var c6=1;OK=true;while(OK&&c+c6<=formula.length-1){var AN1=findNum(formula.substring(c+c6,c+c6+1));if(AN1>=0)c6++;else OK=false}if(c6>1){multiplier*=parseInt(formula.substring(c+1,c+c6))}c+=c6}}}nEl=loopCount-1;for(var i=0;i<=nEl;i++){NoA[i]=a1[i];aNA[i]=a2[i]}}function findAN(aSym){var AN=0;if(aSym.length==1)aSym+='*';var x=sEl.indexOf(aSym);AN=(x==-1)?x:(x/2)+1;return AN}function findNum(ch){var numstring='0123456789',x=numstring.indexOf(ch);return x}function CalculateMass(){MMM=0;for(var c=0;c<=nEl;c++){var x=aNA[c];MMM+=a[x]['mass']*NoA[c]}}function El(sym,mass,SigD){this.sym=sym;this.mass=mass;this.SigD=SigD}function mA(arraySize){this.length=arraySize;for(var c=0;c<=arraySize;c++){this[c]=0}return this}function makestrEl(){for(var c=1;c<=a.length;c++){sEl+=a[c]['sym'];if(a[c]['sym'].length==1)sEl+='*'}return sEl}function writeOut(){makestrEl();formula=dM.ChemicalFormula.value;if(formula==''){dM.vMM.value='Please enter a formula';dM.Gram.value='in the formula field.';dM.Sig.value='and click on "Calculate"'}else{ParseFormula(formula);if(!DataError){CalculateMass();Presorted=new Array('','','','','','','','','','','','');dM.C1.value='';dM.C2.value='';dM.C3.value='';dM.C4.value='';dM.C5.value='';dM.C6.value='';dM.C7.value='';dM.C8.value='';dM.C9.value='';dM.C10.value='';dM.C11.value='';dM.C12.value='';c1=5;var aAMA='',SD=8;for(var c=0;c<=nEl;++c){if(a[aNA[c]]['sym']=='H'||a[aNA[c]]['sym']=='B'||a[aNA[c]]['sym']=='C'||a[aNA[c]]['sym']=='N'||a[aNA[c]]['sym']=='F'||a[aNA[c]]['sym']=='P'||a[aNA[c]]['sym']=='S'||a[aNA[c]]['sym']=='K'||a[aNA[c]]['sym']=='V'||a[aNA[c]]['sym']=='Y'||a[aNA[c]]['sym']=='I'||a[aNA[c]]['sym']=='U'||a[aNA[c]]['sym']=='O'){a[aNA[c]]['sym']=a[aNA[c]]['sym']+' '};if(NoA[c]<10){NoA[c]=' '+NoA[c]};PoM[c]=Math.round((parseFloat(a[aNA[c]]['mass'])*NoA[c]*100/MMM)*100)/100;if((PoM[c]*10)%10==0){mP='.00'}else if((PoM[c]*100)%10==0){mP='0'}else mP='';if(PoM[c]==100){PoM[c]=' '+PoM[c]+'% '}else if(PoM[c]<1.0){PoM[c]=' '+PoM[c]+mP+'% '}else if(PoM[c]<10.0){PoM[c]=' '+PoM[c]+mP+'% '}else PoM[c]=PoM[c]+mP+'% ';if(parseFloat(a[aNA[c]]['mass'])<10){aAMA=' '}else if(parseFloat(a[aNA[c]]['mass'])<100){aAMA=' '}else aAMA='';Presorted[c]=PoM[c]+' '+a[aNA[c]]['sym']+' '+NoA[c]+' '+aAMA+a[aNA[c]]['mass'];if(a[aNA[c]]['SigD']==0){SD=0}else if(a[aNA[c]]['SigD']==1){if(SD>1){SD=1}}else if(a[aNA[c]]['SigD']==2){if(SD>2){SD=2}}else if(a[aNA[c]]['SigD']==3){if(SD>3){SD=3}}else if(a[aNA[c]]['SigD']==4){if(SD>4){SD=4}}else if(a[aNA[c]]['SigD']==5){if(SD>5){SD=5}}else if(a[aNA[c]]['SigD']==6){if(SD>6){SD=6}}else if(a[aNA[c]]['SigD']==7){if(SD>7){SD=7}}else if(a[aNA[c]]['SigD']>7){if(SD>7){SD=8}};c1++}var lG='',leadMole='';if(1000/MMM<1&& parseInt((1000/MMM)*10)%10>0 ){lG='0'};if(parseInt(MMM/100)%10>0&&MMM/1000<1){leadMole='0'};var aGA='',aMMA='',aMA='';if(SD==0){aMMA=Math.round(MMM);aGA='1 gram = '+Math.round(1000/MMM/1000)+' Mole'}else if(SD==1){aMM=Math.round(MMM*10)/10;if(aMM*10%10==0){aMMA=aMM+'.0'}else aMMA=aMM;aG=Math.round(10000/MMM/1000)/10;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==2){aMM=Math.round(MMM*100)/100;if(aMM*10%10==0){aMMA=aMM+'.00'}else if(aMM*100%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(100000/MMM/1000)/100;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.00 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==3){aMM=Math.round(MMM*1000)/1000;if(aMM*10%10==0){aMMA=aMM+'.000'}else if(aMM*100%10==0){aMMA=aMM+'00'}else if(aMM*1000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(1000000/MMM/1000)/1000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==4){aMM=Math.round(MMM*10000)/10000;if(aMM*10%10==0){aMMA=aMM+'.0000'}else if(aMM*100%10==0){aMMA=aMM+'000'}else if(aMM*1000%10==0){aMMA=aMM+'00'}else if(aMM*10000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(10000000/MMM/1000)/10000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.0000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'000 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*10000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==5){aMM=Math.round(MMM*100000)/100000;if(aMM*10%10==0){aMMA=aMM+'.00000'}else if(aMM*100%10==0){aMMA=aMM+'0000'}else if(aMM*1000%10==0){aMMA=aMM+'000'}else if(aMM*10000%10==0){aMMA=aMM+'00'}else if(aMM*100000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(100000000/MMM/1000)/100000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.00000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'0000 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'000 Mole'}if(aG*10000%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*100000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==6){aMM=Math.round(MMM*1000000)/1000000;if(aMM*10%10==0){aMMA=aMM+'.000000'}else if(aMM*100%10==0){aMMA=aMM+'00000'}else if(aMM*1000%10==0){aMMA=aMM+'0000'}else if(aMM*10000%10==0){aMMA=aMM+'000'}else if(aMM*100000%10==0){aMMA=aMM+'00'}else if(aMM*1000000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(1000000000/MMM/1000)/1000000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.000000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'00000 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'0000 Mole'}if(aG*10000%10==0){aGA='1 gram = '+lG+aG+'000 Mole'}if(aG*100000%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*1000000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD==7){aMM=Math.round(MMM*10000000)/10000000;if(aMM*10%10==0){aMMA=aMM+'.0000000'}else if(aMM*100%10==0){aMMA=aMM+'000000'}else if(aMM*1000%10==0){aMMA=aMM+'00000'}else if(aMM*10000%10==0){aMMA=aMM+'0000'}else if(aMM*100000%10==0){aMMA=aMM+'000'}else if(aMM*1000000%10==0){aMMA=aMM+'00'}else if(aMM*10000000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(10000000000/MMM/1000)/10000000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.0000000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'000000 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'00000 Mole'}if(aG*10000%10==0){aGA='1 gram = '+lG+aG+'0000 Mole'}if(aG*100000%10==0){aGA='1 gram = '+lG+aG+'000 Mole'}if(aG*1000000%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*10000000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'}else if(SD>7){aMM=Math.round(MMM*10000000000)/10000000000;if(aMM*10%10==0){aMMA=aMM+'.00000000'}else if(aMM*100%10==0){aMMA=aMM+'0000000'}else if(aMM*1000%10==0){aMMA=aMM+'000000'}else if(aMM*10000%10==0){aMMA=aMM+'00000'}else if(aMM*100000%10==0){aMMA=aMM+'0000'}else if(aMM*1000000%10==0){aMMA=aMM+'000'}else if(aMM*10000000%10==0){aMMA=aMM+'00'}else if(aMM*10000000%10==0){aMMA=aMM+'0'}else aMMA=aMM;aG=Math.round(100000000000/MMM/1000)/100000000;if(aG*10%10==0){aGA='1 gram = '+lG+aG+'.00000000 Mole'}if(aG*100%10==0){aGA='1 gram = '+lG+aG+'0000000 Mole'}if(aG*1000%10==0){aGA='1 gram = '+lG+aG+'000000 Mole'}if(aG*10000%10==0){aGA='1 gram = '+lG+aG+'00000 Mole'}if(aG*100000%10==0){aGA='1 gram = '+lG+aG+'0000 Mole'}if(aG*1000000%10==0){aGA='1 gram = '+lG+aG+'000 Mole'}if(aG*10000000%10==0){aGA='1 gram = '+lG+aG+'00 Mole'}if(aG*100000000%10==0){aGA='1 gram = '+lG+aG+'0 Mole'}else aGA='1 gram = '+lG+aG+' Mole'};for(i=0;i<nEl;i++){for(j=0;j<nEl-i;j++){if(Presorted[j]<Presorted[j+1]){temp=Presorted[j];Presorted[j]=Presorted[j+1];Presorted[j+1]=temp}}}dM.vMM.value='1 Mole = '+aMMA+'g';dM.Gram.value=aGA;dM.Sig.value='Significant Digits = '+SD;dM.C1.value=Presorted[0];dM.C2.value=Presorted[1];dM.C3.value=Presorted[2];dM.C4.value=Presorted[3];dM.C5.value=Presorted[4];dM.C6.value=Presorted[5];dM.C7.value=Presorted[6];dM.C8.value=Presorted[7];dM.C9.value=Presorted[8];dM.C10.value=Presorted[9];dM.C11.value=Presorted[10];dM.C12.value=Presorted[11]}else FormulaError()}};function FormulaError(){dM.vMM.value='Error!';dM.Gram.value='Please restructure';dM.Sig.value='your formula!';dM.C1.value='';dM.C2.value='';dM.C3.value='';dM.C4.value='';dM.C5.value='';dM.C6.value='';dM.C7.value='';dM.C8.value='';dM.C9.value='';dM.C10.value='';dM.C11.value='';dM.C12.value=''};function Prepare(){dM.ChemicalFormula.value='(KMgCl3).6H2O';writeOut()};function ClearForm(){dM.ChemicalFormula.value='';dM.vMM.value='';dM.Gram.value='';dM.Sig.value='';dM.C1.value='';dM.C2.value='';dM.C3.value='';dM.C4.value='';dM.C5.value='';dM.C6.value='';dM.C7.value='';dM.C8.value='';dM.C9.value='';dM.C10.value='';dM.C11.value='';dM.C12.value=''};Prepare();</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10