What is the mEq to mg Calculator?
This calculator converts a quantity expressed in milliequivalents (mEq) into milligrams (mg) for electrolytes such as sodium, potassium, calcium, magnesium and chloride. Milliequivalents measure the chemical combining power of an ion — they account for the ion's electrical charge — while milligrams measure simple mass. Because labs, supplements and clinical orders mix both units, converting between them is a routine task.
How to use it
Enter the amount in mEq, the atomic (or molecular) weight of the ion in g/mol, and its valence (the absolute value of the ionic charge). The tool returns the equivalent weight and the resulting mass in mg. Reference values: sodium (Na⁺) 23, valence 1; potassium (K⁺) 39.1, valence 1; calcium (Ca²⁺) 40.1, valence 2; magnesium (Mg²⁺) 24.3, valence 2; chloride (Cl⁻) 35.5, valence 1.
The formula explained
The key is the equivalent weight, defined as the atomic weight divided by the valence. One equivalent of an ion is the amount that carries one mole of charge. So:
$$\text{mg} = \text{mEq} \times \left( \frac{\text{atomic weight}}{\text{valence}} \right)$$
For monovalent ions (valence 1) the equivalent weight equals the atomic weight, so 1 mEq = the atomic weight in mg. For divalent ions (valence 2) the equivalent weight is half the atomic weight.
Worked example
Convert 20 mEq of potassium chloride (KCl) to mg of potassium. Potassium has an atomic weight of 39.1 and a valence of 1. Equivalent weight = \( 39.1 \div 1 = 39.1 \) mg/mEq. $$\text{mg} = 20 \times 39.1 = \mathbf{782 \text{ mg}}$$ of potassium.
Atomic Weights, Valences and Salt-Form Data
Converting milliequivalents to milligrams needs only two numbers: the molar mass of the species and the valence (the absolute value of its ionic charge). The calculator applies \(\text{mg} = \text{mEq} \times \dfrac{ {\text{molar mass}}}{\text{valence}}\), so the equivalent weight of an ion is its atomic weight divided by its charge.
When the dose is written as a salt rather than as the bare ion, the elemental ion mass fraction becomes important, because only part of the salt's mass is the electrolyte of interest. The milliequivalents of ion supplied by one gram of salt follow from
$$\text{mEq per gram of salt} = \frac{1000 \times \text{valence} \times \text{ion mass fraction}}{\text{ion atomic weight}}$$where the ion mass fraction is expressed as a decimal (for example 0.393 for sodium in sodium chloride). The atomic weights below are the IUPAC standard atomic weights rounded to the precision normally used in pharmacy and clinical chemistry; molar masses of the salts are the sums of those atomic weights, including water of hydration where the hydrate is named.
| Ion or compound | Formula | Molar / atomic weight (g/mol) | Valence used | Elemental ion mass fraction (%) | mEq of ion per gram |
|---|---|---|---|---|---|
| Sodium ion | Na⁺ | 23.00 | 1 | 100 | 43.5 |
| Potassium ion | K⁺ | 39.098 | 1 | 100 | 25.6 |
| Calcium ion | Ca²⁺ | 40.08 | 2 | 100 | 49.9 |
| Magnesium ion | Mg²⁺ | 24.305 | 2 | 100 | 82.3 |
| Chloride ion | Cl⁻ | 35.45 | 1 | 100 | 28.2 |
| Bicarbonate ion | HCO₃⁻ | 61.02 | 1 | 100 (whole ion) | 16.4 |
| Phosphate ion | PO₄³⁻ | 94.97 | 3 | 100 (whole ion) | 31.6 |
| Sodium chloride | NaCl | 58.44 | 1 (Na) | 39.3 Na | 17.1 Na |
| Potassium chloride | KCl | 74.55 | 1 (K) | 52.4 K | 13.4 K |
| Potassium citrate (anhydrous) | K₃C₆H₅O₇ | 306.4 | 1 (K) | 38.3 K | 9.8 K |
| Calcium carbonate | CaCO₃ | 100.09 | 2 (Ca) | 40.0 Ca | 20.0 Ca |
| Calcium gluconate | Ca(C₆H₁₁O₇)₂ | 430.4 | 2 (Ca) | 9.3 Ca | 4.65 Ca |
| Calcium chloride dihydrate | CaCl₂·2H₂O | 147.0 | 2 (Ca) | 27.2 Ca | 13.6 Ca |
| Magnesium oxide | MgO | 40.30 | 2 (Mg) | 60.3 Mg | 49.6 Mg |
| Magnesium sulfate heptahydrate | MgSO₄·7H₂O | 246.5 | 2 (Mg) | 9.9 Mg | 8.1 Mg |
Two cautions when reading the table. First, decide whether your mEq figure refers to the ion or to the salt: for the bare ion enter its atomic weight (e.g. 39.098 for potassium), while for a salt-based equivalent weight enter the salt's molar mass divided by the number of charges it carries. Second, the valence of 3 for phosphate is the formal charge of the fully deprotonated ion; at blood pH phosphate exists mainly as a mixture of H₂PO₄⁻ and HPO₄²⁻ with an average charge near 1.8, which is why phosphate doses are conventionally expressed in mmol rather than mEq in most laboratory and prescribing systems.
Expressing electrolytes in milliequivalents is customary in the United States; most other countries follow SI practice and label the same quantities in millimoles. The chemistry is identical — only the unit convention differs. This section is general chemical reference information, not professional medical advice; dosing decisions belong to a qualified clinician or pharmacist.
mEq, mmol and mg Conversion Table
For a single ionic species the three units are linked by only its atomic weight and its charge: one millimole weighs the atomic weight in milligrams, and one millimole carries as many milliequivalents as the valence. Hence \(\text{mg per mEq} = \text{atomic weight} \div \text{valence}\) and \(\text{mmol per mEq} = 1 \div \text{valence}\).
| Ion | Atomic weight (g/mol) | Valence | mg per 1 mEq | mg per 1 mmol | mEq per mmol | mmol per mEq |
|---|---|---|---|---|---|---|
| Na⁺ | 23.00 | 1 | 23.00 | 23.00 | 1 | 1 |
| K⁺ | 39.098 | 1 | 39.10 | 39.10 | 1 | 1 |
| Ca²⁺ | 40.08 | 2 | 20.04 | 40.08 | 2 | 0.5 |
| Mg²⁺ | 24.305 | 2 | 12.15 | 24.305 | 2 | 0.5 |
| Cl⁻ | 35.45 | 1 | 35.45 | 35.45 | 1 | 1 |
| PO₄³⁻ | 94.97 | 3 | 31.66 | 94.97 | 3 | 0.333 |
Read across a row to get the standard statements: 1 mEq Na⁺ = 23 mg = 1 mmol; 1 mEq K⁺ = 39.1 mg = 1 mmol; 1 mEq Ca²⁺ = 20.04 mg = 0.5 mmol (equivalently 1 mmol Ca²⁺ = 2 mEq = 40.08 mg); 1 mEq Mg²⁺ = 12.15 mg = 0.5 mmol (1 mmol Mg²⁺ = 2 mEq = 24.305 mg); 1 mEq Cl⁻ = 35.45 mg = 1 mmol.
Common prescribed quantities
| Amount | Ion | Substitution | mg of ion | mmol of ion |
|---|---|---|---|---|
| 10 mEq | K⁺ | \(10 \times 39.10 / 1\) | 391 mg | 10 mmol |
| 20 mEq | K⁺ | \(20 \times 39.10 / 1\) | 782 mg | 20 mmol |
| 40 mEq | K⁺ | \(40 \times 39.10 / 1\) | 1564 mg | 40 mmol |
| 20 mEq | Na⁺ | \(20 \times 23.00 / 1\) | 460 mg | 20 mmol |
| 10 mEq | Ca²⁺ | \(10 \times 40.08 / 2\) | 200.4 mg | 5 mmol |
| 8 mEq | Mg²⁺ | \(8 \times 24.305 / 2\) | 97.2 mg | 4 mmol |
Because the valence of sodium, potassium and chloride is 1, their milliequivalent and millimole values are numerically identical — 40 mEq of potassium is also exactly 40 mmol. For the divalent ions calcium and magnesium the numbers differ by a factor of two, which is the single most common source of error: a 10 mEq calcium figure corresponds to 5 mmol, not 10 mmol. Note also that these milligram figures are masses of the elemental ion; a product label stating a tablet mass (for example 500 mg of calcium carbonate) refers to the salt, so apply the ion mass fraction from the previous section first.
FAQ
What valence do I use for calcium? Calcium is Ca²⁺, so its valence is 2. For 10 mEq of calcium: \( 10 \times (40.1 \div 2) = 200.5 \) mg.
Is this the same as mEq to mmol? No. mmol divides mEq by valence only (no atomic weight); mg multiplies mmol by atomic weight.
Does this work for compounds? Yes — use the molecular weight of the salt and its total ionic charge if you want the mass of the whole compound, or use the ion's data for the elemental mass.