100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

Data Storage & Transfer Rate Converter

KB · MB · GB · TB · Mbps · Gbps · bytes · bits

Convert storage and transfer units in one tool: byte to mb, bytes to gb, kilobyte to megabyte, megabyte to gigabyte, convert gb to tb, and gbps ↔ Mbps ↔ MB/s. Decimal (SI) and binary (IEC) units side by side — no upload required.

Use it as a megabyte converter, kilobytes to gigabytes converter, or transfer-rate calculator when estimating download times from a gigabit per second connection.

Value (KB)
Result (MB)

0.001

All unit equivalents

Mathematical / technical context

Storage (SI decimal): 1 KB = 1,000 B · 1 MB = 1,000 KB · 1 GB = 1,000 MB · 1 TB = 1,000 GB

1 byte = 8 bits · MB/s = Mbps ÷ 8 · GiB = 2³⁰ bytes · GB (SI) = 10⁹ bytes

Step-by-step conversion examples

KB → MB: 5,000 KB ÷ 1,000 = 5 MB

Bytes → GB: 2,000,000,000 bytes ÷ 10⁹ = 2 GB

MB → GB: 2,500 MB ÷ 1,000 = 2.5 GB

GB → TB: 4,000 GB ÷ 1,000 = 4 TB

1 Gbps: = 1,000 Mbps = 125 MB/s (÷ 8)

Data storage & transfer reference table

FromToResult
1 KBbytes (SI)1,000 B
1 KiBbytes1,024 B
1 MBKB1,000 KB
1 MBMiB0.954 MiB
1 GBMB1,000 MB
1 TBGB1,000 GB
1 GiBGB1.074 GB
1,048,576 BMiB1 MiB
1 bytebits8 b
100 MbpsMB/s12.5 MB/s
1 GbpsMbps1,000 Mbps
5,000 KBGB0.005 GB

Complete guide to bytes, megabytes, gigabytes & transfer rates

Bytes, kilobytes, megabytes, and gigabytes — storage units explained

Digital storage is measured in bytes (B), grouped into kilobytes, megabytes, gigabytes, and terabytes. A byte is 8 bits — the smallest unit most file systems report. When you convert bytes to gb or run a byte to gigabyte converter, you are scaling by powers of 1,000 (SI decimal) or 1,024 (IEC binary), depending on which label the tool or OS uses.

This calculator handles both conventions: decimal KB/MB/GB/TB (1 KB = 1,000 bytes) and binary KiB/MiB/GiB/TiB (1 KiB = 1,024 bytes). Pick the units that match your context — hard-drive marketing often uses decimal; Windows/macOS file sizes often show binary mebibytes as "MB."

Kilobyte to megabyte — conversion of kilobytes to megabytes

The most common storage step-up is kilobyte to megabyte. Under SI decimal rules: 1 MB = 1,000 KB and 1 KB = 1,000 bytes. So 5,000 KB = 5 MB. Under IEC binary: 1 MiB = 1,024 KiB.

Use this page as a kilobyte to megabyte converter — select Kilobyte (KB) as From, Megabyte (MB) as To, enter your value. The same flow covers convert from kilobyte to megabyte, convert kb to megabytes, and conversion of kilobytes to megabytes for any file size or bandwidth budget.

Quick reference: 1,024 KB ≈ 1.024 MB (decimal) or exactly 1 MiB (binary). A 500 KB thumbnail = 0.5 MB decimal.

Byte to KB, byte to MB, and bytes to megabytes

Raw byte counts appear in memory profilers and API payloads. To byte to kb: divide by 1,000 (SI) or 1,024 (KiB). To byte to mb or bytes to megabytes: divide by 1,000,000 (decimal MB) or 1,048,576 (MiB).

Examples:

  • 1,048,576 bytes = 1 MiB = ~1.049 MB (decimal)
  • 10,000,000 bytes = 10 MB (decimal)
  • 1 byte = 8 bits — select Bit ↔ Byte for bit-level math

A general megabyte converter or converter mb accepts input in bytes, KB, or MB and outputs any target unit — useful when a log reports bytes but your spreadsheet uses megabytes.

Megabyte to gigabyte and conversion megabytes to gigabytes

Megabyte to gigabyte scales by 1,000 under SI: 1 GB = 1,000 MB. So 2,500 MB = 2.5 GB. A megabytes to gigabytes converter saves manual division when estimating how many photos fit on a 64 GB phone.

Conversion megabytes to gigabytes in binary: 1 GiB = 1,024 MiB. A 931 GiB drive is often sold as "1 TB" decimal — the mismatch confuses buyers until they convert both ways.

Reverse: convert gigabytes to megabytes multiplies by 1,000 (or 1,024 for GiB → MiB). 3.2 GB = 3,200 MB decimal.

Bytes to GB and kilobytes to gigabytes

Large backups and cloud quotas are quoted in gigabytes. To bytes to gb (decimal): divide bytes by 1,000,000,000. One gibibyte (GiB) = 1,073,741,824 bytes. The byte to gigabyte converter above handles both — enter bytes, select Gigabyte or Gibibyte as output.

Jumping two steps: convert kilobytes to gigabytes or use a kilobytes to gigabytes converter. SI path: KB ÷ 1,000,000 = GB. Example: 5,000,000 KB = 5 GB. Chaining kb to mb to gb (÷ 1,000 twice) gives the same result as converting KB directly to GB in one step here.

GB to TB and terabyte conversions

Enterprise storage and cloud archives use terabytes. Convert gb to tb (decimal): divide GB by 1,000 — 1 TB = 1,000 GB. To convert gigabytes to terabytes: 4,500 GB = 4.5 TB.

Reverse: convert terabytes to gigabytes multiplies by 1,000. Binary tebibytes: 1 TiB = 1,024 GiB. NAS boxes and OS installers mix labels — always check whether the spec uses TB (10¹² bytes) or TiB (2⁴⁰ bytes).

Gigabit, Gbps, and megabits per second — transfer rates

Storage size (bytes) differs from transfer speed (bits per second). ISPs advertise gigabit per second links as Gbps or gigabit connections — a 1 Gbps line moves 1 billion bits each second, not 1 gigabyte.

Because 1 byte = 8 bits, divide bit rate by 8 for byte rate: 1 Gbps = 125 MB/s theoretical max. 1 gigabit to mbps in the same tier: 1 Gbps = 1,000 Mbps (decimal). Select Gigabits per Second → Megabits per Second in the rate units group to verify.

Download time estimate: file size in megabytes × 8 ÷ Mbps = seconds (ideal case, no overhead). A 800 MB file on 100 Mbps ≈ 64 seconds before TCP and server limits.

SI decimal vs IEC binary — which to pick

Hard-drive labels (1 TB = 1,000,000,000,000 bytes) follow SI. RAM and many OS APIs use powers of 1,024. The same numeric gap explains why a "1 TB" SSD shows ~931 GB in some file managers — they are counting GiB while the box counted TB.

When comparing kilo bytes to mb spelling variants or formal SI symbols, remember: uppercase B = byte, lowercase b = bit. Mbps is megabits; MB/s is megabytes. Mixing them doubles or halves your answer by a factor of eight.

All conversions run locally in your browser — no file sizes or network plans are uploaded.

Detailed guide

Mbps is not MB/s

Divide megabits per second by 8 for megabytes per second. A 100 Mbps line caps around 12.5 MB/s before overhead.

TB on the box vs TiB in the OS

Drive makers use decimal TB; operating systems often report tebibytes. Convert both ways before comparing free space to rated capacity.

More Unit Converters

🌾
Area Converter
🎨
Color Format
💾
Data Storage & Transfer
Fuel & Gas Converter
🥄
Kitchen & Cooking
📏
Length & Distance
🔢
Number Base
📄
Paper Size
🏎️
Speed
🌡️
Temperature
🔤
Typography Converter
🧪
Volume
⚖️
Weight & Mass

Browse by category

Common questions

Data storage & transfer FAQ

How do I convert kilobytes to megabytes?

Decimal: divide KB by 1,000. Binary: divide KiB by 1,024 for MiB. Select KB → MB in the converter.

How do I convert bytes to GB?

Divide bytes by 1,000,000,000 for decimal GB, or by 1,073,741,824 for GiB. Enter bytes, pick Gigabyte or Gibibyte.

How many MB in a GB?

SI decimal: 1,000 MB per GB. IEC binary: 1,024 MiB per GiB.

How do I convert megabytes to gigabytes?

Divide MB by 1,000 for GB (decimal). Example: 2,500 MB = 2.5 GB.

How do I convert GB to TB?

Divide GB by 1,000. 5,000 GB = 5 TB decimal.

What is 1 Gbps in Mbps?

1 Gbps = 1,000 Mbps (decimal). 1 Gbps ≈ 125 MB/s when converted to megabytes per second.

Bytes vs bits — what is the difference?

1 byte = 8 bits. Storage uses bytes (MB, GB); network speed often uses bits (Mbps, Gbps).

MB vs MiB?

MB (decimal) = 1,000,000 bytes. MiB (binary) = 1,048,576 bytes. OS displays often show MiB labeled as MB.

How do I convert gigabytes to megabytes?

Multiply GB by 1,000 for decimal MB. 3 GB = 3,000 MB.

Is data uploaded?

No. All conversions run locally in your browser.