To get the molarity, you divide the moles of solute by the litres of solution.
Molarity
=
moles of solute
litres of solution
For example, a 0.25 mol/L NaOH solution contains 0.25 mol of sodium hydroxide in every litre of solution.
To calculate the molarity of a solution, you need to know the number of moles of solute and the total volume of the solution.
To calculate molarity:
Calculate the number of moles of solute present.
Calculate the number of litres of solution present.
Divide the number of moles of solute by the number of litres of solution.