Molarity Calculator: Mass, Moles, Volume & Concentration

Molarity Calculator

Relate moles, mass, molar mass, volume, and concentration to work out exactly how much solid to weigh out for a target molarity, or solve for any missing value when preparing a solution.

🎯Real Solution Presets

📝Solution Inputs

The unknown field below is hidden and filled by the result.

1 mol/L = 1 M. Use 0.001 for 1 mM.

Sum of atomic weights in the formula unit.

The amount you weigh on the balance.

Total volume after dissolving and diluting.

Weigh-out is scaled up when purity is below 100%.

Molarity 0 the solved unknown
Moles of solute 0 n = mass / molar mass
Grams per liter 0 g/L = M Ă— molar mass
Mass in mg 0 secondary readout

🔢Formula Snapshot

MMolarity mol/L
nMoles
m/MMMass over molar mass
VVolume in liters

đź§ŞCommon Compound Molar Masses

CompoundFormulaMolar Mass (g/mol)Grams for 1 M / L
Sodium chlorideNaCl58.4458.44 g
GlucoseC6H12O6180.16180.16 g
Hydrochloric acidHCl36.4636.46 g
Sodium hydroxideNaOH40.0040.00 g
Potassium chlorideKCl74.5574.55 g
Calcium carbonateCaCO3100.09100.09 g
Sulfuric acidH2SO498.0898.08 g
EthanolC2H6O46.0746.07 g

📏Molarity Unit Reference

UnitSymbolIn mol/LTypical Use
MolarM1Stock solutions and titrations
MillimolarmM0.001Buffers, media, drug assays
MicromolarµM0.000001Enzyme kinetics, receptors
NanomolarnM0.000000001Hormones, trace analytes
Molalmper kg solventColligative properties (not mol/L)

âš–Grams Per Liter for a 1 M Solution

Compound1 M (g/L)0.5 M (g/L)0.1 M (g/L)10 mM (g/L)
NaCl58.4429.225.8440.5844
Glucose180.1690.0818.0161.8016
HCl36.4618.233.6460.3646
NaOH40.0020.004.0000.4000
KCl74.5537.287.4550.7455
CaCO3100.0950.0510.0091.0009

đź—‚Concentration Unit Comparison Grid

ConcentrationMeaningDepends OnVolume EffectCommon Field
Molarity (M)Moles per liter of solutionMoles and volumeChanges with temperatureGeneral chemistry
Molality (m)Moles per kg of solventMoles and solvent massTemperature independentFreezing/boiling point
Normality (N)Equivalents per literMolarity and n-factorChanges with temperatureAcid-base titration
Mass percent (w/w)Grams solute per 100 g solutionBoth massesIndependent of volumeIndustrial reagents
Mass/volume (w/v)Grams solute per 100 mLMass and volumeChanges with temperatureBiology and clinical
ppmMilligrams per liter (dilute)Mass and volumeSlight temperature shiftEnvironmental testing
Mole fraction (x)Moles part over total molesAll component molesIndependent of volumePhysical chemistry

⚙Full Formula Breakdown

Moles from massn = mass (g) / molar mass (g/mol). Weighing 58.44 g of NaCl gives 58.44 / 58.44 = 1 mol.
Core molarityM = n / V, where V is the final solution volume in liters. Moles are divided by liters, not milliliters.
Combined formM = mass / (molar mass Ă— volume in L). This links all four quantities in a single relation.
Solve for massmass = M Ă— molar mass Ă— volume (L). This is the weigh-out target for a fresh solution.
Solve for volumeV (L) = mass / (M Ă— molar mass) = moles / M. Tells you how far to dilute to hit a molarity.
Solve for molesn = M Ă— V (L). Useful when you already know molarity and volume.
Grams per literg/L = M Ă— molar mass. A quick concentration in mass terms independent of the batch volume.
Purity correctionActual weigh-out = ideal mass / (purity % / 100). A 98% reagent needs slightly more solid.
Unit conversionsmg ÷ 1000 and kg × 1000 give grams; mL ÷ 1000 and µL ÷ 1,000,000 give liters.

đź“‹Preparation Reference

StepWhat To DoWhy It MattersCommon Slip
Weigh solidMass = M Ă— MM Ă— VSets the exact molesUsing mL instead of L
DissolveAdd part of the solvent firstFull dissolution before topping upFilling to volume too early
Bring to volumeTop up to the final markMolarity is per total volumeAdding solvent to a fixed amount
Mix and checkInvert or stir, verify labelUniform concentrationSkipping purity correction

đź’ˇPractical Molarity Tips

Volume rule: Molarity is moles per liter of finished solution, so always convert mL or µL to liters before dividing, and bring the flask to the final mark rather than adding solvent to a set weight.
Weigh-out check: For any 1 M solution the grams needed per liter equal the molar mass, so 1 M NaCl is 58.44 g/L. Scale that number by your molarity and volume to sanity-check the balance.

Standing above your balance, the scoop full of powdered goodness in hand, do you wonder whether or not you’re on the right track? You aren’t alone. It’s easy to get nervous with chemistry; moving from the theoretical world of stoichiometry into one of actual beakers full of liquids makes even most confident chemist cringe at their own fingers.

That’s not because of math. It’s because you has to do a lot of unit conversions before you can finally place flask on the scale.

How to Calculate Molarity

Molarity is straightforward if you ignore all the technical language: it’s a measurement of concentration… Moles of solute/liter of total solution. What’s the deal with “total solution,” though? When it says 1L solution, that doesn’t imply that you dump one liter of water into whatever it is you’re trying to dissolve. Because water takes up space, if you put some salt into a liter of water then you have more than a liter of something. That will affect amount of stuff you actualy end up putting into a liter, throwing off your eventual concentration.

The biggest mistake people make when doing these types of labs for the first time is confusing solvent and solution; always look at how much final concentration should be, as marked on your flask. When using a solid reagent, you make up a solution, and the calculator above do the math for you. It connects concentration, volume, molar mass, and mass together into one workflow. There’s no need to memorize every version of the formula. Just know that your weight in grams divided by the molar mass give you the number of moles you have.

One liter of a one molar solution of sodium chloride would require exactly 58.44 g of salt, which is its molar mass. Half a liter? Halve the mass. Need three liters? Triple it. The math scales easy. This helps you avoid spills on your lab coat and remember your homework.

For example, you can work backwards from a protocol and solve for the variable you are missing. So maybe you’re doing an experiment and you know you need fifty milliliters of a zero point five molar glucose solution, but you don’t remember what that means in terms of grams you see on the balance. No problem. This tool will swap units for you. Milliliters becomes liters. If your reagent isn’t a hundred percent pure then the purity will be adjusted appropriately. That’s another detail newbies tend to overlook, but it makes a huge difference in using expensive/impure industrial chemicals.

So what does molarity represent? It actualy measures how many particles are in a certain volume rather than how much it weigh. For example, 1kg of lead will have a very different amount of particles and volume compared to 1kg of feathers. But these two weigh exactly the same. So think of molarity as measuring the number of particles, or moles. We need to know the molar mass because it connects the microscopic world of solution molecules to the big world of balances that only show us grams. No molar mass, no bridge, just a pile of crap (well, you get the idea).

<
div class='code-block code-block-9' style='margin: 8px auto; text-align: center; display: block; clear: both;'>

Other measures of concentration exist, too. For example, one is mass percent, which is common in industrial applications where it’s simpler to weigh something out than measure its volume. Another is molality, which doesn’t depend on temperature since it uses kilograms of solvent rather than liters of solution. But for most things, general chemistry, especially, and biology in particular, molarity wins due to the relationship between reaction rate and the crowding of molecules within some volume.

This reference table that comes along with the tool demonstrates how each unit serve a specific purpose while allowing you to avoid learning them all at once by heart.

Lab isn’t about perfection; it’s about precision. That means knowing what you’re capable of doing, knowing when you can use a volumetric flask versus a graduated cylinder. You should of know that the ideal answer is only as good as your ability to perform the technique. Use clean glassware, weigh carefully, and make sure to bring the solution up to the final volume line instead of simply adding a specific amount of water. Doing this ritual makes all the difference between a successful experiment and a dud.

Molarity Calculator: Mass, Moles, Volume & Concentration