molecalculator

Moles & Molar Mass

Sodium Hydroxide NaOH Molar Mass and Calculator

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

Amount of NaOH 1.0001 mol
Amount of NaOH
1,000.08 mmol
= Amount of NaOH × 1000
Mass of NaOH
40 g
Set in the form below
Molar mass of NaOH
39.997 g/mol
Set in the form below
You enter
Mass of NaOH (g), Molar mass of NaOH (g/mol)
You get
Amount of NaOH (mol), Amount of NaOH (mmol)
Rounding
4 dp · 2 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.

Sodium hydroxide (NaOH) 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 result uses the standard atomic weights for sodium, oxygen, and hydrogen.

Formula

The calculator divides the mass of sodium hydroxide by its molar mass:

n = m / M

  • n is the amount of NaOH, in moles (mol).
  • m is the mass entered, in grams (g).
  • M is the molar mass, in grams per mole (g/mol). The default is 39.997 g/mol.

The second output converts moles to millimoles: mmol = n × 1000, since 1 mol equals 1000 mmol. The formula assumes that the entered mass refers to NaOH itself. It does not account for water or other substances mixed into a sample.

Worked Example

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

  1. Amount in moles: n = 40 g / 39.997 g/mol = 1.0001 mol, which rounds to 1.0001 mol at four decimal places.
  2. Amount in millimoles: 1.0001 mol × 1000 = 1000.1 mmol, which rounds to 1000.10 mmol at two decimal places.

Assumptions

  • The input mass is pure, anhydrous NaOH, unless the user adjusts the molar mass or interprets the result accordingly.
  • The calculation is a mass-to-amount conversion; it does not assume a solution volume, concentration, temperature, or dissociation state.
  • The displayed molar mass is based on standard atomic weights and is a practical value for ordinary calculations.

How the Molar Mass Is Calculated

A chemical formula gives the number of atoms of each element in one formula unit. NaOH contains one sodium atom, one oxygen atom, and one hydrogen atom. Add their standard atomic weights to obtain the molar mass:

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

Those atomic weights are in unified atomic mass units per atom when describing individual atoms, and their numerical values correspond to grams per mole when summed as a molar mass. For most classroom and routine laboratory work, 40.00 g/mol is an adequate rounded value. Using 39.997 g/mol preserves a few more digits in calculations, but the precision of a final answer should still reflect the measurement.

Molar mass is not the same as the mass of one molecule or formula unit. It describes the mass of one mole, a specified amount of substance. One mole contains exactly 6.02214076 × 1023 specified entities. For an ionic solid such as sodium hydroxide, “formula unit” is more precise than “molecule.”

Using the Calculator and Reading the Result

Enter the mass in grams and use the molar mass in g/mol. The calculator returns moles and millimoles. For example, if a sample’s mass is 2.00 g, then 2.00 / 39.997 = 0.05000 mol, or 50.00 mmol. This is the amount represented by that mass if the sample is pure NaOH.

The result is useful for stoichiometry: reaction equations relate amounts in moles, not directly masses. Once the moles are known, a balanced equation can be used to determine mole ratios with other reactants or products. To convert a known amount into mass instead, rearrange the relationship as m = n × M.

This calculator does not find molarity. Molarity also requires the final solution volume in liters, using c = n / V. A mass-to-moles answer alone cannot establish concentration because the volume is not part of the input.

Purity, Moisture, and Common Mix-Ups

Sodium hydroxide is hygroscopic: it absorbs moisture from the air. It also absorbs carbon dioxide, which can produce sodium carbonate. As a result, a weighed sample of an old or exposed solid may not consist entirely of NaOH. The simple calculation treats all entered mass as pure NaOH, so it can overestimate the true NaOH amount when impurities or water are present.

  • Grams versus moles: grams measure mass; moles measure amount of substance. They are linked by molar mass, but they are not interchangeable.
  • Formula versus ionic charge: NaOH is electrically neutral overall. Its component ions are Na+ and OH−; the charge signs do not change the formula’s molar mass.
  • Rounding too early: using 40.00 g/mol instead of 39.997 g/mol is usually harmless, but keep extra digits during intermediate work and round the final result to match the quality of the measured mass.
  • Solution mass versus solute mass: if a mass refers to an entire solution, it cannot be used as the mass of NaOH without knowing the solution’s composition.

When an exact concentration is needed, use a suitable validated method and account for the material’s purity and water content rather than assuming that a nominal solid mass is pure NaOH.

Safety and Scope

Sodium hydroxide is strongly caustic and can cause severe skin and eye burns. The calculator is for chemistry arithmetic; its result is not a safety assessment or a substitute for an approved laboratory method. Avoid contact and dust, consult the safety data sheet (SDS), and use the protective equipment and controls specified by your lab. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Do not confuse this numerical conversion with instructions for handling or preparing a solution. Any practical handling must follow the applicable institutional procedures and hazard controls. If exposure occurs, follow the site’s emergency procedures and obtain appropriate professional assistance.

Frequently Asked Questions

What is the molar mass of NaOH?
It is 39.997 g/mol using Na = 22.990, O = 15.999, and H = 1.008. It is often rounded to 40.00 g/mol.

How many moles are in 1 gram of NaOH?
Divide 1 g by 39.997 g/mol: the result is about 0.02500 mol, or 25.00 mmol, assuming pure NaOH.

How many grams are in one mole of NaOH?
One mole has a mass of about 39.997 g, conventionally written as 40.00 g for many routine calculations.

Is NaOH a molecule or an ionic compound?
Sodium hydroxide is an ionic compound made of sodium ions and hydroxide ions. NaOH is its formula unit, so “molar mass” remains the appropriate quantity.

Does this calculator give the molarity of a NaOH solution?
No. It converts NaOH mass to moles. To calculate molarity, you also need the solution’s final volume in liters and divide moles by that volume.

Related

Formula used
in m | Mass of NaOH | 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 | Amount of NaOH | mmol | n * 1000 | 2

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 →