molecalculator

Moles & Molar Mass

Molar Mass of Sodium Hydroxide (NaOH): 40.00 g/mol

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

Amount of NaOH 1.0001 mol
Formula units
6.023 × 1023
Result, rounded to 3 decimal places
Mass of sodium hydroxide
40 g
Set in the form below
Molar mass of NaOH
39.997 g/mol
Set in the form below
You enter
Mass of sodium hydroxide (g), Molar mass of NaOH (g/mol)
You get
Amount of NaOH (mol), Formula units
Rounding
4 dp · 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 molar mass (often called molecular weight, or MW) of sodium hydroxide, NaOH, is 39.997 g/mol, commonly rounded to 40.00 g/mol. Enter a sample mass and this molar mass to calculate the amount in moles and the equivalent number of formula units.

Formula

Amount in moles equals mass divided by molar mass: n = m / M. Here, n is the amount of sodium hydroxide in moles (mol), m is its mass in grams (g), and M is its molar mass in grams per mole (g/mol). The unit conversion follows directly: g ÷ (g/mol) = mol.

Formula units equal amount in moles multiplied by Avogadro’s constant: N = n × NA, where N is the number of NaOH formula units and NA is exactly 6.02214076 × 1023 mol−1. “Formula units,” rather than molecules, is the precise term for this ionic compound.

Worked Example

Using the calculator defaults, the sample mass is 40 g and the molar mass is 39.997 g/mol.

  1. Calculate moles: n = 40 g ÷ 39.997 g/mol = 1.0001 mol (rounded to four decimal places).
  2. Calculate formula units using the unrounded quotient: N = (40 ÷ 39.997) × 6.02214076 × 1023 = 6.0226 × 1023 (three significant figures).

Assumptions

  • The input mass represents pure, anhydrous NaOH. Commercial material can absorb moisture and carbon dioxide from air, changing the amount of NaOH in a weighed sample.
  • The calculation uses the stated molar mass, 39.997 g/mol, based on conventional atomic weights. The result is a formula-unit count, not a count of freely moving ions.
  • This is stoichiometric arithmetic; it does not account for impurities, hydration, incomplete transfer, or uncertainty in weighing.

How the NaOH Molar Mass Is Calculated

Sodium hydroxide has one sodium atom, one oxygen atom, and one hydrogen atom in each formula unit. Using abridged standard atomic weights, its molar mass is calculated by adding the contribution of each atom:

M(NaOH) = 22.990 + 15.999 + 1.008 = 39.997 g/mol.

The atomic weights are expressed numerically in unified atomic mass units for an individual atom, while the corresponding molar mass is expressed in grams per mole. The periodic table values are averages reflecting naturally occurring isotopic composition; consequently, the displayed molar mass is a conventional value rather than a claim that every sample or formula unit has an infinitely precise, identical mass.

For most routine calculations, using 40.00 g/mol is appropriate. Use more digits when a calculation’s required precision justifies it, but do not mistake extra calculator digits for extra certainty in the sample’s purity or measurement.

What the Calculator Result Means

The first result, amount in moles, tells you how much NaOH is represented by the entered mass. One mole corresponds to about 39.997 g of pure NaOH. The second result converts that amount to a count of formula units using Avogadro’s constant. It is usually more practical to work in moles than to handle such a very large particle count directly.

For example, a mass of 10.00 g corresponds to about 0.2500 mol when using 40.00 g/mol. The calculator’s defaults instead use 40 g and 39.997 g/mol, so its answer is 1.0001 mol—not exactly 1.0000 mol. The small difference arises because 40 is slightly greater than the entered molar mass.

This calculation does not determine solution concentration. Moles alone are not molarity: molarity also requires the final solution volume in liters, according to concentration = moles ÷ final volume. It also does not calculate pH, account for reaction yield, or establish whether a sample is pure.

Common Confusions and Calculation Limits

  • MW versus molar mass: “Molecular weight” is a familiar search term, but NaOH is an ionic solid, not a collection of discrete NaOH molecules. Molar mass is the more precise term; its numerical value in g/mol corresponds to the formula-unit mass convention.
  • Mass versus amount: A gram is a unit of mass; a mole is a unit of amount of substance. Do not enter a mass in milligrams as though it were grams. Convert milligrams to grams by dividing by 1,000.
  • Pure material versus pellets: Sodium hydroxide is hygroscopic and absorbs water; it also reacts with carbon dioxide in air. A weighed portion exposed to air may therefore contain less NaOH per gram than the pure-compound calculation assumes.
  • Rounding: Rounding the molar mass to 40.00 g/mol is convenient, but intermediate rounding can slightly alter results. Keep sufficient digits during calculation and round the final answer to match the precision of the mass and method.

For bench work, this calculator is only a planning aid; follow your lab method, the safety data sheet (SDS), and your supervisor. Sodium hydroxide is corrosive and can cause severe skin and eye burns. Avoid contact and dust or splashes, use the protective equipment and handling controls specified by the SDS, and consult appropriate first-aid guidance if exposure occurs.

Frequently Asked Questions

What is the molecular weight of NaOH?
The molar mass is 39.997 g/mol, commonly reported as 40.00 g/mol. “Molecular weight” is often used informally, although NaOH is an ionic compound.

How do you calculate the molar mass of sodium hydroxide?
Add the atomic weights for its one sodium, one oxygen, and one hydrogen atom: 22.990 + 15.999 + 1.008 = 39.997 g/mol.

How many moles are in 1 g of NaOH?
Divide 1 g by 39.997 g/mol. The result is approximately 0.02500 mol, assuming the sample is pure and anhydrous.

Is NaOH a molecule or an ionic compound?
It is an ionic compound made of sodium ions and hydroxide ions in a solid lattice. NaOH is its formula unit, so “formula units” is more accurate than “molecules” for counting particles in the solid.

Is 40 g/mol exact for sodium hydroxide?
It is a useful rounded value, not the more precise conventional molar mass. Using the listed atomic weights gives 39.997 g/mol; sample purity and absorbed moisture can matter more than the rounding difference.

Related

Formula used
in m | Mass of sodium hydroxide | g | 40 | 0
in mm | Molar mass of NaOH | g/mol | 39.997 | 0
out n | Amount of NaOH | mol | m / mm | 4
out p | Formula units | | n * 6.02214076e23 | 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 →