mg to teaspoon Converter
Milligrams and teaspoons describe different physical things. A milligram is a unit of mass; a teaspoon is a unit of volume. This calculator can connect them only because it asks for density, the amount of mass that fits in each milliliter. The presets match the calculation exactly: water 1000 mg/mL, table salt 1217 mg/mL, granulated sugar 845 mg/mL, and all-purpose flour 529 mg/mL. A custom option lets you enter another density in mg/mL.
Because density is required, there is no universal answer to “how many teaspoons is 5000 mg?” For water the answer is about one teaspoon. For flour it is nearly two teaspoons. For a dense powder it may be less. The calculator is best for transparent kitchen estimates, recipe scaling, supplement comparisons, and educational mass-volume checks. It is not a medical dosing tool.
What the calculator assumes
The code first converts mass to volume:
Then it converts milliliters to US teaspoons:
The same milliliter value is also divided by 14.7868 to show tablespoons in the detail line. Density must be positive. If you choose a preset, the preset density overrides the custom field. If you choose custom, the custom density is used.
Example
The default example is 5000 mg of water. Water’s preset density is 1000 mg/mL, so the mass-to-volume step is:
Next the calculator divides by the US teaspoon size:
The main answer is approximately 1.014421 US teaspoons. The supporting milliliter result is 5 mL. The tablespoon detail is 5 divided by 14.7868, or about 0.338141 tablespoons. If the ingredient is changed to flour while the mass stays 5000 mg, the calculator uses 529 mg/mL and returns about 1.918 teaspoons.
Reference table
| Ingredient preset | Density used | 5000 mg volume | Approximate teaspoons |
|---|---|---|---|
| Water | 1000 mg/mL | 5.000 mL | 1.014 tsp |
| Table salt | 1217 mg/mL | 4.108 mL | 0.834 tsp |
| Granulated sugar | 845 mg/mL | 5.917 mL | 1.201 tsp |
| All-purpose flour | 529 mg/mL | 9.452 mL | 1.918 tsp |
Why density changes the answer
Density is mass divided by volume. Higher-density materials pack more mass into the same space, so a fixed number of milligrams occupies fewer teaspoons. Lower-density materials occupy more volume. In cooking, the relevant value is often bulk density, not pure chemical density, because powders contain air between particles. A spoon of sifted flour can weigh less than a spoon of flour scooped directly from a bag. Fine salt and coarse salt can differ even when both are called salt.
The presets are therefore practical approximations, not guarantees for every brand or measuring style. If a recipe, nutrition database, supplier sheet, or lab specification gives a better density, use the custom field. For precise baking or formulation, weigh the ingredient directly on a scale.
Cooking, supplements, and medicine
Kitchen conversions are the natural use case: estimating whether a small mass of salt, sugar, flour, oil powder, or another ingredient is close to a familiar spoon measure. For broader food conversions, compare the tsp to grams converter, mg to tablespoon converter, and density calculator. If you only need volume units, the milliliters to cups calculator avoids the density step.
For supplements and medicine, be much more cautious. A capsule label in milligrams does not tell you how many teaspoons of powder it would occupy unless you know the powder’s bulk density, and that volume is not a dosing instruction. Liquid medicines are based on concentration, not ingredient bulk density; use the labeled mL device and professional instructions.
When documenting a conversion, record the density source, whether the spoon was level or packed, and the unit standard used. Those notes make the estimate repeatable and prevent someone from reusing the teaspoon value for a different ingredient.
Common pitfalls
- Assuming 1 teaspoon always weighs 5000 mg. That is only close for water.
- Entering density in g/mL when the field expects mg/mL. Multiply g/mL by 1000 before entering it here.
- Using packed, heaped, or rounded spoons while expecting level-spoon math.
- Applying water density to powders, syrups, oils, or mixtures.
- Treating the result as exact enough for medication. It is not medical advice.
Accuracy and limits
The numerical result is only as reliable as the entered measurements and the stated physical assumptions. A unit change does not determine density, concentration, geometry, reference pressure, efficiency, or safety. Preserve extra digits during intermediate work, round only for the final use, and confirm consequential decisions against the governing label, specification, or professional method.
Sources
- NIST, Approximate Conversions from U.S. Customary Measures to Metric — household volume conversion context.
- NIST, SI Units: Mass — mass unit context for milligrams.
- USDA FoodData Central, FoodData Central — reference database for food weights and measures.
- FDA, Dosage Delivery Devices for Orally Ingested OTC Liquid Drug Products — cautionary source for medication dosing devices.