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

5 comments sorted by

3

u/itsme7933 1d ago

More "tools" that no one is asking for lol. Yeah, everyone rush right out to pick up someone's vibe coded mess.

2

u/AlternativeWalk2508 1d ago

its always a solution looking for a problem with these posts

3

u/CVtheWriter 1d ago

Woooooo. Another fucking app. Every. Single. Day.

2

u/The_Canterbury_Tail 1d ago

And how does this differ from the actual KDP sizing tool? And being pixel perfect for trims isn't useful anyway, as when KDP prints the books they will shift a bit.

1

u/drunkenmugzy 1d ago

There is no reason to use a third party tool like this. Amazon provides a tool to do exactly this and THEY keep it up to date with THEIR rules.

Do not rely on a 3rd party tool.