The formula for calculating molar concentration, known as molarity, is the total moles of the solute divided by the total amount of the solution in liters. Molarity is sometimes indicated by an M, which means moles per liter.
The number of moles of a solute can be calculated using the molar mass as a conversion factor. The total volume of the solution, typically calculated in milliliters, can be converted to liters by dividing milliliters by 1,000 milliliters per liter. Molarity is sometimes referred to as the concentration of a solution. Molarity can also be expressed as moles per cubic meter.