Calculator
What the MB to GB does
MB to GB: 1 MB = 0.001 GB, so multiply a megabyte (1000 kb) value by 0.001 to get gigabyte (1000 MB), or divide to go back. Example: 1 MB = 0.001 GB.
With Value, From and To entered, the MB to GB works out Result, How it was calculated and Reverse conversion. Change any input and the output follows immediately.
Converting once from the original figure beats chaining approximations. That is usually what brings engineers checking a datasheet here.
The work is done by JavaScript already loaded in your browser, so your input never crosses the network.
Field definitions, the method, and a worked example from the default values are all set out further down the page.
What do the MB to GB fields mean?
The MB to GB uses 3 inputs. None of the boxes start empty. The page loads with a worked set of values you can edit or replace.
| Field | What to enter | Default |
|---|---|---|
| Value | required | 1 |
| From | choose from Bit (b), Byte (B), Kilobyte (1000 B) (kB), Megabyte (1000 kB) (MB), Gigabyte (1000 MB) (GB) or Terabyte (1000 GB) (TB) | Megabyte (1000 kB) (MB) |
| To | choose from Bit (b), Byte (B), Kilobyte (1000 B) (kB), Megabyte (1000 kB) (MB), Gigabyte (1000 MB) (GB) or Terabyte (1000 GB) (TB) | Gigabyte (1000 MB) (GB) |
How does the MB to GB work?
Both units are converted through data's base unit (byte), so any of the 11 units in the dropdowns can be paired in either direction without loss of accuracy.
Exact definitions are preferred throughout: the metre, the inch and the pound all have them. Only where a unit depends on a measured constant is an accepted published value substituted.
Worked example
These are the values the MB to GB loads by default, and the result it produces from them. Open the tool above and you will find precisely these figures already in place.
| Value | 1 |
|---|---|
| From | Megabyte (1000 kB) (MB) |
| To | Gigabyte (1000 MB) (GB) |
| Result | 0.001 GB |
|---|---|
| How it was calculated | 1 MB = 0.001 GB, so 1 × 0.001 = 0.001 GB |
| Reverse conversion | 1000 MB (if you meant 1 GB) |
Megabytes and gigabytes
1 gigabyte (decimal) equals exactly 1,000 megabytes (1,000,000,000 bytes); the binary gibibyte (GiB) equals 1,024 mebibytes (1,073,741,824 bytes), now a roughly 7.4% gap, large enough to visibly affect how big a file or drive appears to be depending on which convention is used.
Worth knowing
- This is the classic "why does my hard drive show less space than advertised" scale: a drive marketed as "500 GB" (decimal, by the manufacturer) shows up in most operating systems as roughly 465 GB, which is actually 465 GiB mislabelled with a decimal unit name.
- No data is actually missing in that scenario: it’s purely a labelling and counting-convention mismatch between the two legitimate definitions of "giga," not a defect in the drive.
- Smartphone and camera storage specifications almost always use the decimal (manufacturer) convention, while the device’s own settings menu, using the binary convention, typically reports a smaller "available" figure even before any files are stored: accounting for both this labelling gap and the space used by the operating system itself.
Definitions: BIPM SI Brochure · NIST reference on units
How to use it
- Type Value.
- Pick a value for From: the options are Bit (b), Byte (B), Kilobyte (1000 B) (kB), Megabyte (1000 kB) (MB), Gigabyte (1000 MB) (GB) or Terabyte (1000 GB) (TB).
- Pick a value for To: the options are Bit (b), Byte (B), Kilobyte (1000 B) (kB), Megabyte (1000 kB) (MB), Gigabyte (1000 MB) (GB) or Terabyte (1000 GB) (TB).
- The results panel stays in sync with the form as you edit it.
- Look at Result, How it was calculated and Reverse conversion in the output panel.
- Use Copy Link if you want the same setup again later, or Print for a paper copy.
What this tool does not do
- Conversion factors use SI definitions; some industries use their own rounded factors.
- Repeated conversions compound rounding, so convert once from the original value where possible.
- Where a standard has revisions, the version used is the one named in the method section.
- Garbage in, garbage out: confirm each figure means what you think it does before trusting the result.
Frequently asked questions
Value, From and To. That is the whole form. Each field is pre-filled with a sensible default, so nothing is mandatory before you see a result.
With the values loaded when the page opens, result comes out as 0.001 GB. Nudge one field at a time to see which one the answer is most sensitive to.
Nothing leaves your machine. The only network traffic is loading the page itself.
Free for any use, personal or commercial.
It follows the standard definition for this operation, so the result matches what a reference implementation would give.