मुख्य सामग्री पर जाएँ

अगला टूल खोजें

File planning

फाइल साइज कन्वर्टर

A file can show different sizes in two apps without changing at all. Convert its size between bytes, KB, MB, GB and binary units, then check individual files or their total against the upload limit you need to meet.

Compare decimal and binary sizes, or check your files against an upload limit. Calculations run in this browser.

Size checks use file metadata only; nothing is uploaded. Choose up to 100 files. Each selection replaces the previous total. Continuing to another tool saves a temporary copy in this browser.

Check an upload limit (optional)

Choose whether the limit applies to the combined selection or each file. Encoding and upload overhead are not included.

Same size, different units

File size converted to decimal and binary units
UnitValue (rounded)System
B25,000,000Bytes
KB25,000Decimal (1000)
MB25Decimal (1000)
GB0.025Decimal (1000)
TB0.000025Decimal (1000)
KiB24,414.0625Binary (1024)
MiB23.841858Binary (1024)
GiB0.023283Binary (1024)
TiB0.000023Binary (1024)

What this helps you do

  • Separate decimal and binary units without changing the file.
  • Check a combined cap or each selected file, including destinations that require strictly less than the stated size.

When to use it

  • Prepare several attachments for an application form with a per-file cap.
  • Check a group of documents against a combined upload budget before compressing anything.

How to use this tool

  1. Enter a size and its unit, or select one or more files to use their combined byte count.
  2. Read the decimal and binary conversions together. MB and MiB are separate units.
  3. If you have an upload cap, open the limit check and enter the unit stated by the destination. Choose combined total or each selected file, and enable the strictly-below rule if needed. Files over the cap can continue to a compatible compressor.

Check the bytes before compressing the file

An upload form says 25 MB, but your file manager shows 24.8. Before repeatedly exporting at lower quality, check what each program means by MB. A decimal megabyte contains 1,000,000 bytes; a mebibyte contains 1,048,576. The same label is sometimes used loosely, so the exact byte count is the useful starting point.

This converter keeps the two systems separate. It does not resize a photo or rewrite a document. Selecting files simply adds the sizes supplied by your browser; the calculation does not need their contents. For a folder of attachments, select the files together and compare their combined size with a total cap. For a per-file cap, switch Apply limit to Each selected file. The list shows which files pass; a combined total can exceed the cap while every individual file still meets it.

If the total is too large, choose the next step based on the content. Image resizing can reduce unnecessary pixels. PDF compression may shrink scanned pages, while an already optimized file may barely change. Keep the original and inspect the result before submitting it. Renaming an extension does not reduce the underlying data.

A size check cannot promise acceptance. A service can count encoded attachments or request overhead, enforce a strictly-less-than limit, or reject a format independently of its size. Use the destination’s current instructions and leave some headroom when the boundary is unclear.

Formula and worked example

Output size = input size × bytes per input unit ÷ bytes per output unit.

A 24 MiB file contains 25,165,824 bytes, or 25.165824 MB. Against an inclusive 25 MB cap, it is 165,824 bytes too large. Changing the displayed unit does not change the file.

Unit definitions: NIST: binary prefixes and SI comparisons. Calculations use JavaScript numbers; displayed conversions are rounded to six decimal places, with scientific notation for very small values. Inputs above the safe byte-count range are rejected.

Formats, privacy and limits

  • Size inspection accepts up to 100 files of any type and uses metadata only. Calculations reject totals beyond JavaScript’s safe byte-count range.
  • Passing the byte check does not verify file format, request overhead or a destination’s current acceptance rules.
  • A failing JPG, PNG, WebP or PDF can continue to its compressor. Handoffs are limited to 250 MiB, use a temporary local copy, and have a one-use token that expires after 30 minutes; expired copies are removed during later handoff activity. Compression may not reach your target.

Common questions

Is 1 MB equal to 1,000 KB or 1,024 KB?

Here, 1 MB is 1,000 KB. Binary units have their own names: 1 MiB is 1,024 KiB. Select the unit explicitly instead of silently changing the base.

Does this compress my file?

No. It converts a size or reads a selected file’s size. Use a compression tool to produce a smaller file, then check that output here.

Can I check a batch of attachments?

Yes. Select up to 100 files, then apply the limit to their combined size or each selected file. A separate checkbox enforces a strictly-below rule when equality is not allowed.

Why does a 1 TB drive show roughly 931 GiB?

1 TB is 1,000,000,000,000 bytes. Dividing by 1,073,741,824 gives about 931.323 GiB. Unit conversion explains that difference; formatting and reserved space can reduce usable capacity further.

Next steps for your file