📁 File Size Calculator & Converter
Convert file sizes between all units instantly, calculate how many files fit in storage, and estimate image and video file sizes from resolution, bit depth, bitrate, and duration.
File Size Units and Storage Planning
BrainyCalculators editorial insight — unique to this tool
A 4K movie rip ~20 GB; RAW photo 25–40 MB each. Database backup sizing multiplies row count × average row width. Same binary/decimal ambiguity as Data Storage Converter — OS reports GiB, vendor labels GB.
When to use this calculator
Use for file and media storage estimates. For monthly cloud bill, use Storage Cost.
Not what you need? For download duration at your Mbps, use Internet Speed. For byte math with KiB/GiB detail, use Data Storage Converter.
Just converting KB, MB, GB, or GiB units?
This page estimates image/video project sizes and storage capacity. For decimal vs binary prefix conversion and bit-to-byte math, use the Data Storage Converter →
File Size Converter
Storage Capacity
Image Size Estimator (Uncompressed)
Formula: Width × Height × (Bit Depth ÷ 8) ÷ 1,048,576 = MB. JPEG compression varies by quality setting.
Video File Size Estimator
Formula: Bitrate (Mbps) × Duration (seconds) ÷ 8 ÷ 1,024 = GB. Actual file size may vary based on codec efficiency.
What is File Size (and When to Use This Tool)?
File size is the amount of digital storage a file occupies, measured in bytes and larger multiples (KB, MB, GB, TB). This calculator goes beyond simple unit conversion: it estimates uncompressed image sizes from resolution and bit depth, projects video file sizes from bitrate and duration, and shows how many files fit on a given storage device.
Use this page when planning a creative project — sizing an SD card for a photo shoot, estimating edit-drive space for a video deliverable, or checking whether an attachment exceeds an email limit. The built-in converter handles byte multiples using binary (1024-based) factors, which matches how most operating systems report on-disk sizes.
For pure storage-unit algebra — converting between decimal GB and binary GiB, bits vs bytes, or reconciling cloud invoice units — use the Data Storage Converter instead. That tool explicitly toggles SI decimal vs IEC binary prefixes and explains why a 1 TB drive formats to ~931 GiB in Windows.
How the File Size Calculator Works
Formula, assumptions, and calculation steps for this ai & tech tool.
Methodology
AI and technology calculators estimate usage, cost, bandwidth, storage, or SaaS metrics by combining unit rates with volume assumptions.
Calculation Steps
- Enter token counts, storage, traffic, users, or usage volume.
- Normalize units such as GB, TB, tokens, requests, or months.
- Multiply by the selected rate or apply the SaaS metric formula.
- Show monthly or per-use totals for comparison.
Assumptions and Limits
- Vendor prices can change and should be verified before budgeting.
- Taxes, free tiers, and committed-use discounts are included only if modeled.
- Results are estimates for planning and comparison.
Frequently Asked Questions
GB (Gigabyte) in common usage = 1,000,000,000 bytes (powers of 10). GiB (Gibibyte) = 1,073,741,824 bytes (powers of 2). Windows shows drive sizes in GiB but calls them GB, which is why a 1TB drive shows as ~931 GB in Windows.
File size can be reported differently by the server vs what you see on disk. Also, some sizes are in SI units (powers of 10) while OS file systems use binary units (powers of 2), creating a ~7% discrepancy at 1 GB.
Uncompressed size (Width × Height × Bytes per pixel) is the raw data size. JPEG typically compresses to 5-20% of uncompressed size. PNG is lossless but achieves 30-80% compression. RAW files are near uncompressed.
File Size (GB) = Bitrate (Mbps) × Duration (seconds) ÷ 8,000. A 2-hour 4K film at 25 Mbps = 25 × 7200 ÷ 8000 = 22.5 GB. Add 10-20% for audio tracks.
A typical modern smartphone photo is 3-8 MB in JPEG. 1 GB holds about 200-300 photos. A 1 TB external drive stores about 125,000-330,000 photos. RAW photos from DSLRs are 20-45 MB each — 1 TB holds about 22,000-50,000 RAW files.
Real-World Applications
Common Mistakes
File Size Unit Reference (SI vs Binary)
| SI Unit | SI Bytes | Binary Unit | Binary Bytes |
|---|---|---|---|
| Kilobyte (KB) | 1,000 | Kibibyte (KiB) | 1,024 |
| Megabyte (MB) | 1,000,000 | Mebibyte (MiB) | 1,048,576 |
| Gigabyte (GB) | 1,000,000,000 | Gibibyte (GiB) | 1,073,741,824 |
| Terabyte (TB) | 1,000,000,000,000 | Tebibyte (TiB) | 1,099,511,627,776 |
| Petabyte (PB) | 10¹⁵ | Pebibyte (PiB) | 2⁵⁰ |
References
- IEC 80000-13. Quantities and Units — Part 13: Information Science and Technology. IEC, 2008.
- NIST. Definitions of the SI Units — Prefixes for Binary Multiples. NIST, 2022.
- IEEE Std 1541-2002. IEEE Standard for Prefixes for Binary Multiples. IEEE, 2002.
- Tanenbaum, Andrew S. Modern Operating Systems. Pearson, 2014.
- Patterson, David A. and Hennessy, John L. Computer Organization and Design. Morgan Kaufmann, 2020.
Related Calculators
Browse all AI & Tech calculators →Storage Cost Calculator
Calculate cloud and local storage costs for files, databases, and media.
Data Storage Converter
Convert between digital storage units: bytes, KB, MB, GB, TB, PB, and their binary equivalents.
Internet Speed Calculator
Calculate download/upload time, speed in all units, and data transfer equivalents.