In Excel: press Ctrl+End to see where the used range really ends — if it lands far past your data, delete the excess rows and columns and save; then save as .xlsx (or .xlsb for formula-heavy books) and compress embedded pictures via Picture Format ▸ Compress Pictures.
Press Ctrl+End on every sheet. If it lands beyond the real data, select the first empty row header, press Ctrl+Shift+Down, right-click ▸ Delete, do the same for excess columns, then save the file — the used range only resets on save.
If the file is a legacy .xls, use File ▸ Save As and pick Excel Workbook (.xlsx); for large formula-heavy books pick Excel Binary Workbook (.xlsb) instead.
Select any picture, open Picture Format ▸ Compress Pictures, untick Apply only to this picture, and choose 150 ppi or lower.
For PivotTables whose source data lives in the same workbook, right-click the pivot ▸ PivotTable Options ▸ Data and untick Save source data with file (tick Refresh data when opening the file so it rebuilds).
Freeze finished formula blocks: copy them, then Paste Special ▸ Values — this also removes volatile functions like NOW, TODAY, OFFSET and INDIRECT that force constant recalculation.
Check Formulas ▸ Name Manager for stale defined names pointing at dead ranges, and unhide sheets to find forgotten data dumps.
What this does
An oversized workbook almost always has one dominant culprit, so diagnose before you optimize. The most common is used-range bloat: Excel keeps tracking cells that once held data or formatting, so the file stores hundreds of thousands of effectively empty rows. Other frequent causes are the legacy .xls format, uncompressed images, PivotTables that keep a duplicate copy of their source data in the pivot cache, and huge blocks of formulas that could be static values. Fixing the one real cause typically cuts the file by 80–90%; blanket tricks barely move it. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “max file size for excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A 48 MB report opens slowly. Ctrl+End jumps to XFD1048576 although the data ends at H2100. Click the row 2101 header, press Ctrl+Shift+Down, right-click ▸ Delete, repeat for the columns right of H, and save: the file drops to 19 MB. Saving it again as Excel Binary Workbook (.xlsb) brings it to 6 MB. A slimmer workbook opens faster, recalculates faster, and fits through email attachment limits. Finding the one real cause takes minutes and routinely turns a 48 MB monster back into a 6 MB file. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “max file size for excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Deleting the excess rows but not saving afterwards — Excel only recalculates the used range when the file is saved.
- Clearing cell contents with the Delete key instead of deleting the rows and columns themselves; cleared cells still count toward the used range because formatting remains.
- Keeping the old .xls format, which stores data far less efficiently and caps sheets at 65,536 rows.
- Compressing pictures one at a time with Apply only to this picture still ticked.
- Choosing .xlsb for a workbook other tools must read — many import pipelines and Google Sheets handle .xlsx far more reliably.
Frequently asked questions
Why is my Excel file huge with hardly any data in it?
Almost certainly used-range bloat. Press Ctrl+End: if the cursor lands far below or right of your data, Excel is storing all those empty cells. Delete the excess rows and columns and save; the size drops immediately.
Does saving as .xlsb lose anything?
No formulas, formatting or VBA are lost, and it usually saves 50–75% of the size and opens faster. The trade-off is that .xlsb is not XML-based, so some external tools and Google Sheets import it poorly.
How much does compressing pictures help?
A lot in image-heavy files: Compress Pictures at 150 ppi often shrinks pasted screenshots by 90%, and it can also permanently delete cropped-away areas.
Other ways people ask this
People reach this page typing “max size excel file”, “max size of excel file” and “excel max file size”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “max size excel file”, “max size of excel file”, “excel max file size” all point at the one operation explained on this page, which is why they all lead here.