Convert milligrams to kilograms or kilograms to milligrams with a clear formula, plain-language steps, and easy-to-read results.
Table of contents
How to use our Milligrams to Kilograms Converter
- Enter the number in Value to convert. You can type a whole number or a decimal.
- Choose the starting unit in Convert from and the target unit in Convert to.
- Pick how many digits to show in Decimal places, then click Calculate.
- Read Converted value for the main answer, then check Formula used and What happened to see whether the calculator divided or multiplied by 1,000,000.
- Use Scientific notation as a quick sanity check when the decimal is very small or very large, and make sure the target unit matches what you expected.

Definitions
Milligram (mg): A metric unit of mass equal to one-thousandth of a gram.
Kilogram (kg): A metric unit of mass equal to 1,000 grams.
Converted value: The main result after changing the amount into the unit chosen in Convert to.
Decimal places: How many digits appear after the decimal point in the main result.
Scientific notation: A compact way to write very small or very large numbers, such as 2.5 x 10^-6.
Formula used: The exact conversion rule applied, either divide by 1,000,000 or multiply by 1,000,000.
Common mistakes and quick fixes
Mistake: Leaving Convert from and Convert to on the same unit, such as mg to mg.
Fix: Pick different units so Converted value shows a real conversion.
Mistake: Mixing up mg and kg in Convert from .
Fix: Check the starting unit first. If your amount is in milligrams, set Convert from to mg before you calculate.
Mistake: Thinking a small Converted value means the math is wrong when converting mg to kg.
Fix: Read What happened . Milligrams to kilograms divides by 1,000,000, so the number usually gets much smaller.
Mistake: Entering text or leaving Value to convert blank.
Fix: Enter a numeric value only, such as 2500 or 1.75, then recalculate.
Mistake: Using too few digits in Decimal places and rounding away important detail.
Fix: Increase Decimal places if the Converted value looks like 0 too soon.
Mistake: Reading Scientific notation as a different answer from Converted value .
Fix: Treat Scientific notation as the same value written in a shorter form for tiny or huge numbers.
Limitations & Key Assumptions / Boundary Conditions
- The calculator converts only between milligrams and kilograms. It does not convert grams, micrograms, pounds, or ounces.
- Convert from and Convert to must be different units. Same-unit setups should be changed before calculating.
- The result is a unit conversion only. It does not check whether a mass value makes sense for a medicine dose, lab sample, or shipping item.
- Negative entries are allowed for math, but they usually describe a signed change or difference, not the mass of a physical object.
- Rounding depends on Decimal places, so the displayed Converted value can look slightly different from the full exact value.
- Very small results can look like zero if you choose too little rounding, so check Scientific notation when needed.
Methodology
Conversion rule
The calculator uses the metric relationship between milligrams and kilograms. Since 1 kilogram equals 1,000,000 milligrams, converting mg to kg means dividing by 1,000,000. Converting kg to mg means multiplying by 1,000,000.
kg = mg / 1000000
mg = kg * 1000000
How the result is shown
Converted value is displayed in the target unit chosen in Convert to. The calculator rounds that main result to the number selected in Decimal places. Scientific notation shows the same answer in a compact math form for easier reading when the decimal is tiny or very large.
Mini example
If Value to convert is 2500, Convert from is mg, and Convert to is kg, divide 2500 by 1,000,000.
2500 / 1000000 = 0.0025 kg
If Value to convert is 1.75, Convert from is kg, and Convert to is mg, multiply 1.75 by 1,000,000.
1.75 * 1000000 = 1750000 mg
Calculation choices
The calculator accepts zero, decimals, and negative numbers. It strips commas and spaces before parsing the number so entries like 1,000,000 still calculate correctly. If the two unit selectors match, the conversion should be blocked because no unit change happened.
Assumptions used
This tool assumes standard metric unit relationships and does not apply density, packaging, dose rules, or measurement uncertainty. Real-world labels and lab results can differ because of rounding, instrument limits, or the source value you start with.