Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Maximum File Size: Limits and How to Check

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The maximum size of an Excel file depends on the format and where it is stored. A modern .xlsx workbook opened from local storage can be as large as your disk allows, but Excel itself caps the usable data at 1,048,576 rows by 16,384 columns per worksheet, and the practical ceiling is usually memory and performance rather than a hard file-size number. Older .xls files are capped at 65,536 rows by 256 columns. If you need to know whether a file is too big, the fastest check is to look at the file size in File Explorer or Finder and compare it with the limits below.

What You'll Need

  • A computer with Excel installed (Microsoft 365, Excel 2021, 2019, or 2016) or Excel for the web.
  • The workbook you want to check, saved locally or in OneDrive/SharePoint.
  • File Explorer (Windows) or Finder (Mac) to see the file size.
  • Optional: a compression tool such as the built-in Windows "Compress to ZIP" or Mac "Compress" option for sharing large files.

Step-by-Step

  1. Identify the file format. Look at the file extension. .xlsx, .xlsm (macro-enabled), and .xlsb are the modern formats. .xls is the legacy binary format. The format determines the row, column, and practical size limits.
  2. Check the file size on disk. In Windows File Explorer, right-click the file and choose Properties; the Size line shows the file size in KB, MB, or GB. On Mac, select the file in Finder and press Command+I (Get Info). This is the number that matters for email attachments and upload limits.
  3. Check the row and column count inside Excel. Open the workbook, press Ctrl+End (Windows) or Command+End (Mac) to jump to the last used cell. The row number and column letter show how close you are to the 1,048,576-row and 16,384-column (column XFD) limits for .xlsx files.
  4. Compare against the format limit. For .xlsx and .xlsm: 1,048,576 rows by 16,384 columns per sheet. For .xls: 65,536 rows by 256 columns. If you are near either limit, plan to split the data across sheets or move to a database.
  5. Check the sharing or upload limit. If the file is going into OneDrive, SharePoint, Teams, or email, the limit is set by that service, not by Excel. For example, Outlook attachments are typically capped well below the size of a large workbook, so use a shared link instead of attaching.
  6. Reduce the size if needed. Save a copy, then remove unused sheets, delete blank rows and columns beyond the data, clear formatting from empty cells, and save as .xlsx rather than .xls. If the file contains images, compress them via the picture format options before saving.
  7. Confirm the result. Close and reopen the file, then recheck the size in File Explorer or Finder. If the file is still too large to share, upload it to OneDrive or SharePoint and send a link rather than the file itself.

Common Mistakes

  • Confusing the file size on disk with the row and column limits. A small file can still hit the row limit, and a large file can hold few rows but many images.
  • Assuming .xls and .xlsx have the same limits. The legacy .xls format stops at 65,536 rows and 256 columns.
  • Leaving formatting on entire columns or rows, which inflates file size and slows Excel down.
  • Trying to email a workbook near the attachment limit instead of sharing a link.
  • Ignoring the difference between the desktop app and Excel for the web, which has its own practical limits on file size and features.

Tips

  • Keep data in one sheet per table and avoid stacking multiple tables on one sheet; this makes it easier to split files later.
  • Use Power Query or a database for very large datasets rather than pushing Excel to its row limit.
  • Save as .xlsb only if you need faster performance with very large workbooks; it is not a way around the row limit.
  • Check the file size before sending; a quick Properties or Get Info look saves a failed upload.
  • If you regularly share large workbooks, store them in OneDrive or SharePoint and share a link with edit or view permissions.

Troubleshooting

If Excel refuses to open a file or reports it is corrupt, first make a copy and try opening the copy. If the file opens slowly, close other workbooks and check for formulas that reference entire columns. If the file will not upload to a sharing service, check that service's own size limit and use a link instead. If you hit the row limit, split the data into multiple sheets or move it to a database. If the file size grows unexpectedly, look for hidden sheets, unused named ranges, and images, and remove what you do not need. Always keep a backup before deleting sheets or clearing formatting.

Frequently Asked Questions

What is the maximum file size for an Excel workbook?

Excel does not publish a single hard file-size cap for .xlsx workbooks opened from local storage; the practical limit is memory and performance. The data limits are 1,048,576 rows by 16,384 columns per worksheet.

What are the limits for the older .xls format?

The legacy .xls format supports 65,536 rows by 256 columns per worksheet, which is why large workbooks should be saved as .xlsx.

Why is my Excel file so large when it has little data?

Formatting applied to entire rows or columns, embedded images, hidden sheets, and unused named ranges all add size. Clear formatting from empty cells and remove unused objects.

Can I email a large Excel file?

Email services cap attachment size, so a large workbook may fail to send. Upload it to OneDrive or SharePoint and send a link instead.

Does Excel for the web have the same limits?

Excel for the web has its own practical limits and may not open very large or complex workbooks. Use the desktop app for workbooks near the row limit.

How do I check how many rows my workbook uses?

Press Ctrl+End (Windows) or Command+End (Mac) to jump to the last used cell; the row number shown is the last used row.