Conversor de Bytes (KB, MB, GB, TB)
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
1 KB = 1 024 B; 1 MB = 1 024 KB; 1 GB = 1 024 MB; 1 TB = 1 024 GB; 1 PB = 1 024 TB
About this calculator
The Byte Converter is a free online tool that converts digital storage values between different units, such as byte (B), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), and petabyte (PB). The conversion follows the binary standard, where each unit equals 1024 times the previous unit. For example, 1 KB equals 1024 bytes, 1 MB equals 1024 KB, and so on. This is essential for IT professionals, students, and anyone working with digital files, hard drives, or cloud storage plans.
Usage is simple: enter a numeric value, select the source unit and the target unit. The calculator automatically applies the conversion formula and displays the equivalent result. For instance, to convert 5 GB to MB, multiply 5 by 1024, resulting in 5120 MB. The tool also supports conversions between larger and smaller units, ensuring accuracy for storage capacity calculations, file sizes, and data transfer.
When to use? In everyday situations like checking free space on a USB drive, planning backups, comparing cloud storage plans, or sizing servers. It is also useful for developers dealing with upload limits, designers optimizing images, or computer science students understanding data unit hierarchies.
Common caveats: Note that hard drive manufacturers often use the decimal system (1 KB = 1000 bytes) for marketing, while operating systems use binary. This can cause apparent capacity differences. Our tool adopts the binary standard (1024), aligned with systems like Windows. Always verify that the target unit matches your context, especially when planning storage or data transfers.
Frequently asked questions
Why is 1 KB 1024 bytes and not 1000?
In computing, the binary system is used because data is processed in powers of 2. 1024 is 2 to the 10th power, which facilitates memory addressing. The decimal system (1000) is used by hard drive manufacturers for marketing.
What is the difference between GB and GiB?
GB (gigabyte) in decimal equals 1 billion bytes, while GiB (gibibyte) in binary equals 1,073,741,824 bytes. Many operating systems use GB but in the binary sense, causing confusion.
How do I convert MB to GB?
Divide the MB value by 1024 to get GB. For example, 2048 MB divided by 1024 equals 2 GB.
Does this tool calculate internet speed?
Not directly. Internet speed is measured in bits per second (bps), not bytes. 1 byte equals 8 bits. Use a specific bit converter for that.
What is a petabyte and when to use it?
Petabyte (PB) is 1024 TB, used for large data centers, enterprise cloud storage, and big data. It is a common unit in data centers.