Typst Book Guide

KDP Cover Wrap Specs in Typst

Generate exact single-sheet paperback cover wraps in Typst by combining twice the trim width, paper-factor spine width, and 0.125-inch perimeter bleed.

0.002252 inB&W white paper factor
0.002500 inB&W cream paper factor
79 pagesMin count for spine text
2.0 x 1.2 inKDP ISBN barcode box

A KDP paperback cover is never two separate front and back files. Amazon requires one continuous flattened PDF sheet containing the back cover on the left, the spine strip dead center, and the front cover on the right, surrounded by 0.125 inches of bleed on all four outer edges. Because Typst supports exact inch coordinates, layered absolute placement, vector text, and high-DPI raster images inside a single page canvas, it works cleanly as a deterministic cover wrap assembler driven directly by your compiled interior page count.

Official KDP Paper Thickness Table

Multiply your final compiled PDF page count by the exact KDP paper-stock factor to lock spine width before exporting the cover PDF.

KDP Paper Stock Thickness / Page 200-Page Spine 320-Page Spine 6x9 Full Wrap (240p)
B&W White (55 lb) 0.002252 in 0.450 in 0.721 in 12.790 x 9.250 in
B&W Cream (55 lb) 0.002500 in 0.500 in 0.800 in 12.850 x 9.250 in
Standard Color (60 lb) 0.002252 in 0.450 in 0.721 in 12.790 x 9.250 in
Premium Color (70 lb) 0.002347 in 0.469 in 0.751 in 12.813 x 9.250 in

Never round spine width aggressively to a single decimal place. On a 240-page 6x9 white paperback, the exact formula is (2 * 6) + (240 * 0.002252) + (2 * 0.125) = 12.79048 in. Rounding to 12.80 inches is tolerable, whereas rounding down to 12.70 inches shifts front cover artwork across the front hinge crease and triggers KDP preview warnings.

Parametric Typst Cover Template

Pass page count and paper stock into a single Typst wrap layout so back copy, spine title, and front art recalibrate automatically after every edit.

#let spine-width(pages, stock: "cream") = {
  let factor = if stock == "white" { 0.002252 }
    else if stock == "cream" { 0.002500 }
    else if stock == "premium-color" { 0.002347 }
    else { 0.002252 }
  (pages * factor) * 1in
}

#let trim-w = 6in
#let trim-h = 9in
#let bleed = 0.125in
#let spine = spine-width(240, stock: "cream")

#set page(
  width: (trim-w * 2) + spine + (bleed * 2),
  height: trim-h + (bleed * 2),
  margin: 0in,
  fill: rgb("#162332"),
)

// Back cover copy inside safe zone
#place(top + left, dx: bleed + 0.5in, dy: bleed + 0.75in)[
  #box(width: trim-w - 1in)[
    #set text(fill: white, size: 10.5pt)
    Back cover blurb and author bio positioned safely above the barcode zone.
  ]
]

// Spine text (only render when pages >= 79)
#place(top + left, dx: bleed + trim-w + (spine / 2) - 0.1in, dy: bleed + 0.8in)[
  #rotate(90deg, reflow: true)[
    #set text(fill: white, size: 10pt, weight: "bold")
    BOOK TITLE   AUTHOR NAME
  ]
]

Notice the 79-page spine threshold. Amazon KDP prohibits spine text on books under 79 pages because manufacturing variance of +/-0.0625 inches across a narrow spine can push letters onto the front or back panel. Even above 79 pages, keep spine typography at least 0.0625 inches clear of both spine folds on every side, and leave at least 0.50 inches blank at the top and bottom of the spine.

Barcode Quiet Zone and Safe Areas

Reserve a clear 2.0 by 1.2 inch rectangle in the lower-right quadrant of the back cover so Amazon's automated ISBN barcode never covers blurb text.

Specifically, KDP places its generated barcode 0.25 inches up from the bottom trim line and 0.25 inches left of the spine hinge edge on the back cover. With 0.125-inch bleed included, keep all back-cover paragraphs, review quotes, and publisher colophons at least 1.65 inches above the bottom edge of the PDF canvas when sitting near the right side of the back panel. Raster artwork can extend safely behind the barcode because KDP stamps an opaque white box under the bars, provided you leave no critical words or portraits inside that footprint.

Automated Preflight and Hosting

Verify exact canvas width, DPI, and spine thresholds via CLI before uploading to KDP, or let a hosted compiler rebuild your wrap whenever pages change.

You can compute wrap geometry in one shell command using makethisabook-mcp (npx -y https://github.com/bitgate/makethisabook-mcp preflight) or inspect our interior margin tables to stabilize page count first. If you want full-wrap KDP covers auto-recalculated after every revision alongside print PDF and EPUB 3 exports, MakeThisABook binds cover geometry directly to the compiled Typst page count from $19 per book ($59 lifetime for formatting existing manuscripts), removing manual spine recalculation completely.

Resolution and color management deserve one final pass before exporting the cover PDF. Every photographic or illustrated cover panel placed inside Typst must reach at least 300 DPI at actual print dimensions (for example, 1875 x 2775 pixels minimum for a 6x9 front cover including outer bleed). Avoid ultra-thin hairline borders placed right on the front or back trim edge, because KDP mechanical guillotine cuts vary by up to 0.125 inches and will expose uneven frame margins across print runs. Full-bleed background fills extending cleanly past the trim line hide cutting tolerance completely and keep every retail copy crisp on bookstore shelves.