molecalculator

Moles & Molar Mass

NaOH Molar Mass: Grams per Mole and Calculator

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

Amount of NaOH 1.0001 mol
Formula units
6.023 × 1023 units
Result, rounded to 3 decimal places
NaOH mass
40 g
Set in the form below
NaOH molar mass
39.997 g/mol
Set in the form below
You enter
NaOH mass (g), NaOH molar mass (g/mol)
You get
Amount of NaOH (mol), Formula units (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.

NaOH (sodium hydroxide) has a molar mass of 39.997 g/mol, commonly rounded to 40.00 g/mol. Enter a mass of NaOH to calculate its amount in moles; the calculator also reports the corresponding number of formula units.

Formula

The amount in moles is mass divided by molar mass: n = m / M. Here, n is the amount of NaOH in moles (mol), m is the NaOH mass in grams (g), and M is its molar mass in grams per mole (g/mol). Formula units are calculated as N = n × 6.02214076 × 1023, using the exact Avogadro constant in units per mole. The first result is the amount of NaOH; the second is the corresponding count of formula units.

The default molar mass is calculated from the conventional atomic weights used here: sodium (Na) 22.990, oxygen (O) 15.999, and hydrogen (H) 1.008 g/mol. Thus, M(NaOH) = 22.990 + 15.999 + 1.008 = 39.997 g/mol. Small differences in the last decimal place can result from the atomic-weight values or rounding used in a reference.

Worked Example

Using the calculator’s default mass, m = 40 g, and molar mass, M = 39.997 g/mol:

  1. Amount: n = m / M = 40 / 39.997 = 1.000075 mol, which the calculator displays to four decimal places as 1.0001 mol.
  2. Formula units: N = n × 6.02214076 × 1023 = 1.000075 × 6.02214076 × 1023 ≈ 6.0226 × 1023 units, displayed to three decimal places as 6.023 × 1023 units.

Assumptions

  • The entered mass is the mass of NaOH itself, not the total mass of a solution or a mixture.
  • The compound is represented by the formula NaOH, with one sodium, one oxygen, and one hydrogen atom per formula unit.
  • The calculator uses the stated atomic weights and Avogadro constant; displayed results are rounded to the selected number of decimal places.
  • Purity, moisture uptake, and other impurities are not included. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Why NaOH Is About 40 Grams per Mole

A mole is a counting unit: one mole contains exactly 6.02214076 × 1023 specified entities. For an ionic compound such as sodium hydroxide, those entities are conventionally called formula units rather than molecules. A formula unit of NaOH contains one Na, one O, and one H, so its molar mass is the sum of the corresponding atomic weights.

The unit g/mol links a mass measured on a balance to a chemical amount. Saying that NaOH is 39.997 g/mol means that one mole of pure NaOH has a mass of about 39.997 g under the molar-mass convention. It does not mean that every sample weighing 40 g is exactly one mole: using the default values, 40 g is about 1.000075 mol. For many classroom calculations, the molar mass is rounded to 40.00 g/mol, in which case 40.00 g corresponds to 1.000 mol by that rounded calculation.

Using the Calculator and Interpreting Results

Enter a nonnegative mass in grams and, if needed, replace the default molar mass with the value appropriate to your calculation. The amount result answers “how many moles?” The formula-unit result converts that amount to a particle count. Because the count is extremely large, it is more readable in scientific notation than as a long string of digits.

  • Example at 10 g: with M = 39.997 g/mol, n = 10 / 39.997 ≈ 0.25002 mol.
  • Example at 2 g: n = 2 / 39.997 ≈ 0.050004 mol.
  • For a solution: first determine the mass of NaOH represented by the sample. Do not enter the total solution mass as though it were all NaOH.

The calculation is a direct mass-to-amount conversion. It does not calculate solution concentration: molarity also requires the final solution volume in liters. Nor does the formula-unit count describe how much NaOH is dissolved in a particular container unless the entered mass is the amount actually present in that container.

Common Mistakes and Limits

A frequent unit error is dividing by a number expressed in g/mol while entering mass in milligrams. Convert milligrams to grams first: 1,000 mg = 1 g. For instance, 500 mg is 0.500 g; using 500 as though it were grams makes the calculated amount 1,000 times too large.

Another source of confusion is the distinction between the pure compound’s molar mass and the mass of a real reagent sample. NaOH is hygroscopic: it absorbs moisture from air, and it can also absorb carbon dioxide. Therefore, a mass of pellets or flakes may not contain that same mass of chemically pure NaOH. The calculator assumes a pure sample and cannot correct for purity, moisture, or carbonation. Use an appropriate assay or the value specified by a validated method when such corrections matter.

Do not confuse molar mass with concentration. Molar mass has units of g/mol; concentration may be expressed in mol/L or g/L. To find molarity from a known NaOH mass, the final solution volume is also required, and a mass-to-moles calculator alone cannot supply it. Calculations are only as precise as the input mass, molar mass, and assumptions; adding extra decimal places to the output does not make the measurements more accurate.

Frequently Asked Questions

How many grams are in one mole of NaOH?
Using Na 22.990, O 15.999, and H 1.008 g/mol, one mole of NaOH has a molar mass of 39.997 g/mol, usually rounded to 40.00 g/mol.

How many moles are in 40 g of NaOH?
Using 39.997 g/mol, 40 g ÷ 39.997 g/mol = approximately 1.000075 mol. With the rounded molar mass 40.00 g/mol, the result is 1.000 mol.

Is NaOH a molecule or an ionic compound?
NaOH is an ionic compound. Its simplest chemical ratio is written as a formula unit, so “formula units” is more precise than “molecules” when counting NaOH entities.

Why do some sources give 40.00 g/mol?
They round the calculated value, 39.997 g/mol, to two decimal places. The rounded figure is usually sufficient for ordinary introductory calculations.

Does this calculate the molarity of NaOH?
No. It converts a mass of NaOH to moles. Molarity additionally requires the final solution volume in liters: molarity equals moles divided by final volume.

Can I use the result for a damp or impure NaOH sample?
Only as a nominal estimate if the sample is not pure. Moisture and absorbed carbon dioxide can make the actual NaOH content lower than the sample’s total mass; this calculator does not account for those effects.

Related

Formula used
in m | NaOH mass | g | 40 | 0
in mm | NaOH molar mass | g/mol | 39.997 | 0.001
out n | Amount of NaOH | mol | m / mm | 4
out f | Formula units | 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 →