Visit the site on which you want to publish your book and there you can find a spine width calculator to get your book's spine width. If you haven't decided the publisher yet you can still use any spine width calculator to get the spine width.