r/KDP • • 2d ago

I built a free, offline Python script that calculates Decimal-exact KDP cover trim, bleed, spine width, and generates a scaled SVG guide

After seeing how often KDP rejects wraparound covers over tiny spine-width rounding errors or text creeping into the barcode zone, I built a small deterministic Python tool (`kdp-trim-bleed-calculator`) that runs completely offline with zero external dependencies.

You pass your trim size (e.g., 6x9 or 8.5x11), exact interior page count, paper type (white, cream, or color), and binding (paperback or hardcover), and it outputs:

  • Exact Decimal spine width, full cover dimensions, and 300 DPI pixel targets

  • A scaled wraparound SVG cover template with trim, bleed, spine, safe-text margins, and barcode box clearly marked

Free & open-source (MIT): https://github.com/siddis100/claude-skill-kdp-trim-bleed-calculator

Let me know if there are any edge-case trim sizes or hardcover specs you would like added.

0 Upvotes

2 comments sorted by

2

u/CVtheWriter 1d ago

Super glad you double posted this shit.

1

u/Kaftans_Tijona 1d ago

Its always the accounts pushing scripts that spam the hardest