# spreadsheet limits

the grid bounds and request caps deepcalc enforces, and where they come from.

| limit | value | source |
| --- | --- | --- |
| rows per worksheet | 1,048,576 | excel grid (2^20) — caps.ts EXCEL_MAX_ROWS |
| columns per worksheet | 16,384 | excel grid (column XFD) — caps.ts EXCEL_MAX_COLS |
| operations per write request | 10,000 | caps.ts OPS_MAX_BATCH |
| write request body | 5 MB | caps.ts OPS_MAX_BYTES |
| xlsx upload | 15 MB | journal-import.ts IMPORT_MAX_BYTES |
| cells per viewport read | 10,000 | slice.ts SLICE_MAX_CELLS |
| values per page | 50,000 | slice.ts VALUES_PAGE_MAX |

source: https://deepcalc.com/limits