This calculator determines the pH of a sodium hydroxide (NaOH) solution from the mass of solute, its molar mass, and the final solution volume. You enter the mass of NaOH, the molar mass (default 40.00 g/mol for NaOH), and the volume of the solution in milliliters; the calculator returns the molarity and the pH. The pH is calculated assuming complete dissociation of NaOH in water at 25 °C.
Formula
The pH of a NaOH solution is derived from the concentration of hydroxide ions [OH⁻]. Because NaOH is a strong base, it dissociates completely in water:
NaOH → Na⁺ + OH⁻
Thus, [OH⁻] = molarity of NaOH (c). At 25 °C, the ion product of water is Kw = 1.0 × 10⁻¹⁴, so pOH = −log₁₀[OH⁻] and pH = 14 − pOH.
Molarity is calculated as:
c = m / (M × V)
where:
- m = mass of NaOH in grams (g)
- M = molar mass of NaOH in g/mol (Na 22.99 + O 16.00 + H 1.008 = 40.00 g/mol)
- V = final solution volume in liters (L); convert mL to L by dividing by 1000
Then pH = 14 + log₁₀(c).
Worked Example
Using the default values: m = 2.922 g, M = 40.00 g/mol, V = 250 mL.
- Convert volume: 250 mL ÷ 1000 = 0.250 L
- Calculate moles of NaOH: 2.922 g ÷ 40.00 g/mol = 0.07305 mol
- Calculate molarity: 0.07305 mol ÷ 0.250 L = 0.2922 mol/L
- Calculate pOH: −log₁₀(0.2922) ≈ 0.5343
- Calculate pH: 14 − 0.5343 = 13.47
The calculator returns pH ≈ 13.47 (rounded to two decimals).
Assumptions
- Complete dissociation of NaOH in water (strong base).
- Temperature is 25 °C (Kw = 1.0 × 10⁻¹⁴).
- Solution is dilute enough that activity coefficients are near 1 (ideal behavior).
- The final volume is used, not the volume of solvent added.
- No other acids or bases are present in significant amounts.
When to Use This Calculator
Use this calculator when you need to prepare a NaOH solution of a known concentration and want to know its approximate pH, or when you have a prepared solution and need to estimate its pH for lab work. It is common in titrations, buffer preparation (for adjusting pH upward), and general chemistry experiments. The pH value is essential for understanding the corrosive nature of the solution and for predicting reactions.
The pH scale runs from 0 to 14; NaOH solutions typically have pH values from about 12 to 14, depending on concentration. A 0.1 M NaOH solution has pH 13, while a 1 M solution has pH 14. Extremely dilute solutions (below about 10⁻⁷ M) will have pH close to 7 because the autoionization of water becomes significant—this calculator does not account for that, so it is only valid for concentrations above roughly 1 × 10⁻⁵ M.
How to Use the Calculator and Read Results
Enter the mass of NaOH you dissolved, its molar mass (if you are using a different grade, check the label; for NaOH it is 40.00 g/mol), and the final volume of the solution. The first output is molarity (mol/L), the second is millimolar (mM), and the third is pH. The pH is the headline answer.
For example, to prepare 500 mL of a 0.5 M NaOH solution, you would need 0.5 mol × 40.00 g/mol = 20.0 g of NaOH. Enter 20.0 g, 40.00 g/mol, and 500 mL; the calculator gives pH ≈ 13.70. Always use the final volume—if you dissolve NaOH in 400 mL and then add water to reach 500 mL, enter 500 mL.
Common Mistakes and Misconceptions
- Using solvent volume instead of final volume: Molarity is defined per liter of solution, not per liter of water. Always measure the final volume after dissolving.
- Ignoring temperature: pH of NaOH solutions changes with temperature because Kw changes. At 50 °C, Kw ≈ 5.5 × 10⁻¹⁴, so pH of a 0.1 M solution would be about 12.87, not 13.00.
- Assuming pH can exceed 14: In concentrated NaOH solutions (e.g., 10 M), the pH scale is not meaningful because activity coefficients deviate; pH meters give readings above 14, but the true pH is not defined in the same way.
- Forgetting that NaOH absorbs CO₂ and water from air: Pellets can become contaminated, so the actual mass of NaOH may be lower than weighed. Use fresh, dry reagent for accurate results.
- Rounding too early: If you round the molarity to 0.29 M, the pH becomes 13.54 instead of 13.47. Keep extra digits until the final step.
Limitations of the Calculation
This calculator assumes ideal dilute solution behavior. In concentrated solutions (above ~0.1 M), the activity of OH⁻ is lower than the concentration, so the true pH is slightly lower than calculated. Also, at very low concentrations (below ~1 × 10⁻⁵ M), the contribution of water’s autoionization becomes significant; the formula pH = 14 + log₁₀(c) would give pH > 14, which is impossible. For such dilutions, you must solve the full equilibrium equation including [H⁺] and [OH⁻] from water.
Additionally, the calculator does not account for the presence of other ions or dissolved CO₂, which can lower pH by forming carbonic acid. For precise work, always measure the pH with a calibrated meter.
Safety and Practical Tips
NaOH is a strong base and highly corrosive. It can cause severe burns to skin and eyes. Always wear appropriate personal protective equipment (gloves, goggles, lab coat) and work in a well-ventilated area. When dissolving NaOH in water, the process is exothermic—the solution heats up significantly. Add NaOH to water slowly, with stirring, never the reverse. Follow your lab method, the safety data sheet (SDS) and your supervisor.
For accurate pH measurement, calibrate your pH meter with standard buffers (pH 4, 7, and 10) before use. The meter reading is the real check; temperature and ionic strength shift pH, so record the temperature.
Frequently Asked Questions
What is the pH of 0.1 M NaOH?
For 0.1 M NaOH, the pOH is −log₁₀(0.1) = 1, so pH = 14 − 1 = 13. This is a common concentration used in titrations and buffer adjustments.
Why does the pH of NaOH solution increase with concentration?
Because NaOH dissociates completely, the hydroxide ion concentration equals the NaOH molarity. Higher molarity means more OH⁻, which lowers pOH and raises pH. However, the relationship is logarithmic, so each tenfold increase in concentration raises pH by 1 unit (e.g., 0.01 M → pH 12, 0.1 M → pH 13, 1 M → pH 14).
Can I use this calculator for dilute NaOH solutions like 10⁻⁸ M?
No. At concentrations below about 10⁻⁵ M, the water autoionization contributes significantly to [OH⁻]. For 10⁻⁸ M NaOH, the pH is actually about 7.00, not 14 + log(10⁻⁸) = 6. The calculator is only valid for concentrations above 10⁻⁵ M.
Does temperature affect the pH of NaOH?
Yes. The ion product of water (Kw) increases with temperature, so at higher temperatures, the neutral pH is lower (e.g., at 50 °C, neutral pH is about 6.63). For a given NaOH concentration, the pH also changes slightly. Always measure at the actual temperature and calibrate the meter.
How do I prepare a NaOH solution of a specific pH?
First, decide the target pH and calculate the required molarity using pH = 14 + log₁₀(c), which gives c = 10^(pH−14). For example, for pH 12.5, c = 10^(−1.5) ≈ 0.0316 M. Then weigh the corresponding mass of NaOH (c × volume × molar mass) and dissolve to the final volume. Always verify with a pH meter.
Why does my measured pH differ from the calculated value?
Common reasons include: NaOH has absorbed moisture or CO₂ from the air (so the actual mass is less than weighed), the solution is not at 25 °C, the pH meter is not calibrated properly, or the solution is concentrated enough that activity effects matter. Also, if you used tap water instead of distilled/deionized water, dissolved ions can affect pH.
Related
Formula used
in m | Mass of solute | g | 2.922 | 0 in mm | Molar mass | g/mol | 40.00 | 0.001 in v | Final solution volume | mL | 250 | 0.001 out c | Molarity | mol/L | m / mm / (v / 1000) | 4 out cmm | Concentration in millimolar | mM | c * 1000 | 2 out ph | pH | - | 14 + log10(c) | 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
- How to Find the Continuous Decay Rate
- Total Constant of Decay: How to Calculate It0.000121 1/s
- How to Calculate Decay Constant0.000121 1/s
- Half Life GitHub: What It Is and How to Use It
- Decay Constant: How to Calculate It0.000121 1/s
- Half-Life Games in Order: Full Release Timeline