GameParticles

Data Size Converter

NumbersNew

Convert any data size across Bytes, KB, MB, GB, TB, and PB. Toggle between binary (1024-based KiB/MiB/GiB) and SI decimal (1000-based KB/MB/GB) standards.

Base 1024
B
Bytes
= 1 byte
1,073,741,824
KiB
KilobiBytes
= 1,000 bytes (÷ 1024ⁿ)
1,048,576
MiB
MegabiBytes
= 1 million bytes (÷ 1024ⁿ)
1,024
GiB
GigabiBytes
= 1 billion bytes (÷ 1024ⁿ)
1
TiB
TerabiBytes
= 1 trillion bytes (÷ 1024ⁿ)
0.0009765625
PiB
PetabiBytes
= 1126 trillion bytes (÷ 1024ⁿ)
9.536743164e-7
Binary vs SI Decimal: Binary uses powers of 1024 (KiB, MiB, GiB), common for RAM and OS file sizes. SI Decimal uses powers of 1000 (KB, MB, GB), used by storage manufacturers and network speeds. A 1 TB hard drive holds ~931 GiB.

Works great for

💸

Storage cost estimation

Calculate how many gigabytes your application's database or media library will consume before choosing a cloud storage tier. Convert between bytes, KB, MB, and GB to get exact figures for AWS S3 or Google Cloud Storage pricing.

🏗️

Database capacity planning

Estimate table and index sizes when designing a new database schema or migrating to a managed service like RDS or Supabase. Switching between binary GiB and decimal GB reveals the real vs. advertised capacity difference.

☁️

Cloud instance right-sizing

Compare RAM and disk requirements across EC2, GCP, or Azure instance types by converting memory specs to a common unit. Quickly check whether a 512 MiB limit fits your application's expected footprint.

📡

Bandwidth and throughput math

Convert file sizes to bits per second to estimate transfer times over a given network connection. Useful for calculating video streaming bitrates, S3 upload windows, and CDN data transfer costs.

🎓

Teaching storage units

Demonstrate the difference between binary units (KiB, MiB, GiB) and SI decimal units (KB, MB, GB) to students or clients. The side-by-side conversion table makes the 1024 vs 1000 distinction immediately clear.

🖥️

Explaining disk sizes to clients

Show clients why a '1 TB' hard drive reports as 931 GiB in their operating system. The binary vs decimal toggle and live conversion table make the explanation concrete and verifiable.

byteskilobytesmegabytesgigabytesterabytesdata sizebinaryKiBMiBGiB

Frequently asked questions

How do I convert bytes to megabytes or gigabytes?

Enter a value and pick the source unit (bytes, KB, MB, GB, TB, or PB), then read the converted value in every other unit at once. Toggle between binary (1024-based) and decimal (1000-based) modes to match the standard you need.

What is the difference between KB and KiB?

KB (kilobyte) uses the decimal standard where 1 KB equals 1000 bytes, while KiB (kibibyte) uses the binary standard where 1 KiB equals 1024 bytes. Storage vendors list decimal KB and GB, while operating systems report binary KiB and GiB, which is why file sizes look different.

Is there a limit on the data size converter?

No, you can enter any number of bytes, kilobytes, megabytes, gigabytes, terabytes, or petabytes and convert it instantly. The tool is free to use with no sign-up and no limit on how many conversions you run.

Why does my hard drive show less storage than advertised?

Manufacturers advertise storage using decimal GB (1000-based), but operating systems display it using binary GiB (1024-based), so a 1TB drive shows as about 931 GiB in your file explorer. Switch the converter to binary mode to see that exact figure.

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵