Skip to content
Private: files never leave your device

Excel Row Limit and Worksheet Limits

An Excel worksheet stops at row 1,048,576 and column XFD. This page lists that limit together with the other caps people hit most, from characters per cell to formula length, number precision and the much larger Data Model, all taken from Microsoft's own specification pages.

Excel limits from Microsoft Support: 1,048,576 rows and 16,384 columns per sheet, 32,767 characters per cell, and 65,536 rows in the old .xls format

The Excel row limit is 1,048,576 rows per worksheet, with 16,384 columns, in Excel for Microsoft 365, Excel 2024, 2021, 2019 and 2016. The older .xls file format stops at 65,536 rows per sheet. Data beyond the grid can still be analysed through Power Query and the Data Model, which Microsoft lists at 1,999,999,997 rows per table. Figures below were checked on Microsoft Support on 23 November 2026.

Worksheet and workbook limits

LimitMaximum
Rows per worksheet (.xlsx)1,048,576
Columns per worksheet (.xlsx)16,384 (A to XFD)
Rows per worksheet (.xls, Excel 97 to 2003 format)65,536
Characters a cell can contain32,767
Line feeds in one cell253
Column width255 characters
Row height409 points
Characters in a header or footer255
Sheets in a workbookLimited by available memory
Hyperlinks in a worksheet65,530
Unique cell formats or styles65,490
Page breaks1,026 horizontal and vertical
Undo levels100
Items in a filter drop-down10,000
File name length, including the path218 characters
Zoom range10 to 400 percent

The column count explains the last column name: 16,384 columns run from A to XFD. Rows and columns are fixed by the file format, so no setting, add-in or faster computer raises them.

Formula and number limits

LimitMaximum
Number precision15 digits
Largest positive number you can type9.99999999999999E+307
Largest positive number a formula can return1.7976931348623158E+308
Smallest positive number2.2251E-308
Length of a formula8,192 characters
Arguments in one function255
Nested levels of functions64
Iterations32,767
Earliest date for calculation1 January 1900 (1 January 1904 in the 1904 date system)
Latest date for calculation31 December 9999
Largest amount of time you can enter9999:59:59

The 15 digit precision is the one that catches people out. Long ID numbers such as card or account style references lose their last digits when typed as numbers; format the column as Text before pasting them in.

PivotTable and Data Model limits

LimitMaximum
Unique items per PivotTable field1,048,576
Report filters in a PivotTable256
Value fields in a PivotTable256
Rows in a Data Model table1,999,999,997
Distinct values in a Data Model column1,999,999,997
Tables in a Data Model2,147,483,647
Characters in a table or column name100
Excel for the web, workbook with a Data Model250 MB total file size

File size and memory

  • 32-bit Excel shares 2 GB of virtual address space between Excel, the workbook and add-ins. Microsoft says that from Excel 2016, 32-bit Excel can use twice that memory on 64-bit Windows.
  • 64-bit Excel has no hard file size limit; Microsoft says workbook size is limited only by available memory and system resources.
  • A large workbook is slow long before it reaches any limit. Our guide on why an Excel file is so large covers the usual causes.

What happens when a CSV has more rows than Excel

When you open a text or CSV file that is bigger than the grid, Excel warns that the data set is too large for the Excel grid and that saving the workbook will lose the data that was not loaded. Microsoft's advice:

  1. Do not save over the original file, or the rows that did not load are lost.
  2. In Excel for Windows, use Data, From Text/CSV, choose Load To and load it as a PivotTable Report, so Power Query brings in the complete data set.
  3. If you only need what fits, use File, Save a Copy to keep a shortened copy separately.
Split it instead If the people you send it to need plain sheets, split the CSV into parts under 1,048,576 rows each, leaving one row for the header. Split Text can cut a large text file by line count, or turn rows into structured data with CSV to JSON.

Working in Google Sheets instead? Its limit is counted in cells rather than rows; see our Google Sheets cell limit page.

Sources and dates

PageCheckedUsed for
Microsoft: Excel specifications and limits23 November 2026Worksheet, calculation, PivotTable and memory limits
Microsoft: data set too large for the Excel grid23 November 2026.xls and .xlsx row counts, the warning and the Get Data workaround
Microsoft: Data Model specification and limits23 November 2026Rows per table, distinct values, tables, names, Excel for the web 250 MB

Frequently asked questions

What is the maximum number of rows in Excel?

1,048,576 rows per worksheet, with 16,384 columns, in Excel for Microsoft 365 and Excel 2016 to 2024.

Why does my Excel stop at 65,536 rows?

The file is in the old .xls format, which allows 65,536 rows per sheet. Save it as .xlsx to get 1,048,576 rows.

Can I increase the Excel row limit?

No. The grid size is fixed. For larger data, load it through Power Query into the Data Model, which allows 1,999,999,997 rows per table.

How many characters can an Excel cell hold?

32,767 characters, with up to 253 line feeds in one cell.

Why does Excel change the last digits of long numbers?

Excel keeps 15 digits of precision. Store long IDs as text so every digit is kept.