TECH & INTERNET

File Size Calculator

Convert file sizes between bits, bytes, KB, MB, GB, TB, and binary units. Check storage media compatibility and compare against common file types. Use this file size calculator to understand decimal and binary file-size units, then cross-check with video bitrate file size, download time, internet speed, and data storage converter when bandwidth, video export, or capacity planning also matters. This calculator auto-updates when values change.

File Size Converter

Results update automatically.

Exact bytes1,000,000,000 B
Exact bits8,000,000,000 b

Fits on storage media?

Floppy disk (1.44 MB)Too large
CD-ROM (700 MB)Too large
DVD (4.7 GB)Fits
Blu-ray (25 GB)Fits
USB stick (64 GB)Fits
SSD (1 TB)Fits

Conversions

Decimal (SI)

bits (b)8,000,000,000
Bytes (B)1,000,000,000
Kilobytes (KB)1,000,000
Megabytes (MB)1,000
Gigabytes (GB)1
Terabytes (TB)0.001

Binary (IEC)

Kibibytes (KiB)976,562.5
Mebibytes (MiB)953.674316
Gibibytes (GiB)0.9313225746
Tebibytes (TiB)0.0009094947

Reference comparison

Plain text page (1 KB)×976,562.5
JPEG photo (4 MB)×250
MP3 song (5 min, 128 kbps)×175.438596
PDF document (2 MB)×500
SD video (1 hr, 700 MB)×1.428571
HD video (1 hr, 4 GB)25%
4K video (1 hr, 50 GB)2%

About This File Size Calculator

This file size calculator converts between all common file size units — bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and their binary equivalents (KiB, MiB, GiB, TiB). Enter any size in any unit and the results panel shows the equivalent in every other unit across two conversion tables: decimal (SI) units used by storage manufacturers, and binary (IEC) units used by operating systems. A storage media chart shows whether the file fits on common physical media from floppy disk to 1 TB SSD.

File size conversions are more complicated than they appear because there are two competing standards in everyday use. The decimal system uses powers of 1,000: 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes. The binary system uses powers of 1,024: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes. At the kilobyte scale the difference is small. At the terabyte scale it becomes significant — a "1 TB" hard drive contains 1,000,000,000,000 bytes in decimal, but your computer reports only 931 GiB because it reports in binary.

The reference comparison at the bottom of the results panel puts the file size in context. Rather than memorising conversion ratios, you can compare the file to a photo, an MP3, a video, or another familiar object. This is useful when estimating storage needs: if a project folder is 3× the size of an HD movie, it is probably around 12 GB, which is a concrete enough figure to inform a storage decision or backup plan. When file integrity matters after copying or downloading, check the file bytes with the file hash checksum calculator.

Binary vs Decimal: Why the Gap Exists

The confusion between binary and decimal file size units traces back to the early days of computing, when memory was addressed using binary counting. A kilobyte of RAM was naturally 2¹⁰ = 1,024 bytes because memory chips came in powers of two. The prefix "kilo" was borrowed from the metric system, where it means 1,000, but in the computing context it drifted to mean 1,024. For decades this was informal — no one defined it formally — and it worked fine because the difference was small and everyone in the field understood the convention.

Problems arose as storage capacities grew. At the terabyte scale, the gap between 1,000⁴ (decimal) and 1,024⁴ (binary) is about 9.5%. A hard drive marketed as "1 TB" contains 1,000,000,000,000 bytes by the manufacturer's decimal definition, but Windows reports it as approximately 931 GiB using binary reckoning. Neither figure is wrong — they use different but internally consistent definitions. The IEC formally standardised binary prefixes (KiB, MiB, GiB, TiB) in 1998 to resolve this, but adoption has been slow and informal usage of KB, MB, and GB for binary quantities persists widely.

Practical Storage Scenarios

For photographers, a typical shoot might generate 500 RAW files at 25 MB each — a total of 12.5 GB . A 64 GB memory card would hold about five similar sessions before needing to be cleared. An external 2 TB hard drive holds roughly 80,000 such files. For videographers, raw 4K footage from a cinema camera can reach 1 GB per minute, meaning an hour of footage is around 60 GB before editing. A 1 TB drive holds roughly 16 hours of this material.

For software developers and system administrators, file size awareness informs infrastructure decisions. Database backups that compress to 200 MB fit easily on a weekly rotation of 64 GB tapes. Log files that accumulate at 500 MB per day fill a 1 TB drive in about two years — a useful figure for capacity planning. Docker images typically range from 50 MB to 1 GB; a registry with 50 images might consume 25 GB of storage before considering versioned tags. These are the kinds of estimates where a quick file size conversion cuts through ambiguity and grounds the discussion in concrete numbers.

A practical File Size Calculator workflow

Storage labels mix decimal marketing units with binary file-system units, which is why a 1 TB drive often shows less usable space than buyers expect.

Enter the values you already know, review the headline result, then read unit breakdowns or alternate formats before sharing the answer.

Use it when comparing cloud quotas, SD card capacity, email attachment limits, backup sizes, and documentation that switches between KB, KiB, MB, and MiB.

If the result affects a deadline, storage purchase, or network upgrade, run a second version with conservative speed or size assumptions.

Compare more than one scenario

1 decimal GB equals 1,000,000,000 bytes, while 1 GiB equals 1,073,741,824 bytes. At terabyte scale the gap is large enough to affect backup planning and card capacity.

Change one input at a time — speed, file size, unit system, or household load — to see whether the answer is sensitive to that assumption.

The useful output is often the gap between advertised speed and measured throughput, decimal versus binary storage, or binary versus hex representation.

When explaining the result to someone else, show both the starting value and the converted outcome so the unit logic stays visible.

Limits and when to double-check

Check whether the source means decimal GB or binary GiB before ordering storage or setting upload limits. Operating systems, vendors, and cloud consoles do not always label units the same way.

This tool focuses on one calculation layer. It does not replace ISP contracts, storage vendor specs, calibrated instruments, or production network monitoring.

For business continuity, broadcast deadlines, or regulated data handling, confirm assumptions with measured tests and official documentation.

Treat the calculator as a fast planning check that makes unit and speed assumptions visible before you act.

What this file size calculator converts

This file size calculator converts between bits, bytes, decimal units such as KB, MB, GB, and TB, and binary units such as KiB, MiB, GiB, and TiB.

It fits file size calculator, bytes to MB, MB to GB, GB to GiB, file size converter, and storage media fit searches where the task is understanding a single file or amount of data.

It should not be stretched into compression estimation, image resizing, deduplication, cloud backup pricing, or storage purchase advice. Use the video bitrate file size calculator for bitrate-duration video export estimates, and the download time calculator when connection speed is part of the question.

File Size Calculator Example

A common workflow is to paste or enter a real sample, review the output, then adjust one setting at a time. This makes it easier to see exactly what changed and avoid copying an incorrect result.

For developer and web-design tasks, test the result in the place it will actually be used. Encoded text, CSS values, parsed URLs, timestamps, and generated strings can behave differently depending on the target system.

Practical Checks Before Using the Output

Check formatting, character escaping, units, timezone assumptions, and browser support before using the output in production. Small formatting differences can break code, URLs, data files, or layouts.

Avoid pasting private secrets, passwords, API keys, or personal data into tools unless you are comfortable with where that data is processed. These calculators are designed for convenient local checks, not secure secret handling.

Where This Saves Time

Developer utilities are most useful when they remove a tiny but annoying source of uncertainty. Instead of writing a scratch script, opening a terminal, or guessing a format, you can check the value quickly and move back to the main task.

That matters during debugging because small mistakes often hide in plain sight: a timezone offset, a copied user agent, an invalid UUID, a malformed URL, or a random token with the wrong length.

Production Readiness Checks

Before using the output in production, confirm the expected length, character set, timezone, casing, browser support, and validation rules. A value that looks right in isolation can still fail a strict API, database, CSS parser, or logging pipeline.

If the output will be shared with other people, label it clearly and include the assumptions used to create it. That turns a quick utility result into something another developer can trust and reproduce.

How to Use This Tool

  1. 1

    Enter the file size

    Type the size of the file and select the unit from the dropdown. The dropdown includes both decimal units (KB, MB, GB, TB) and binary units (KiB, MiB, GiB, TiB) as well as raw bytes and bits. If you paste a file size from your operating system, use bytes (B) to avoid any unit ambiguity.

  2. 2

    View decimal and binary conversions

    The results panel shows two conversion tables: SI decimal units (KB, MB, GB, TB) and IEC binary units (KiB, MiB, GiB, TiB). The decimal column is what storage manufacturers use; the binary column is what your operating system typically shows. Both are correct — they use different base definitions of what a 'kilo' or 'mega' means.

  3. 3

    Check storage media compatibility

    A visual bar chart in the input panel shows whether your file fits on common storage media, from a floppy disk to a 1 TB SSD. Green bars indicate it fits; red bars indicate it is too large. The percentage fill shows how much of each medium's capacity your file would use.

  4. 4

    Compare against reference file sizes

    The reference table at the bottom of the results panel compares your file to common file types — photos, songs, PDFs, and videos. A ratio greater than 1 means your file is larger than the reference; a percentage means it is a fraction of the reference size.

Frequently Asked Questions

Why does 1 GB show as 931 MB on my computer?v

Hard drive manufacturers use decimal units: 1 GB = 1,000,000,000 bytes. Operating systems like Windows report file sizes in binary units: 1 GiB (gibibyte) = 1,073,741,824 bytes. When your 1 TB hard drive is formatted, Windows reports it as 931 GiB because the true capacity in binary units is less than the decimal marketing figure. The drive is not missing storage — the units simply differ. This calculator shows both decimal (GB) and binary (GiB) conversions so you can work in whichever system you need.

What is the difference between KB and KiB?v

KB (kilobyte) is a decimal unit equal to 1,000 bytes, defined by the International System of Units (SI). KiB (kibibyte) is a binary unit equal to 1,024 bytes, defined by the IEC. The same distinction applies throughout: MB vs MiB (1,000,000 vs 1,048,576 bytes), GB vs GiB, TB vs TiB. Network speeds and storage capacities are often quoted in decimal; RAM, cache sizes, and file system allocations typically use binary. The difference is small at the kilobyte level but grows significantly at terabyte scale.

How do I find the exact file size on my computer?v

On Windows, right-click the file, select Properties, and look for the 'Size' line (not 'Size on disk' — that reflects the cluster allocation, which may be slightly larger). On Mac, right-click and select Get Info, then look for the size in the information panel. The number shown is the actual byte count of the file content. You can enter this directly into the calculator in bytes for precise conversions.

How large is a typical photo, video, or document?v

A JPEG photo from a modern smartphone is typically 3–8 MB depending on resolution and compression. A 1-minute 1080p HD video shot on a phone is roughly 150–300 MB, while a professionally recorded 1-minute 4K video can be 1–6 GB depending on the codec. A Word document with text only is usually under 1 MB; with embedded images it can be 5–20 MB. A 2-hour 4K movie from a streaming service (already compressed for delivery) is around 15–50 GB.

How many photos fit on a 64 GB SD card?v

At an average of 5 MB per JPEG, a 64 GB card holds approximately 12,800 photos. If you shoot RAW files at 25 MB each, that drops to around 2,560 images. For video, a 64 GB card stores about 3 hours of 1080p footage at standard bitrates. Actual capacity depends on the card's format, the filesystem overhead, and whether the manufacturer quotes in decimal GB (common) while your camera reports in binary GiB (also common).

What is the storage capacity of common media types?v

A standard CD holds 700 MB, a single-layer DVD holds 4.7 GB, and a dual-layer DVD holds 8.5 GB. A single-layer Blu-ray disc stores 25 GB, with dual-layer versions holding 50 GB. USB flash drives commonly come in 64 GB to 512 GB sizes. Modern SSDs range from 256 GB to 4 TB for consumer devices. The storage media comparison in this calculator shows whether your file fits on each medium and what proportion of its capacity it would use.

When is the File Size Calculator most useful?v

Use it when comparing cloud quotas, SD card capacity, email attachment limits, backup sizes, and documentation that switches between KB, KiB, MB, and MiB.

Should I trust one result or test alternatives?v

Test at least two versions when inputs are uncertain — different speed measurements, decimal versus binary units, or concurrent household load usually reveal whether the answer is robust.

What should I verify before acting on the result?v

Check whether the source means decimal GB or binary GiB before ordering storage or setting upload limits. Operating systems, vendors, and cloud consoles do not always label units the same way.