File Size Converter
Convert file sizes between bytes, KB, MB, GB with real-world examples.
Runs entirely in your browser · nothing is uploaded or stored
What is the File Size Converter?
The File Size Converter is one of the tools designers, developers and everyday users reach for most on ToolsOfIndia, and it works equally well on a phone or a desktop. Convert file sizes between bytes, kilobytes, megabytes and gigabytes, and compare against common limits such as email attachment caps and upload ceilings. The tool shows whether a file fits an email's 25 MB limit or a web form's 2 MB limit, which is the everyday question that upload errors force. Indian users emailing scanned documents, uploading to government portals with strict size limits and sharing over WhatsApp all rely on this, and the tool handles both decimal and binary sizing. Because it is a pure local calc, nothing is uploaded. It is the small converter that prevents a failed upload at the last moment. Because it runs locally in your browser, confidential files and pasted data never leave your device - no uploads, no server-side copies, no registration. You will find it handy when checking a scan against an email limit, while fitting a photo to a portal upload cap, or before comparing file sizes for sharing. Pair it with the related tools listed alongside for a complete workflow.
How does the File Size Converter work?
Decimal units step by 1,000 bytes, so 1 MB is 1,000,000 bytes, while binary units step by 1,024, so 1 MiB is 1,048,576 bytes. A conversion divides the byte count by the step for the target unit. The limit check compares the raw byte count against the cap you enter, independent of the unit label.
Worked examples for the File Size Converter
| Scenario | Input | Result | Why it matters |
|---|---|---|---|
| Scan against an email cap | 4.2 MB scan, 25 MB limit | within limit, 16.8% of the cap used | Room for about five more pages at the same scan resolution. |
| Photo against a portal limit | 3,480,000 bytes, 2 MB cap | 3.32 MiB, about 66% over | Portals usually mean binary MB, so a file that looks under 3.5 MB still fails. |
| Video size from bitrate | 1080p at 10 Mbps for 1 hour | 4.5 GB | 10 × 3,600 ÷ 8 = 4,500 MB; bitrate drives size more than resolution alone. |
How do you use the File Size Converter?
- Open the File Size Converter above — it loads instantly in your browser.
- Enter your values in the fields provided.
- The result updates immediately; nothing is sent to a server.
- Copy the result, or change an input to compare scenarios.
What mistakes should you avoid with the File Size Converter?
- Assuming a 2 MB upload cap means 2,000,000 bytes when the portal counts 2,097,152, so a borderline file is rejected after a long upload.
- Judging a video by its duration rather than its bitrate, where the same hour can weigh 1 GB or 15 GB.
- Compressing a PDF a second time instead of checking the byte count, which degrades a scan that was already under the cap.
Who uses the File Size Converter in India?
- An applicant resizes a scanned certificate for a government form that rejects anything above 200 KB.
- An employee checks whether a 30-page proposal fits the 25 MB attachment limit on office email.
- A photographer estimates whether a shoot's 400 RAW files fit on a 64 GB card.
- A student works out how much of a 1.5 GB daily data pack a lecture video download will consume.
Key features of the File Size Converter
- Unit conversion
- Real-world examples
- Binary & Decimal
- Bytes to gigabytes
- Email and upload limit checks
- Decimal and binary sizing
Also searched as: file size converter, file size calculator, image file size, video file size, storage calculator, mb kb converter.
Frequently asked questions
How do I convert MB to GB?
Divide by 1,024 for binary gigabytes or by 1,000 for decimal ones. A 2,048 MB file is exactly 2 GiB in binary terms and 2.048 GB in decimal. Storage makers use the decimal definition while operating systems often use the binary one, which is why a drive's advertised capacity and the figure shown differ.
What is the difference between MB and MiB?
MB is a decimal megabyte of 1,000,000 bytes; MiB is a binary mebibyte of 1,048,576 bytes. The gap is about 4.9%. Windows reports binary units but labels them MB, so a 500 GB drive shows as roughly 465 GiB. Portal limits are ambiguous for the same reason, and the smaller reading is the safe assumption.
Why is my 1 TB drive showing less space?
The manufacturer counts a terabyte as 1,000,000,000,000 bytes while the operating system divides by 1,024 three times. That leaves about 931 GiB visible. Preinstalled software and a recovery partition take more. The loss is a labelling difference, not a faulty drive, and it grows with capacity.
How do I check if a file is under a size limit?
Compare the raw byte count with the limit converted to bytes. For a 2 MB binary cap that is 2,097,152 bytes, while a 2 MB decimal cap is 2,000,000. Right-click the file and read the size in bytes rather than the rounded display, because 1.99 MB in the file manager can still exceed the cap.
How many KB are in a MB?
There are 1,024 kilobytes in a binary megabyte and 1,000 in a decimal one. The same split runs through every step, so a gigabyte is either 1,024 MB or 1,000 MB depending on the convention. For upload limits, assume the binary figure when the platform is a Windows server or an older web form.
How do I estimate a video's file size?
Multiply the bitrate in megabits per second by the duration in seconds and divide by 8 to get megabytes. A one-hour 10 Mbps video is 10 times 3,600 divided by 8, or 4,500 MB. Audio adds a little. Variable-bitrate encoding makes the estimate approximate, so allow a 10% margin.