molecalculator

Moles & Molar Mass

Molecular Mass of Sodium Hydroxide: 40.00 g/mol

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

Molar mass 39.997 g/mol
Mass per formula unit
39.997 u
= Molar mass
Sodium atoms
1 count
Set in the form below
Oxygen atoms
1 count
Set in the form below
You enter
Sodium atoms (count), Oxygen atoms (count), Hydrogen atoms (count)
You get
Molar mass (g/mol), Mass per formula unit (u)
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.

The molecular mass of sodium hydroxide (NaOH) is approximately 40.00 atomic mass units (u) per formula unit; its molar mass is approximately 40.00 g/mol. This calculator adds the standard atomic weights of sodium, oxygen, and hydrogen to find the mass per mole from a chemical formula.

Formula

For a formula containing sodium, oxygen, and hydrogen, multiply each element’s atom count by its standard atomic weight, then add the products:

M = (nNa × 22.990) + (nO × 15.999) + (nH × 1.008)

  • M is the molar mass in grams per mole (g/mol). The same numerical value gives the mass of one formula unit in unified atomic mass units (u).
  • nNa, nO, nH are the numbers of sodium, oxygen, and hydrogen atoms in the formula. For NaOH, each count is 1.
  • 22.990, 15.999, and 1.008 are the abridged standard atomic weights used here for sodium, oxygen, and hydrogen, respectively.

The calculator accepts atom counts, so it can also evaluate a different composition of these three elements. For ordinary sodium hydroxide, leave all three inputs at 1. The two outputs report the matching numerical value in g/mol and u; they describe different quantities and units.

Worked Example

Using the default counts for NaOH:

M = (1 × 22.990) + (1 × 15.999) + (1 × 1.008)

M = 22.990 + 15.999 + 1.008 = 39.997 g/mol

Rounded to the calculator’s three decimal places, the result is 40.00 g/mol (displayed as 39.997 g/mol at three decimal places). The mass per formula unit is 39.997 u, likewise approximately 40.00 u.

Assumptions

  • The formula is interpreted as a count of individual atoms; the default composition is one Na, one O, and one H.
  • The calculation uses the listed abridged standard atomic weights, not isotope-specific masses.
  • The result is a formula mass for NaOH. It does not include water, impurities, or other substances in a sample.

Why Sodium Hydroxide Is Described by a Formula Unit

Sodium hydroxide is an ionic compound made of sodium ions (Na+) and hydroxide ions (OH−). In a solid sample, these ions form an extended ionic lattice rather than separate, discrete NaOH molecules. For that reason, “formula mass” or “mass per formula unit” is more precise than “molecular mass,” although molecular mass is a common search term and is often used informally.

The formula NaOH shows the simplest whole-number ratio of ions: one sodium ion for each hydroxide ion. A formula unit therefore contains one sodium atom, one oxygen atom, and one hydrogen atom for the purpose of counting atomic masses. The equal positive and negative charges also make the overall compound electrically neutral.

What the Number Means in Practice

A molar mass of 39.997 g/mol means one mole of sodium hydroxide formula units has a mass of about 39.997 g. A mole is a counting unit containing exactly 6.02214076 × 1023 specified entities. Here, those entities are formula units, not individual NaOH molecules floating independently in the solid.

The value is useful for general chemistry arithmetic, such as converting a known mass into an amount of substance. For example, the conversion is amount in moles = sample mass in grams ÷ 39.997 g/mol. This relation does not say that a real sample is perfectly pure: purity, water absorption, and contamination can change how much actual NaOH it contains.

Do not confuse molar mass with concentration. Molar mass describes mass per mole of a substance; concentration describes how much substance is present in a specified volume or mass of mixture. Calculating a solution concentration also requires relevant sample and solution information, not just the formula mass.

Common Questions About Rounding and Forms

Some references state the molar mass as 40.00 g/mol, while a calculation from the displayed atomic weights gives 39.997 g/mol. These are consistent: 39.997 rounds to 40.00 when written to two decimal places. Keeping extra digits during intermediate calculations and rounding the final answer to suit the precision of the data avoids unnecessary rounding error.

Solid sodium hydroxide is hygroscopic: it readily takes up moisture from air, and it can also absorb carbon dioxide. A weighed portion may therefore contain water or reaction products as well as NaOH. Its measured mass is not necessarily the mass of pure, dry sodium hydroxide, so a formula-mass calculation alone cannot establish sample purity.

Hydrated sodium hydroxide is not represented by the formula NaOH alone if water is included in the stated composition. For example, a hypothetical hydrate written NaOH·H2O has an additional water unit, so its formula mass includes two more hydrogen atoms and one more oxygen atom. Use the complete formula when a hydrate or other defined compound is being calculated.

Frequently Asked Questions

What is the molecular mass of NaOH?
It is approximately 40.00 u per formula unit, calculated as 22.990 + 15.999 + 1.008 = 39.997 u.

What is the molar mass of sodium hydroxide?
It is approximately 40.00 g/mol. Using the atomic weights shown here gives 39.997 g/mol before rounding.

Why do some sources say 40 g/mol?
That is the same result rounded to a whole number. More digits may appear when a source retains additional precision in its calculation.

Is NaOH a molecule?
In solid sodium hydroxide, sodium and hydroxide ions form an ionic lattice. “Formula unit” is more accurate than “molecule” for the smallest ratio represented by NaOH.

Does 40 g/mol mean 40 g of sodium hydroxide in a solution?
No. It is the mass of one mole of NaOH, not a solution concentration. A solution calculation also needs information such as the amount of NaOH and the solution’s final volume.

Why can a weighed NaOH sample differ from the calculated mass?
The calculation gives the mass for pure NaOH. Real material can absorb moisture and carbon dioxide from air, so its composition may not match the pure formula.

Safety and Scope

Sodium hydroxide is strongly caustic and can cause severe skin and eye burns. This page provides formula-mass arithmetic, not handling instructions. For any bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Related

Formula used
in na | Sodium atoms | count | 1 | 0
in o | Oxygen atoms | count | 1 | 0
in h | Hydrogen atoms | count | 1 | 0
out mm | Molar mass | g/mol | na * 22.990 + o * 15.999 + h * 1.008 | 3
out unitmass | Mass per formula unit | u | mm | 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 →