Molarity Calculator Widget for Your Website

For lab manuals, chemistry teachers and biology core facilities: type a formula or a reagent name and get the grams to weigh, then plan dilutions, serial dilutions, recipes and buffers.

Live preview

What your readers can do with it

A lab protocol says "make 250 mL of 0.5 M NaCl" and leaves the arithmetic to the person at the bench. The molarity calculator does that arithmetic and says what to do with the answer: weigh 7.305 g, dissolve it in about 200 mL of water, then make up to 250 mL in a volumetric flask. Its five tabs cover most of a prep room's maths:

Where it fits

Put it inside a lab manual next to each solution a practical needs, so students work out their own masses before the session. A core facility can embed it on its protocols page, and a chemistry teacher can use the Molarity tab to show where the molar mass comes from, atom by atom.

Suggested size

The default frame is 1,060 px high and up to 960 px wide, which fits the Molarity tab with its result, its summary cards and the molar mass table. The Recipe and Buffer tabs can grow with the number of reagents, so add 200 to 300 px if your page uses them. On a phone the Molarity tab is about 1,520 px tall and scrolls inside the frame.

Open it on a buffer dilution

Each tab keeps its inputs in the address. This link opens the Dilution tab for making 500 mL of 1x TAE from a 50x stock:

https://widemath.com/embed/molarity-calculator/?tab=dilution&c1=50x&c2=1x&v2=500mL

Open it in a new tab

The widget answers: take 10 mL of the 50x stock and add 490 mL of water or buffer, a 1:50 dilution. A link to the Molarity tab only needs the formula and two values, such as ?formula=NaCl&c=0.5M&v=250mL.

Add it in three steps

  1. Load the dilution or keep the NaCl example, then press Copy embed code.
  2. Paste it into your lab manual or course page as HTML, next to the solution it is for.
  3. Remind students to check the formula on their own bottle, since a hydrate changes the mass to weigh.

Frequently asked questions

Does it know the molar mass of hydrates?

Yes. Type the hydrate as it appears on the label, for example CuSO4·5H2O, CuSO4.5H2O or CuSO4*5H2O, and the water of crystallisation is included: 249.68 g/mol for copper sulfate pentahydrate.

Can it plan a serial dilution?

Yes. The Serial tab takes the starting concentration, the dilution factor, the number of tubes and the volume per tube or per transfer, and lists every tube.

Will the buffer come out at exactly the right pH?

It is a planning figure. Finish every pH adjustment on a calibrated meter, as the note at the bottom of the widget says.

The WideMath team

Anuj Paudel, Ashish Pandey and Jhalak Prasad Pandey, Nepal

We build WideMath's free calculators and the widgets that put them on other sites. Every ready-made problem on this page was opened in the widget and checked before it was published. Something not working in your widget? Tell us at [email protected].