Total file size calculator

Drop as many files as you like and see the running total of their size, updated as you add or remove files. Handy before attaching files to an email or checking an upload limit.

  • Free
  • No sign-up
  • Runs in your browser
total-file-size

100% private — files are read in your browser and never uploaded.

How it works

Drop your files

As many as you need, one at a time or all together.

See the running total

Updates instantly as you add or remove files.

Remove what you don't need

Each file has its own remove button.

Add up file sizes without opening a spreadsheet

Most file managers show the size of one file at a time, or a folder total that includes files you may not actually want to send. Before attaching a batch of photos to an email, uploading a set of documents to a form with a size limit, or checking whether a folder of files fits on a USB stick, it helps to see the exact combined size of just the files you have picked.

How it works

Drop or select any number of files, of any type, and their sizes are read directly by your browser and added up. The total updates the moment you add more files or remove one from the list, so you can try different combinations, for example checking whether removing the largest photo gets you under a 25 MB email attachment limit.

Bytes, kilobytes and megabytes

File sizes are shown using the binary units most operating systems use for file listings, where 1 KB is 1,024 bytes and 1 MB is 1,024 KB, rather than the decimal units, multiples of 1,000, that some storage manufacturers print on packaging. That is why a "500 MB" drive sometimes shows a slightly smaller number in your file manager: both are correct, they just count differently.

What it does not do

This adds up the exact file sizes as reported by your device; it does not account for the extra overhead a ZIP archive or an email's base64 encoding adds, which typically increases the size by a small percentage. For attachments close to a strict limit, leave some margin. Nothing is uploaded: files are only read locally to measure their size. To check each file against a specific limit rather than just the total, use the upload limit checker.

Frequently asked questions

How do I add up the size of several files?
Drop them all here. The total size is calculated instantly and updates as you add or remove files.
Does it include subfolders?
It adds up whatever files you drop or select. If your file manager lets you select a whole folder, all the files in it are included.
Why is my email attachment bigger than the total shown here?
Email encodes attachments in a way that adds roughly 30% overhead, and a ZIP file has a small amount of its own overhead too.
Can I remove a file after adding it?
Yes, each file in the list has its own remove button, and the total updates immediately.
Is there a limit to how many files I can add?
No fixed limit, but very large numbers of files may slow down your browser depending on your device.
Are my files uploaded?
No. Only their size is read, entirely in your browser.