Typst Trim Sizes and Gutter Rules
Configure mirrored inside and outside gutters in Typst to match Amazon KDP page brackets so binding glue never swallows lines on thick paperbacks.
Amazon KDP enforces hard minimum inside (gutter) margins based on total page count, plus a minimum outside margin of 0.25 inches without bleed or 0.375 inches with full bleed. Treating KDP minimums as design targets is a classic rookie error. A 280-page 6x9 paperback with a bare 0.50-inch gutter opens stiffly and forces readers to crack the glue spine just to read the inner edge of each line. Adding 0.20 to 0.25 inches of breathing room above the KDP floor produces spreads that feel indistinguishable from Big Five trade editions.
Standard KDP Trim Profiles
Select your trim size before styling headings or tables because line measure directly governs readable font size, hyphenation frequency, and final page count.
| Trim Size | Best Genre Fit | Body Font Size | Rec. Inside / Outside | Words per Page |
|---|---|---|---|---|
| 5 x 8 in | Novellas, compact fiction | 10 to 10.5 pt | 0.70 in / 0.55 in | 240 to 290 |
| 5.5 x 8.5 in | Trade fiction, memoirs | 10.5 to 11 pt | 0.75 in / 0.60 in | 270 to 320 |
| 6 x 9 in | Nonfiction, business, tech | 11 to 11.5 pt | 0.80 in / 0.65 in | 310 to 370 |
| 7 x 10 in | Programming & textbooks | 10.5 to 11 pt | 0.85 in / 0.70 in | 380 to 460 |
| 8.5 x 11 in | Workbooks, field manuals | 11 to 12 pt | 0.85 in / 0.75 in | 420 to 520 |
Notice the sweet spot for readable measure: 58 to 68 characters per line. On a 6x9 trim with 0.80-inch inside and 0.65-inch outside margins, the live text column measures 4.55 inches wide. Set in 11pt Source Serif 4 or EB Garamond, that column yields roughly 64 characters per line, minimizing visual tracking fatigue and preventing ugly rivers in justified paragraphs.
Dynamic Gutter Helper in Typst
Compute safe inside margins programmatically from expected page count so multi-edition templates adjust cleanly when a manuscript crosses 150 or 300 pages.
#let kdp-gutter(pages, comfort: 0.20in) = {
let floor = if pages <= 150 { 0.375in }
else if pages <= 300 { 0.500in }
else if pages <= 500 { 0.625in }
else if pages <= 700 { 0.750in }
else { 0.875in }
floor + comfort
}
#let apply-book-page(trim-w: 6in, trim-h: 9in, pages: 240, bleed: false) = {
let pad = if bleed { 0.125in } else { 0in }
set page(
width: trim-w + pad,
height: trim-h + (pad * 2),
margin: (
inside: kdp-gutter(pages),
outside: 0.625in + pad,
top: 0.75in + pad,
bottom: 0.75in + pad,
),
)
}
Pay close attention to the bleed asymmetry on width versus height. Amazon KDP requires 0.125 inches added to the top edge, 0.125 inches to the bottom edge, and 0.125 inches to the outside edge only, with zero bleed on the inside spine edge because pages are glued there instead of trimmed. That makes a 6x9 full-bleed interior PDF exactly 6.125 x 9.25 inches. Adding 0.25 inches to width by mistake is one of the fastest ways to trigger a KDP trim-mismatch block.
Chapter Openers and Recto Starts
Start major chapters on odd recto pages with generous top sink and suppressed running headers so every section opening reads like an intentional print book.
#show heading.where(level: 1): it => {
pagebreak(to: "odd", weak: true)
v(1.1in)
set text(size: 19pt, weight: "semibold")
block(below: 0.35in)[#it.body]
}
Using pagebreak(to: "odd", weak: true) guarantees that Chapter 2 never leaves two blank pages in a row if Chapter 1 already ended on an even verso page. Combine that rule with a small helper that checks whether the current page holds a level-1 heading so your running header disappears automatically on opener pages while reappearing on the second page of each chapter.
Widows, Orphans, and Headings
Prevent stranded single lines and bottom-of-page subheadings using Typst sticky blocks and paragraph cost controls rather than manual page breaks.
Manual #pagebreak() calls sprinkled through body copy break down the instant you fix a typo three chapters earlier. Instead, set #show heading: set block(sticky: true) so Typst refuses to detach any subheading from its first following paragraph. Pair sticky headings with #set par(justify: true) and enabled English hyphenation (lang: "en") to avoid stretched word spacing on narrower 5x8 and 5.5x8.5 trims.
Want these exact trim presets, alternating headers, sticky headings, and bleed-safe geometry applied automatically to an existing DOCX or Markdown manuscript? MakeThisABook compiles Typst interiors for every standard KDP trim with a free preview and $19 single-book unlock ($59 lifetime for typesetter formatting), and you can cross-check any custom gutter spec locally with makethisabook-mcp or our KDP cover wrap guide.
Before locking your final interior template, print two facing test pages at 100 percent scale on office paper, fold or clip them at the inner spine edge, and check them under normal reading light. Real paper immediately exposes tight gutters, cramped line spacing, oversized chapter headers, or faint gray running heads that look clean on a backlit monitor yet vanish or crowd the binding once bound into a 250-page Amazon KDP paperback.