Readwyn 0.1.0

Why ebooks have locations instead of page numbers

An ebook has no pages of its own because its text reflows: a page exists only once an app lays the words out on one screen, in one font, at one size. Make the type bigger and the same chapter takes more screens. A location belongs to a fixed block of the text instead, so it stays the same whatever you do to the font. Two Kindle readers can meet at location 2,140, but someone holding the hardback can't.

That mismatch is why Amazon, on 7 February 2011, released a preview of software that gave Kindle books page numbers taken from the print edition; until then they had only locations. Customers wanted numbers that matched print so they could cite passages and keep up with a book club or a class. Amazon added that earlier page numbers in ebooks had not matched any printed book. According to the Christian Science Monitor, the Kindle would show both kinds of number, and David Pogue of the New York Times called the underlying problem “insoluble”. The new page numbers only existed in books that someone had mapped to a printed edition, which at launch meant tens of thousands of titles, AFP reported.

The mapping is still done book by book. The publisher puts the page numbers into the EPUB, matched to the print edition closest to the ebook, and gives that edition's ISBN in the metadata, as Amazon's Kindle publishing guidelines asked in November 2026. Labels may only be Roman or Arabic numerals, with no word “Page” in them, since the Kindle adds that itself. You can't see the result in Kindle Previewer or on a sideloaded copy; the numbers show up only once the book is on sale, and its product page mentions them. The same guidelines tell publishers to strip the page numbers out of a printed table of contents, so an entry such as “Chapter 1 ... P. 36” becomes a plain link to Chapter 1.

In the EPUB standard the mechanism is called a page list. The EPUB 3.3 specification defines it as a list of links to fixed page boundaries, which can come from a print edition or be made for the ebook alone, and a book may have only one. The spot in the text where each page starts can be marked with the pagebreak term, and a dc:source entry in the metadata, marked as the source of the pagination, names the printed edition by its ISBN. EPUB 2 books do the same with a pageList in the NCX file, which the EPUB 2 package specification requires “if the publication is designed to allow the user to navigate to pages”; the same file holds their table of contents. The DAISY Knowledge Base points out an odd case: nothing says what order the list must follow, and when a publisher moves the front matter to the back of the ebook, some ebook makers order the page list to match. The preface's pages then come after the last chapter.

Without a page list, any page number you see is the reading app's own invention. Adobe's reading engine, which the MobileRead wiki says ran on more than 50 devices, gives each file of the book one page per 1,024 bytes of its compressed size and spreads the breaks evenly through the characters. A small screen rarely holds that much text, so one Adobe page can last several screens; the wiki describes Sony Readers showing “3-7” for the seventh screen of page 3.

Readwyn estimates too: a highlight synced from a Kobo is shown with its printed page if the EPUB has a page list or page break markers, and otherwise with a page worked out from the highlight's position in the text and the book's page count, which by default comes from the word count.

Kobo itself lets you choose. Its release notes say the header and footer show both chapter progress and book progress, and that under Reading settings › Reading progress you can pick page numbers, percent read or time remaining, an option that Good e-Reader dates to firmware 4.19.