molecalculator

Moles & Molar Mass

Sodium Hydroxide Equation: Formula and Molar Mass

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

Amount of NaOH 1.0001 mol
Formula units
6.023 × 1023 units
Result, rounded to a whole number
Sodium hydroxide mass
40 g
Set in the form below
You enter
Sodium hydroxide mass (g)
You get
Amount of NaOH (mol), Formula units (units)
Rounding
4 dp · 0 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.

This calculator finds the molar mass of sodium hydroxide, NaOH, from the mass of a sample and converts that mass into moles. Enter the NaOH mass in grams; the result is the amount in moles and the equivalent number of formula units.

Formula

The chemical formula for sodium hydroxide is NaOH. It contains one sodium atom, one oxygen atom, and one hydrogen atom per formula unit. Its molar mass is calculated by adding their standard atomic weights:

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

To calculate the amount from a sample’s mass, use n = m / M. Here, n is the amount of sodium hydroxide in moles (mol), m is the sample mass in grams (g), and M is the molar mass in grams per mole (g/mol). The calculator’s second output estimates formula units using N = n × 6.02214076 × 1023, where N is the number of formula units and the multiplier is Avogadro’s constant in units per mole.

NaOH is an ionic compound, so “formula unit” is more precise than “molecule.” In solid sodium hydroxide, sodium and hydroxide ions form an extended ionic lattice rather than separate NaOH molecules.

Worked Example

For the default input of 40 g NaOH:

  1. Calculate molar mass: 22.990 + 15.999 + 1.008 = 39.997 g/mol.
  2. Divide mass by molar mass: 40 g / 39.997 g/mol = 1.000075 mol, which rounds to 1.0001 mol at four decimal places.
  3. Multiply the unrounded amount by Avogadro’s constant: 1.0000750056 mol × 6.02214076 × 1023 units/mol ≈ 6.0225925 × 1023 formula units.

The calculator displays the amount as 1.0001 mol and the formula-unit count to the nearest whole unit. The count is an arithmetic estimate based on the stated mass and molar mass; it is not a practical way to count particles individually.

Assumptions

  • The entered mass is pure, anhydrous sodium hydroxide, rather than a solution or a material containing water or other substances.
  • The molar mass uses the listed abridged standard atomic weights: Na 22.990, O 15.999, and H 1.008.
  • The formula unit refers to the 1:1:1 composition represented by NaOH, not a discrete molecule in the solid.

What the Sodium Hydroxide Formula Means

NaOH is a chemical formula, not a reaction equation. The symbols identify the elements: Na is sodium, O is oxygen, and H is hydrogen. The lack of a subscript after each symbol means there is one of each in the formula unit. In ionic terms, sodium hydroxide consists of Na+ and OH− ions in a 1:1 ratio. The hydroxide ion is a group containing one oxygen atom and one hydrogen atom with an overall charge of −1.

In water, sodium hydroxide dissociates into ions. A simplified dissolution equation is NaOH(s) → Na+(aq) + OH−(aq). The labels indicate solid and aqueous states. This equation expresses the ideal stoichiometric relationship: one formula unit contributes one sodium ion and one hydroxide ion. It should not be confused with the formula NaOH itself, which names the compound and gives its composition.

Using the Calculator and Reading the Result

Use this calculation when converting a known mass of pure NaOH into moles for a stoichiometry exercise or other non-clinical chemistry calculation. Moles connect a measurable mass to reaction coefficients, which compare particle amounts. For example, a balanced reaction involving NaOH can use the calculated number of moles to determine the stoichiometric amount of another reactant, provided the reaction and its coefficients are known.

The calculator reports formula units as a derived count. For aqueous solutions, the dissolved species are ions, so the formula-unit count represents the corresponding stoichiometric amount of NaOH, not intact NaOH molecules floating in water. A mass alone does not give a solution concentration: concentration also requires the final volume of the solution. Do not substitute the volume of solvent for the final solution volume in a molarity calculation.

Common Errors and Important Limits

  • Confusing a formula with an equation: NaOH is the formula. A chemical equation describes a reaction, such as its dissociation in water or a neutralization reaction.
  • Using the wrong mass unit: the input is grams. Convert milligrams to grams by dividing by 1,000, or kilograms to grams by multiplying by 1,000, before entering a value.
  • Assuming a sample is pure: sodium hydroxide readily absorbs moisture and carbon dioxide from air, so the mass of a real sample may not equal the mass of pure NaOH. This calculator does not correct for purity, water content, or carbonation.
  • Rounding too early: keep extra digits during intermediate calculations and round only the displayed result. The displayed mole value is rounded, while the formula-unit result is based on the unrounded calculation.
  • Interpreting moles as concentration: moles describe amount; molarity describes amount per final solution volume. No volume is entered here, so this page does not calculate molarity.

The computation assumes the supplied mass can be treated as pure NaOH and uses a conventional molar mass. It does not determine actual purity, reaction yield, solution behavior, or how much material is needed for a particular procedure. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor.

Frequently Asked Questions

What is the chemical formula for sodium hydroxide?
Its formula is NaOH: one sodium, one oxygen, and one hydrogen atom per formula unit.

What is the molar mass of NaOH?
Using Na 22.990, O 15.999, and H 1.008, the molar mass is 39.997 g/mol, commonly rounded to about 40.00 g/mol.

Is NaOH a molecule?
Not in the usual structural sense for the solid. Sodium hydroxide is an ionic compound, and NaOH represents its formula-unit ratio rather than a discrete molecule.

What equation shows sodium hydroxide dissolving in water?
A simplified equation is NaOH(s) → Na+(aq) + OH−(aq). It shows the compound separating into sodium and hydroxide ions in aqueous solution.

How many moles are in 40 g of NaOH?
Divide 40 g by 39.997 g/mol. The result is approximately 1.0001 mol.

Related

Formula used
in m | Sodium hydroxide mass | g | 40 | 0
out n | Amount of NaOH | mol | m / 39.997 | 4
out f | Formula units | units | n * 6.02214076e23 | 0

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 →