molecalculator

Moles & Molar Mass

Sodium Hydroxide Formula, Molar Mass, and Calculator

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

Amount of NaOH 0.2500 mol
Amount of NaOH
250.02 mmol
= Amount of NaOH × 1000
Sodium hydroxide mass
10 g
Set in the form below
You enter
Sodium hydroxide mass (g)
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.

The chemical formula for sodium hydroxide is NaOH. This calculator works out the molar mass of a NaOH sample from its mass, so you can convert grams into moles; enter the sample mass in grams to get the amount in moles and millimoles.

Formula

The formula is NaOH: one sodium atom (Na), one oxygen atom (O), and one hydrogen atom (H) in each formula unit. The calculator uses the amount-of-substance relationship n = m / M, where n is the amount in moles (mol), m is the sample mass in grams (g), and M is the molar mass in grams per mole (g/mol). For sodium hydroxide, the molar mass used here is 39.997 g/mol, calculated from the abridged standard atomic weights: Na 22.990 + O 15.999 + H 1.008 = 39.997 g/mol. Millimoles are calculated as mmol = n × 1000, since 1 mol = 1000 mmol.

Worked Example

Using the calculator’s default mass of 10 g:

  1. Molar mass of NaOH: 22.990 + 15.999 + 1.008 = 39.997 g/mol.
  2. Amount in moles: n = 10 g / 39.997 g/mol = 0.25001875 mol, which the calculator displays as 0.2500 mol.
  3. Amount in millimoles: 0.25001875 mol × 1000 = 250.01875 mmol, displayed as 250.02 mmol.

Assumptions

  • The input is the mass of pure, anhydrous sodium hydroxide, not the mass of a solution or a hydrated material.
  • The molar mass is calculated from the stated abridged standard atomic weights.
  • This is stoichiometric arithmetic; it does not account for water absorbed by a sample or impurities in a reagent.

What NaOH Means

NaOH is the formula unit of sodium hydroxide, an ionic compound made of sodium ions (Na+) and hydroxide ions (OH−). In a solid sample, the ions form an extended ionic lattice rather than separate, discrete NaOH molecules. The formula gives the simplest whole-number ratio of the ions: one sodium ion for each hydroxide ion. The compound is electrically neutral because the charges balance.

In water, sodium hydroxide dissolves and separates into sodium and hydroxide ions. The hydroxide ions make the solution strongly basic. This explains why NaOH is often called caustic soda or lye, although those common names can refer to the substance in different forms or contexts. The formula itself stays NaOH whether the compound is a solid or dissolved; a solution’s concentration, however, depends on how much NaOH is present and the final solution volume.

Molar Mass, Moles, and Solutions

Molar mass connects a measurable mass to a count of chemical entities. One mole contains exactly 6.02214076 × 1023 specified entities. For an ionic solid such as sodium hydroxide, “formula units” is the precise term for those entities. A sample of 39.997 g of pure NaOH corresponds to approximately one mole; 1 g corresponds to about 0.02500 mol.

The calculator converts mass to amount, not directly to solution concentration. To calculate molarity, you also need the final volume of the solution in liters. The relationship is concentration in mol/L = moles / final volume in liters. For example, dissolving a known amount and bringing the solution to a measured final volume is not the same as adding that amount to an equal volume of water: dissolved solid can change the total volume. Do not treat solvent volume as final solution volume.

When NaOH is used in reaction calculations, its formula supplies the stoichiometric ratio. Each formula unit provides one hydroxide ion in water, so one mole of NaOH corresponds to one mole of hydroxide ions under the usual complete-dissociation model. The balanced chemical equation determines the ratios between NaOH and the other reactants; the formula alone does not determine how much is needed for a particular reaction.

Accuracy and Common Mix-Ups

  • Formula versus name: Sodium hydroxide is NaOH. Sodium oxide is Na2O, a different compound; the formulas are not interchangeable.
  • Mass versus amount: grams measure mass, while moles measure amount of substance. The molar mass is needed to convert between them.
  • Pure solid versus solution: If the weighed material is already a solution, its total mass is not the mass of NaOH. Use the solution’s stated concentration and a suitable calculation instead.
  • Precision: The displayed digits do not make an impure or moisture-exposed sample more accurate. NaOH readily absorbs moisture and carbon dioxide from air, so its actual composition may differ from the ideal pure-compound calculation.
  • Units: Enter grams in this calculator. A mass entered in milligrams must first be divided by 1000 to convert it to grams.

The calculation assumes a known mass of pure NaOH and uses a conventional molar mass based on standard atomic weights. It does not determine purity, density, solution volume, reaction yield, or the concentration of a prepared solution. In more exact work, atomic weights and sample composition can affect the last reported digits.

Safety and Handling

Sodium hydroxide is corrosive and can cause severe skin and eye burns. Dissolving it in water releases heat, and splashes are hazardous. Do not use this calculator as a handling or preparation procedure. For bench work, follow your lab method, the safety data sheet (SDS), and your supervisor. Use the protective equipment and controls specified for the work, and consult the SDS for exposure response and disposal requirements.

Frequently Asked Questions

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

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

Is NaOH an acid or a base?
It is a strong base. In water it dissociates into sodium ions and hydroxide ions, which account for its basic behavior.

Is sodium hydroxide the same as sodium oxide?
No. Sodium hydroxide is NaOH, while sodium oxide is Na2O. They have different compositions and chemical properties.

How many moles are in 1 gram of NaOH?
Using 39.997 g/mol, 1 g ÷ 39.997 g/mol is approximately 0.02500 mol.

Does NaOH absorb water from air?
Yes. Sodium hydroxide is hygroscopic and can also absorb carbon dioxide, so an exposed sample may not have the purity assumed by a mass-only calculation.

Related

Formula used
in m | Sodium hydroxide mass | g | 10 | 0
out n | Amount of NaOH | mol | m / 39.997 | 4
out nm | 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 →