What is this calculator for?
A court rules that all exhibits attached to a deposition must be paginated for the court reporter's reference. A grant application requires every page to bear "Page X of N" so reviewers can confirm completeness. A book draft heading to the printer needs sequential numbering, with the title and copyright pages unnumbered. An HR policy manual's 47 pages need numbers in the bottom-right corner so employees can cite a specific section by page. PDF page numbering is one of those formatting requirements that most people don't think about until a deadline reveals that the file doesn't have them — and then it becomes urgent.
This tool stamps page numbers onto every page of a PDF using pdf-lib's drawText. You pick the position (one of six corner/edge slots), the format (just a number, "Page N," "N of total," or "Page N of total"), the font size, and which page numbering should start from. The result is a PDF where the numbers appear baked into the page content — visible to every viewer, printed when the document prints, and indexed correctly when copied or searched.
Microsoft Word, Google Docs, and LaTeX all add page numbers automatically when you ask. The headache appears when the PDF was generated by something else — a scanner, an export from a non-Office app, a combination of merged sources — and the numbering didn't carry through. Rather than rebuild the document in Word and re-export, this tool patches the existing PDF in about ten seconds.
How to use this calculator
Step 1: upload your PDF. Pick the file. The tool reads the page count, which becomes the "of N" in the formats that use it.
Step 2: pick the position. Six options arranged as a 3×2 grid: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right. The most common choice for business documents is bottom-center; legal filings often use top-right; manuscripts and books typically use top-outer (right on odd pages, left on evens — this tool doesn't support that pattern, only fixed positions). All positions are 0.5 inch from the page edge, which sits inside the safe margins of standard US Letter and A4 documents.
Step 3: pick the format. Just the number ("7") works when the document already has a heading or footer that contextualizes it. "Page 7" adds the word for clarity in formal documents. "7 of 24" tells readers how much is left. "Page 7 of 24" is the most explicit — common in long reports and reference documents.
Step 4: optional — pick a start page. Leaving the default (1) numbers every page from the front. Setting "start at" to 2 means page 1 stays blank (no number rendered) and page 2 gets the visible number "1" — useful for skipping a cover page or title page from the numbering sequence.
Step 5: stamp and download. Click add page numbers. The tool draws the text on each target page and saves. Download the result.
Understanding your results
The output PDF has page numbers visible in the corner you chose, on every page from your start-page onward, in the format you picked. The numbers are drawn in mid-gray (RGB 77,77,77) rather than pure black — soft enough to feel like proper page numbering, dark enough to read clearly on both screen and paper. The font is Helvetica, embedded as a PDF standard font so the result renders consistently in every PDF viewer.
If you started numbering at a later page (say page 3), the visible numbers re-base to "1" at your start page — so page 3 of the source shows "Page 1," page 4 shows "Page 2," and so on. The "of N" total reflects the count from your start page onward, not the full page count of the source. So a 24-page document starting numbering at page 3 will show "Page 1 of 22" through "Page 22 of 22."
What the tool doesn't do (yet): change number format between Arabic and Roman, number even/odd pages differently, add a chapter prefix ("Chapter 3, Page 1"). These are all possible with pdf-lib's drawing API but require more configuration than this tool exposes. For complex numbering schemes, build the document in Microsoft Word or LaTeX where these are first-class features, and skip the post-hoc patching.
Existing content on the page is unchanged — the numbers are drawn on top of whatever's there. If your source PDF has tight margins (less than 0.5 inch), the numbers may overlap existing text or page borders. The fix is either to switch to a different position (a different corner) or use a smaller font size (10pt instead of 12pt). The tool doesn't enforce a "safe zone" because some document templates (Asian formats, brochures with bleeds) intentionally use the area where the tool stamps numbers.
A worked example
Aisha is a paralegal at a mid-sized litigation boutique. The firm files depositions weekly during active discovery phases. Each deposition packet is a combined PDF — the transcript first (60-120 pages), followed by exhibits (anywhere from 20 to 80 additional pages). The total runs 80 to 200 pages per packet, and the court requires sequential pagination on every page so the court reporter and opposing counsel can cite "Bates page 47" without ambiguity.
The transcripts arrive from the court reporter pre-paginated, but the exhibits come from clients in whatever shape they were given — sometimes pre-paginated, often not. When she combines transcript + exhibits using PDF Merge, the pagination of the combined file is inconsistent: the transcript reads "1, 2, 3..." matching its original pages, then the exhibits start at "1" again, then maybe page 32 has an unrelated pre-printed number, etc.
The old workflow: re-paginate the entire combined PDF in Adobe Acrobat Pro using Document → Header & Footer, which works but takes about three minutes per filing including positioning tweaks. Across maybe four filings a week, that's 12 minutes of repetitive work plus the Acrobat license cost.
The new workflow: combine transcript and exhibits in PDF Merge. Upload the combined file to PDF Page Numbers. Pick top-right (the firm's standard placement for deposition packets), format "Page N of M," font size 10pt, start at page 1. Click stamp. Save. Total time per filing: 20 seconds. The output reads "Page 1 of 147," "Page 2 of 147," etc., consistently from front to back regardless of what numbering the source PDFs may have had. She files the packet with the court the same morning she receives the exhibits.
Variation: a self-publishing author named Devon is sending the manuscript of her novel to a Print On Demand service. The service requires "Page X" stamped on every page, except the title page and copyright page (pages 1 and 2 of the file). She uploads her manuscript PDF, picks bottom-center, format "Page N," start-at page 3. The title and copyright pages stay blank; the body pages start numbering with "Page 1" on what is physically page 3 of the file — matching the publishing industry's convention of starting numbering at the first body page.
Related resources
If you need to add a "DRAFT" stamp alongside the numbers, see PDF Watermark. After numbering you may want to reorganize the document; use PDF Reorder Pages for that. To trim a numbered document down to specific pages, PDF Split handles range and per-page extraction. To combine a numbered document with other PDFs, PDF Merge stitches them together.