What Is the Maximum Number of Rows in Excel

There are two ways to “what is the maximum number of rows in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: a modern Excel worksheet (.xlsx) holds 1,048,576 rows and 16,384 columns (the last column is XFD); the legacy .xls format stopped at 65,536 rows and 256 columns (last column IV); Google Sheets has no fixed row limit but caps a workbook at 10 million cells, starting a new sheet at 1,000 rows by 26 columns.

Annotated stepsExcel
1

Press Ctrl+↓ in an empty column to jump to the final row, 1048576.

2

Press Ctrl+→ in an empty row to jump to the final column, XFD.

3

Read the Name Box to confirm the cell address (A1048576 or XFD1).

4

Save as .xlsx, not .xls, to keep the full 1,048,576-row grid.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

Every spreadsheet grid has a hard ceiling. Modern Excel files (.xlsx, since Excel 2007) reach exactly 1,048,576 rows and 16,384 columns — that is 2^20 rows and 2^14 columns, and the final column carries the label XFD. Older .xls files (Excel 2003 and earlier) topped out far lower at 65,536 rows and 256 columns, ending at column IV. Google Sheets works differently: it does not impose a single row number but enforces a 10-million-cell cap across the whole workbook, and a brand-new sheet opens with 1,000 rows and 26 columns that you can extend until you hit that cap. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “what is the maximum number of rows in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected rows shows up while it is still harmless. 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 turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.

A worked example

Open a blank workbook, click any cell in an empty column and press Ctrl+↓ (or press Ctrl+End on an empty sheet). The selection jumps straight to the bottom of the grid and the Name Box reads A1048576 — the last available row. Press Ctrl+→ from A1 and it lands on XFD1, the last available column. You reach for these numbers when planning a large import, deciding whether a dataset fits, or troubleshooting why rows past a certain point seem to disappear. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “what is the maximum number of rows in 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

  • Assuming the old 65,536-row .xls limit still applies — that only affects legacy files.
  • Importing more than ~1 million rows of data and silently losing the overflow.
  • Treating Google Sheets as if it had Excel's fixed grid, when it is the 10-million-cell cap that bites.
  • Confusing the row limit with performance — Excel slows long before you reach 1,048,576 populated rows.

Frequently asked questions

How many rows can Excel have?

Modern Excel (.xlsx) supports 1,048,576 rows. Legacy .xls files are limited to 65,536.

How many columns can Excel have?

16,384 columns in .xlsx, ending at column XFD. Legacy .xls stops at 256 (column IV).

Does Google Sheets have the same limit?

No. It caps a workbook at 10 million cells rather than a fixed row count, and new sheets start at 1,000 rows by 26 columns.