A common conversion that’s done when setting storage size is to calculate the correct number of Bytes and other values from the base, desired Kilobytes, Megabytes, Gigabytes, Terabytes, or even Petabytes. The calculator below enables you to enter your desired value and then easily convert to the correct number of Bytes, Kilobytes, Megabytes, and so on. You will also find below a table of common Byte conversions needed to see what those are in Gigabytes, Terabytes, and so on as well.

This type of conversion from Gigabytes (or others) to Bytes is a common task necessary when configuring various cloud services; such as Azure SQL Database or others. While many unit conversions are easily integrated within search engines, the ability to convert Byte units is not, so I created this simple calculator to help with that purpose.



Byte Conversion Calculator

To do do a conversion, enter the number you want to convert in the below text box, select the unit (Bytes, Kilobytes, Megabytes, Gigabytes, or Terabytes), then click Calculate.

Bits
Bytes
Kilobytes
Megabytes
Gigabytes
Terabytes
Petabytes

Common Byte Conversions

Here’s a table of common byte conversions that are used in various scenarios:

Bytes Kilobytes Megabytes Gigabytes Terabytes Petabytes
1024 1
10240 10
102400 100
1048576 1024 1
10485760 10240 10
134217728 131072 128
536870912 524288 512
1073741824 1048576 1024 1
53687091200 52428800 51200 50
137438953472 134217728 131072 128
549755813888 536870912 524288 512
1099511627776 1073741824 1048576 1024 1
1125899906842624 1099511627776 1073741824 1048576 1024 1

I hope you find this conversion calculator and common Byte conversions table helpful. I know this is something that I’ve had to do myself manually, and a simple calculator like this definitely saves time when provisioning cloud services, virtual machine disks, and other resources where this is required.


Microsoft MVP

Chris is a Microsoft MVP and has 20 years of experience designing and building Cloud & Enterprise systems. He is also a Microsoft Certified: Azure Solutions Architect, developer, Microsoft Certified Trainer (MCT), and Cloud Advocate. He has a passion for technology and sharing what he learns with others to help enable them to learn faster and be more productive.

Pin It on Pinterest