M = n/V — the molarity equation
To prepare 500 mL of a 0.1 M NaCl solution (molar mass 58.44 g/mol): moles needed = 0.1 × 0.5 = 0.05 mol; mass = 0.05 × 58.44 = 2.922 g. Dissolve 2.922 g NaCl in enough water to make up to 500 mL total volume. The calculator handles all four rearrangements: M = n/V, n = MV, V = n/M, and m = n × Mw.