Free API Pagination calculator with clear step-by-step results.
Works out the page count, the partial last page and the offset needed to jump straight to the end of a paginated API collection. It also shows how many round trips you would save by requesting the maximum page size the endpoint permits.
Page count
Pages = ceil(total records / page size)
Last page offset
Offset = (pages - 1) x page size
Unless the total divides evenly by the page size, the final page holds the remainder. Clients that assume a full page will silently drop records.
Offset is simple and gives you the jump-to-page arithmetic above, but it gets slow and can skip or duplicate rows on a changing dataset. Cursor pagination is stable and scales better; use the page count here only as a size estimate.