molecalculator

Moles & Molar Mass

Molar Mass for h: Planck’s Constant and the Mole

Calculator No. 01-4182 · Updated · Formula and assumptions shown below

Molar mass 2.016 g/mol
Number of hydrogen atoms
2 atoms
Set in the form below
Number of carbon atoms
0 atoms
Set in the form below
Number of oxygen atoms
0 atoms
Set in the form below
Number of nitrogen atoms
0 atoms
Set in the form below
You enter
Number of hydrogen atoms (atoms), Number of carbon atoms (atoms), Number of oxygen atoms (atoms), Number of nitrogen atoms (atoms)
You get
Molar mass (g/mol)
Rounding
3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

If you mean the lowercase symbol h for Planck’s constant, its molar mass is not defined: Planck’s constant is a physical constant, not a chemical substance. Its exact SI value is 6.62607015 × 10−34 J·s. This calculator instead finds the molar mass of a chemical formula containing hydrogen, such as H2 or H2O.

Formula

For a formula containing only hydrogen, carbon, oxygen, and nitrogen, add the contribution of each element:

M = n(1.008) + x(12.011) + y(15.999) + z(14.007)

  • M is molar mass in g/mol.
  • n, x, y, and z are the counts of hydrogen, carbon, oxygen, and nitrogen atoms in one molecule or formula unit.
  • 1.008, 12.011, 15.999, and 14.007 are the respective abridged standard atomic weights, expressed here as grams per mole of atoms.

The calculator is a small illustrative calculator for formulas made from these four elements. Set a count to zero if that element is absent. Its first result is the molar mass in g/mol. For compounds containing other elements, add their atomic-weight contributions separately; do not treat a partial sum as the compound’s full molar mass.

Worked Example

The defaults represent H2: two hydrogen atoms, with no carbon, oxygen, or nitrogen. Substitution gives:

M = 2 × 1.008 + 0 × 12.011 + 0 × 15.999 + 0 × 14.007

M = 2.016 g/mol

So the molar mass of molecular hydrogen, H2, using the atomic weight shown, is 2.016 g/mol. This is the mass of one mole of H2 molecules, not the mass of one molecule.

Assumptions

  • The input counts are nonnegative whole-number atom counts for one chemical formula.
  • The formula is understood to describe a neutral substance unless its charge and ionic form are specified separately.
  • The displayed atomic weights are the stated abridged standard values; isotope-specific samples can have different molar masses.
  • The calculator covers H, C, O, and N only. It does not account for other elements, isotopic labeling, or a sample’s purity.

What “h” Can Mean

The question “Molar mass for h?” can refer to two different things. In physics, lowercase h conventionally denotes Planck’s constant, which relates a photon’s energy to its frequency through E = hν. It has units of joule-seconds (J·s), not grams per mole. Because it is not made of atoms or molecules, it has no chemical molar mass.

In chemical formulas, uppercase H is the element symbol for hydrogen. A single hydrogen atom has an abridged standard atomic weight of 1.008, numerically corresponding to a molar mass of about 1.008 g/mol for hydrogen atoms. The distinction between uppercase H and lowercase h matters: element symbols are case-sensitive.

Hydrogen gas is normally represented by H2, because ordinary elemental hydrogen molecules contain two hydrogen atoms. Its molar mass is therefore approximately 2 × 1.008 = 2.016 g/mol. The calculator’s default uses this formula as a simple example.

How Molar Mass Is Calculated

Molar mass is the mass per amount of substance, usually reported in grams per mole (g/mol). To calculate it, identify the chemical formula, count the atoms represented by each element’s subscript, multiply each count by that element’s atomic weight, and add the contributions.

For example, water is H2O: it contains two hydrogen atoms and one oxygen atom per molecule. Its molar mass is 2 × 1.008 + 15.999 = 18.015 g/mol. The 2 applies only to H; an element without a written subscript has an implied count of one.

For a formula such as CO2, count one carbon and two oxygen atoms: 12.011 + 2 × 15.999 = 44.009 g/mol. Parentheses in a formula require multiplying every atom inside them by the subscript outside the parentheses. For example, in a formula with (OH)2, both O and H occur twice. The calculator does not parse parentheses or full formulas; it accepts atom counts so you can verify the arithmetic transparently.

Atomic Weight, Isotopes, and Precision

Atomic weights used for ordinary molar-mass calculations reflect the element’s isotopic composition and are not always whole numbers. The values here follow commonly used abridged standard atomic weights: H 1.008, C 12.011, N 14.007, and O 15.999. Their decimal places do not mean every sample has exactly the same isotope distribution.

A sample enriched in a particular isotope can have a different molar mass. For example, deuterium is a heavier hydrogen isotope than the most abundant hydrogen isotope. If a formula explicitly uses isotope labels, use the isotope masses and counts specified for that material rather than the standard average for hydrogen.

Keep enough digits during intermediate calculations, then round the final result to a precision appropriate for the measurement or purpose. A calculated molar mass is not automatically an experimentally measured mass, and extra displayed decimal places cannot remove uncertainty in composition or isotopic abundance.

Using Molar Mass Correctly

Molar mass converts between a sample’s mass and the amount of substance when the identity and formula are known:

  • Amount in moles = mass in grams ÷ molar mass in g/mol.
  • Mass in grams = amount in moles × molar mass in g/mol.
  • Number of particles = amount in moles × Avogadro’s constant, 6.02214076 × 1023 mol−1.

For instance, 18.015 g of water corresponds to approximately 1 mol using a molar mass of 18.015 g/mol. That does not mean every water sample has that mass; it means that amount of pure water contains one mole of water molecules under the stated formula convention.

Common errors include confusing atomic mass with molar mass, forgetting that hydrogen gas is H2, overlooking implied subscripts of one, and mixing units. Atomic mass is often expressed in unified atomic mass units per particle, while molar mass is expressed in g/mol; their numerical values are closely related, but their units and meanings differ.

Frequently Asked Questions

What is the molar mass of H?
For hydrogen atoms, the abridged standard value is 1.008 g/mol. The symbol H means a hydrogen atom in a formula, not Planck’s constant.

What is the molar mass of H2?
H2 contains two hydrogen atoms, so its molar mass is 2 × 1.008 = 2.016 g/mol.

Does Planck’s constant have a molar mass?
No. Planck’s constant, h = 6.62607015 × 10−34 J·s, is a physical constant with units of action, not a chemical substance.

Why is hydrogen’s atomic weight not exactly 1?
The standard atomic weight reflects naturally occurring hydrogen’s isotopic composition, including a small proportion of heavier isotopes, rather than the mass of only one isotope.

Is molar mass the same as molecular mass?
No. Molecular mass refers to the mass of an individual molecule, commonly expressed in daltons or unified atomic mass units. Molar mass is the mass of one mole of those molecules, expressed in g/mol.

Related

Formula used
in n | Number of hydrogen atoms | atoms | 2 | 0
in x | Number of carbon atoms | atoms | 0 | 0
in y | Number of oxygen atoms | atoms | 0 | 0
in z | Number of nitrogen atoms | atoms | 0 | 0
out mm | Molar mass | g/mol | n * 1.008 + x * 12.011 + y * 15.999 + z * 14.007 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →