# Kibibyte to Megabyte - *512 KiB* to MB Conversion

## Conversion History (Last 6)

### Excel Formula to convert from KiB to MB

Apply the formula as shown below to convert from 512 Kibibyte to Megabyte.

A | B | C | |
---|---|---|---|

1 | Kibibyte (KiB) | Megabyte (MB) | |

2 | 512 | =A2 * 0.001024 | |

3 |

Download - Excel Template for Kibibyte to Megabyte Conversion

If you want to perform bulk conversion locally in your system, then download and make use of above Excel template.

### Python Code for KiB to MB Conversion

You can use below code to convert any value in Kibibyte to Megabyte in Python.

kibibyte = int(input("Enter Kibibyte: "))

megabyte = kibibyte * 1024 / (1000*1000)

print("{} Kibibyte = {} Megabyte".format(kibibyte,megabyte))

megabyte = kibibyte * 1024 / (1000*1000)

print("{} Kibibyte = {} Megabyte".format(kibibyte,megabyte))

The first line of code will prompt the user to enter the Kibibyte as an input. The value of Megabyte is calculated on the next line, and the code in third line will display the result.