{"id":720,"date":"2024-04-09T12:13:44","date_gmt":"2024-04-09T12:13:44","guid":{"rendered":"https:\/\/kindlepreneur.com\/?p=720"},"modified":"2024-04-11T19:45:50","modified_gmt":"2024-04-11T19:45:50","slug":"amazon-kdp-sales-rank-calculator","status":"publish","type":"page","link":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/","title":{"rendered":"Amazon Book Sales Calculator: How Much Does a Best Seller Make?"},"content":{"rendered":"<h1 style=\"max-width: 1000px;\">Amazon Book Sales Calculator for KDP: How Much Does a Best Seller Make?<\/h1>\n\n\n<h3 class=\"wp-block-heading\"><div id=\"amazon-rank-calculator\">\n\t<div class=\"form-section\" id=\"right\">\n\t\t<div id=\"result\">\n\t\t\t<span class=\"desc\">\n\t\t\t\tWelcome to the Book and Ebook Sales Calculator, where you can input a book's best seller rank (BSR) &\n\t\t\t\tdiscover how much that book is making. <br>\n\t\t\t\t<i>To access improved market data that can increase your book's sales, check out <a class='link2'\n\t\t\t\t\t\thref=\"https:\/\/kpreneur--rocket.thrivecart.com\/publisher-rocket\">Publisher Rocket<\/a>.<\/i>\n\t\t\t<\/span>\n\t\t\t<input id=\"rank-input\" onkeyup=\"calculate()\" onchange=\"calculate()\" onblur=\"location.href='#mainbg-wrapper'\" name=\"input\" type=\"number\" value=\"\"\n\t\t\t\tsize=\"30\" aria-required=\"true\" placeholder=\"Enter the Kindle Best Seller Rank Here\" required=\"required\">\n\t\t\t<div class=\"d-flex flex-row w-100 justify-content-between\">\n\t\t\t\t<div class=\"d-flex flex-column\">\n\t\t\t\t\t<span style=\"font-size:16px\">Book Type<\/span>\n\t\t\t\t\t<select name=\"book-type\" id=\"book-type\" onchange=\"calculate()\">\n\t\t\t\t\t\t<option value=\"ebook\">Ebook<\/option>\n\t\t\t\t\t\t<option value=\"paperBack\">Paperback<\/option>\n\t\t\t\t\t\t<option value=\"hardBack\">Hardback<\/option>\n\t\t\t\t\t<\/select>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"d-flex flex-column\">\n\t\t\t\t\t<span style=\"font-size:16px\">Marketplace<\/span>\n\t\t\t\t\t<select name=\"currency\" id=\"currency\" onchange=\"calculate()\">\n\t\t\t\t\t\t<option value=\"USD\" selected>Amazon.com<\/option>\n\t\t\t\t\t\t<option value=\"CAD\">Amazon.ca<\/option>\n\t\t\t\t\t\t<option value=\"GBP\">Amazon.co.uk<\/option>\n\t\t\t\t\t\t<option value=\"FR\">Amazon.fr<\/option>\n\t\t\t\t\t\t<option value=\"IT\">Amazon.it<\/option>\n\t\t\t\t\t\t<option value=\"DE\">Amazon.de<\/option>\n\t\t\t\t\t\t<option value=\"ES\">Amazon.es<\/option>\n\t\t\t\t\t\t<option value=\"NL\">Amazon.nl<\/option>\n\t\t\t\t\t\t<option value=\"AUD\">Amazon.com.au<\/option>\n\t\t\t\t\t\t<option value=\"YEN\">Amazon.co.jp<\/option>\n\t\t\t\t\t\t<option value=\"PLN\">Amazon.pl<\/option>\n\t\t\t\t\t\t<option value=\"SEK\">Amazon.se<\/option>\n\t\t\t\t\t<\/select>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<button class=\"astext\" id=\"showButton\">\n\t\t\t\t<span class=\"show-advanced\">Show advanced calculator\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n\t\t\t\t\t\t<g id=\"vuesax_bold_arrow-right\" data-name=\"vuesax\/bold\/arrow-right\"\n\t\t\t\t\t\t\ttransform=\"translate(16 0) rotate(90)\">\n\t\t\t\t\t\t\t<g id=\"arrow-right\" transform=\"translate(0)\">\n\t\t\t\t\t\t\t\t<path id=\"Vector\"\n\t\t\t\t\t\t\t\t\td=\"M4.68,5.673,3.367,6.986l-2.14,2.14A.721.721,0,0,1,0,8.613V.719A.718.718,0,0,1,1.227.213L4.68,3.666A1.42,1.42,0,0,1,4.68,5.673Z\"\n\t\t\t\t\t\t\t\t\ttransform=\"translate(5.453 3.334)\" fill=\"#f7782d\" \/>\n\t\t\t\t\t\t\t\t<path id=\"Vector-2\" data-name=\"Vector\" d=\"M16,0H0V16H16Z\" fill=\"none\" opacity=\"0\" \/>\n\t\t\t\t\t\t\t<\/g>\n\t\t\t\t\t\t<\/g>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/span>\n\t\t\t<\/button>\n\n\t\t\t<div id='not_advanced' class=\"not_advanced-cal\">\n\t\t\t\t<a href=\"https:\/\/app.monstercampaigns.com\/c\/dilmlqwjykpoxsyh1ar7\/\">\n\t\t\t\t\t<img decoding=\"async\" id='Amzn_rank_img' class=\"alignnone size-medium wp-image-7\"\n\t\t\t\t\t\tstyle=\"border-radius: 30px; margin-top: 0px;\" src=\"https:\/\/kindlepreneur.com\/wp-content\/plugins\/amazon-rank-calculator-v2\/Amzn_Rank_Book.png\" width=\"550\"><\/a>\n\t\t\t<\/div>\n\t\t\t<div id='advanced' class=\"advanced-cal\">\n\t\t\t\t<!--<span class=\"ad-title\">\n\t\t\t\t\tAdvanced calculator\n\t\t\t\t<\/span>-->\n\t\t\t\t<div class=\"d-flex flex-row w-100 justify-content-between\">\n\t\t\t\t\t<div class=\"pages\">\n\t\t\t\t\t\t<span>Pages<\/span>\n\t\t\t\t\t\t<input type=\"number\" min=0 value=100 max=1000 onkeyup=\"calculate()\" onchange=\"calculate()\"\n\t\t\t\t\t\t\tname=\"pages\" id=\"pages\" placeholder=\"Enter the number of pages\" maxlength=\"10\" \/>\n\t\t\t\t\t\t<span id=\"page-error\" class=\"error\">Invalid page count<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"size\">\n\t\t\t\t\t\t<span style=\"font-size:16px\">Size In Megabytes<\/span>\n\t\t\t\t\t\t<input type=\"number\" min=0 value=5 max=\"10000\" onkeyup=\"calculate()\" onchange=\"calculate()\"\n\t\t\t\t\t\t\tname=\"sizeInput\" id=\"sizeInput\" placeholder=\"Enter book size\" maxlength=\"10\" \/>\n\t\t\t\t\t\t<span id=\"size-error\" class=\"error\">Invalid size<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"royalty-rate\">\n\t\t\t\t\t\t<span style=\"font-size:16px\">Royalty Rate<\/span>\n\t\t\t\t\t\t<select name=\"rate\" id=\"rate\" onchange=\"calculate()\">\n\t\t\t\t\t\t\t<option value=\"35\" selected>35%<\/option>\n\t\t\t\t\t\t\t<option value=\"70\">70%<\/option>\n\t\t\t\t\t\t<\/select>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"interior\">\n\t\t\t\t\t\t<span style=\"font-size:16px\">Interior<\/span>\n\t\t\t\t\t\t<select name=\"interior\" id=\"interior\" onchange=\"calculate()\">\n\t\t\t\t\t\t\t<option value=\"bnw\" selected>Black and White<\/option>\n\t\t\t\t\t\t\t<option value=\"color\">Color<\/option>\n\t\t\t\t\t\t\t<option value=\"p-color\">Premium Color<\/option>\n\t\t\t\t\t\t<\/select>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"d-flex flex-row w-100 justify-content-between\">\n\t\t\t\t\t<div class=\"price\">\n\t\t\t\t\t\t<span style=\"font-size:16px\">Price<\/span>\n\t\t\t\t\t\t<input type=\"number\" min=0 value=3.99 max=1000 onkeyup=\"calculate()\" onchange=\"calculate()\"\n\t\t\t\t\t\t\tname=\"priceInput\" id=\"priceInput\" placeholder=\"Enter book price\" maxlength=\"5\" \/>\n\t\t\t\t\t\t<span id=\"price-error\" class=\"error\">Invalid book Price<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"pr_statement\">\n\t\t\t\t\t\t<span style=\"font-size:18px\">Did you know <a href=\"https:\/\/kpreneur--rocket.thrivecart.com\/publisher-rocket\">Publisher Rocket<\/a> uses advanced\n\t\t\t\t\t\t\tdata for more accurate ABSR calculations?<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t<div id=\"mainbg-wrapper\">\n\t\t<div id=\"mainbg\">\n\n\t\t\t<div id=\"view-kindle\">\n\n\t\t\t\t<div align=\"center\" style=\"margin-bottom: 29px;\" id=\"top\">\n\n\t\t\t\t\t<a target=\"_blank\" style=\"border-bottom: none;\" href=\"http:\/\/kindlepreneur.com\/\">\n\t\t\t\t\t\t<img decoding=\"async\" id='logo' class=\"alignnone size-medium wp-image-7\"\n\t\t\t\t\t\t\tstyle=\"margin-top: 30px;margin-bottom: 30px;\" src=\"https:\/\/kindlepreneur.com\/wp-content\/plugins\/amazon-rank-calculator-v2\/logo.png\">\n\t\t\t\t\t\t<br>\n\t\t\t\t\t<\/a>\n\n\t\t\t\t\t<div id=\"advanced-box\" class=\"advanced-box\">\n\t\t\t\t\t\t<div class=\"line-wrapper\">\n\t\t\t\t\t\t\t<span class=\"title\">Earnings per day<\/span>\n\t\t\t\t\t\t\t<span class=\"val\">: <span class=\"e-per-day\"><\/span><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"line-wrapper\">\n\t\t\t\t\t\t\t<span class=\"title\">Earnings per month<\/span>\n\t\t\t\t\t\t\t<span class=\"val\">: <span class=\"e-per-month\"><\/span><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"line-wrapper\">\n\t\t\t\t\t\t\t<span class=\"title\">Copies sold per day<\/span>\n\t\t\t\t\t\t\t<span class=\"val\">: <span class=\"c-per-day\"><\/span><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"line-wrapper\">\n\t\t\t\t\t\t\t<span class=\"title\">Copies sold per month<\/span>\n\t\t\t\t\t\t\t<span class=\"val\">: <span class=\"c-per-month\"><\/span><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"box\" class=\"box\">\n\t\t\t\t\t\t<div id=\"inner\">\n\n\t\t\t\t\t\t\t<h3 id=\"books\"> - <\/h3>\n\t\t\t\t\t\t\t<span class=\"bpd\">books per day<\/span>\n\n\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t<div id=\"greater\">\n\t\t\t\t\t\t\t<span class=\"bpd\">less than a book a day<\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<a target=\"_blank\" style=\"border-bottom: none;\" href=\"http:\/\/kindlepreneur.com\/\">\n\t\t\t\t\t\t<img decoding=\"async\" id='arrow' class=\"alignnone size-medium wp-image-7\"\n\t\t\t\t\t\t\tstyle=\"border-radius: 30px; margin-top: 18px;\" src=\"https:\/\/kindlepreneur.com\/wp-content\/plugins\/amazon-rank-calculator-v2\/arrow.png\">\n\t\t\t\t\t\t<br>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t<a class='link' href=\"https:\/\/app.monstercampaigns.com\/c\/dilmlqwjykpoxsyh1ar7\/\">\n\t\t\t\t\t\tClick here for a FREE Author Strategy to immediately improve your Kindle Rank!\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\n\n\n\t\t\t\t<div id=\"result\" style=\" margin-top: 10px; display:none;\">\n\n\t\t\t\t\t<div id=\"inner\" style=\"border: 2px solid #F48220; \">\n\n\t\t\t\t\t\t<h3 style=\"font-family: Maven Pro, serif; font-weight: normal; color:#FFFFFF; margin-bottom: 8px; font-size: 28px; line-height: 36px;\"\n\t\t\t\t\t\t\tid=\"books\" align=\"center\"> - <\/h3>\n\t\t\t\t\t\t<h4 align=\"center\" style=\"\n\t\t\t\t\t\tfont-family: Maven Pro,serif;\n\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\tcolor:#FFFFFF;\n\t\t\t\t\t\tmargin: 20px 0;\n\t\t\t\t\t\ttext-transform: capitalize;\n\t\t\t\t\t\tfont-size: 27px;\n\t\t\t\t\t\tline-height: 18px;\n\t\t\t\t\t\tletter-spacing: 0;\n\t\t\t\t\t\t\">books per day<\/h4>\n\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"greater\" style=\"display:none;\">\n\t\t\t\t\t\t<h4 align=\"center\" style=\"font-family: Maven Pro, serif;color:#FFFFFF;\">less than a book a day\n\t\t\t\t\t\t<\/h4>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/kindlepreneur.com\/wp-content\/plugins\/amazon-rank-calculator-v2\/arrow.png\" alt=\"arrow down\"\n\t\t\t\t\t\tstyle=\"margin: 15px 0 0 0; height: 60px; width: 60px;\">\n\n\t\t\t\t\t<a href=\"#\" class=\"manual-optin-trigger\" data-optin-slug=\"dilmlqwjykpoxsyh1ar7\"\n\t\t\t\t\t\tstyle=\"\n\t\t\t\t   display: block;\n\t\t\t\t   color: lightgreen;\n\t\t\t\t   cursor: pointer;\n\t\t\t\t   text-align: center;\n\t\t\t\t   border-bottom: none;\n\t\t\t\t   outline: none;\n\t\t\t\t   box-shadow: none;\">\n\t\t\t\t\t\tClick here to learn how to INCREASE your Amazon Best Seller Rank!\n\t\t\t\t\t<\/a>\n\n\t\t\t\t\t<input id=\"result-press\" align=\"center\" name=\"result-press\" type=\"button\" value=\"Try Again\"\n\t\t\t\t\t\tsize=\"30\" aria-required=\"true\" required=\"required\" style=\"margin-top: 11px\">\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\n\n<\/div>\n\n<script>\n\n\t$('#showButton').on('click', function () {\n\t\tconst myDiv = document.getElementById('not_advanced');\n\t\tmyDiv.style.display = myDiv.style.display === 'none' ? 'flex' : 'none';\n\t\t$('#advanced').toggleClass('show');\n\t\tif ($(\"#advanced\").hasClass(\"show\")) {\n\n\t\t\tdocument.querySelector('.box').style.display = 'none'\n\t\t\tdocument.querySelector('.advanced-box').style.display = 'flex'\n\t\t\t$(\".astext\").html(\n\t\t\t\t`<span class=\"show-advanced\">Hide advanced calculator\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"19.843\" height=\"16\" viewBox=\"0 0 19.843 16\">\n\t\t\t\t\t\t<g id=\"vuesax_bold_arrow-right\" data-name=\"vuesax\/bold\/arrow-right\"\n\t\t\t\t\t\t\ttransform=\"translate(-53.478 16) rotate(-90)\">\n\t\t\t\t\t\t\t<g id=\"arrow-right\" transform=\"translate(0 53.478)\">\n\t\t\t\t\t\t\t\t<path id=\"Vector\"\n\t\t\t\t\t\t\t\t\td=\"M4.68,4.541,3.367,2.912,1.227.258C.773-.3,0,.1,0,.894v9.789c0,.794.773,1.191,1.227.628L4.68,7.029A2.073,2.073,0,0,0,4.68,4.541Z\"\n\t\t\t\t\t\t\t\t\ttransform=\"translate(5.453 4.132)\" fill=\"#f7782d\" \/>\n\t\t\t\t\t\t\t\t<path id=\"Vector-2\" data-name=\"Vector\" d=\"M16,19.843H0V0H16Z\" transform=\"translate(0 0)\"\n\t\t\t\t\t\t\t\t\tfill=\"none\" opacity=\"0\" \/>\n\t\t\t\t\t\t\t<\/g>\n\t\t\t\t\t\t<\/g>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/span>`\n\t\t\t);\n\t\t} else {\n\t\t\tdocument.querySelector('.box').style.display = 'flex'\n\t\t\tdocument.querySelector('.advanced-box').style.display = 'none'\n\t\t\t$(\".astext\").html(\n\t\t\t\t`<span class=\"show-advanced\">Show advanced calculator\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n\t\t\t\t\t\t<g id=\"vuesax_bold_arrow-right\" data-name=\"vuesax\/bold\/arrow-right\"\n\t\t\t\t\t\t\ttransform=\"translate(16 0) rotate(90)\">\n\t\t\t\t\t\t\t<g id=\"arrow-right\" transform=\"translate(0)\">\n\t\t\t\t\t\t\t\t<path id=\"Vector\"\n\t\t\t\t\t\t\t\t\td=\"M4.68,5.673,3.367,6.986l-2.14,2.14A.721.721,0,0,1,0,8.613V.719A.718.718,0,0,1,1.227.213L4.68,3.666A1.42,1.42,0,0,1,4.68,5.673Z\"\n\t\t\t\t\t\t\t\t\ttransform=\"translate(5.453 3.334)\" fill=\"#f7782d\" \/>\n\t\t\t\t\t\t\t\t<path id=\"Vector-2\" data-name=\"Vector\" d=\"M16,0H0V16H16Z\" fill=\"none\" opacity=\"0\" \/>\n\t\t\t\t\t\t\t<\/g>\n\t\t\t\t\t\t<\/g>\n\t\t\t\t\t<\/svg>\n\t\t\t\t<\/span>`\n\t\t\t);\n\t\t}\n\n\n\t});\n\n\tconst ebook = {\n\t\t'USD': 1,\n\t\t'GBP': 0.267264,\n\t\t'DE': 0.31271,\n\t\t'FR': 0.092334,\n\t\t'ES': 0.081153,\n\t\t'IT': 0.088367,\n\t\t'NL': 0.019837,\n\t\t'YEN': 0.193325,\n\t\t'IN': 0.018034,\n\t\t'CAD': 0.149322,\n\t\t'MEX': 0.038232,\n\t\t'AUD': 0.019116,\n\t\t'SE': 1,\n\t\t'PL': 1\n\t}\n\n\tconst book = {\n\t\t'USD': 1,\n\t\t'GBP': 0.138479,\n\t\t'DE': 0.162026,\n\t\t'FR': 0.047842,\n\t\t'ES': 0.042048,\n\t\t'IT': 0.045786,\n\t\t'NL': 0.010278,\n\t\t'YEN': 0.100168,\n\t\t'IN': 0.009344,\n\t\t'CAD': 0.077369,\n\t\t'MEX': 0.019809,\n\t\t'AUD': 0.009905,\n\t\t'SE': 1,\n\t\t'PL': 1\n\t}\n\n\tlet locationVal = 1;\n\tjQuery('#currency').change(function () {\n\t\tif (document.getElementById(\"book-type\").value == 'ebook') {\n\t\t\tlocationVal = ebook[this.value]\n\t\t\tgetRank()\n\t\t} else {\n\t\t\tlocationVal=book[this.value]\n\t\t\tgetRank()\n\t\t}\n\t});\n\n\n\t\n\tlet books = 0;\n\tjQuery.fn.forceNumeric = function () {\n\n\t\treturn this.each(function () {\n\t\t\tjQuery(this).keydown(function (e) {\n\n\t\t\t\tvar key = e.which || e.keyCode;\n\n\t\t\t\tif (!e.altKey && !e.ctrlKey &&\n\t\t\t\t\t\/\/ numbers\n\t\t\t\t\tkey >= 48 && key <= 57 ||\n\t\t\t\t\t\/\/ Numeric keypad\n\t\t\t\t\tkey >= 96 && key <= 105 ||\n\t\t\t\t\t\/\/ comma, period and minus, . on keypad\n\t\t\t\t\tkey == 188 ||\n\t\t\t\t\t\/\/ Backspace and Tab and Enter\n\t\t\t\t\tkey == 8 ||\n\n\t\t\t\t\t\/\/ left and right arrows\n\t\t\t\t\tkey == 37 || key == 39 ||\n\t\t\t\t\t\/\/ Del and Ins\n\t\t\t\t\tkey == 46 || key == 45)\n\t\t\t\t\treturn true;\n\n\t\t\t\treturn false;\n\t\t\t});\n\t\t});\n\t}\n\n\n\n\tjQuery(\"#rank-input\").forceNumeric();\n\n\tjQuery('#book-type').change(function () {\n\t\tgetRank()\n\t});\n\n\tjQuery('#rank-input').keyup(function () {\n\t\tgetRank()\n\t});\n\n\tfunction getRank(location = 1) {\n\t\tlocation = locationVal;\n\t\tconst x = document.getElementById(\"rank-input\").value.replace(\/,\/g, '');\n\t\tconst bookType = document.getElementById(\"book-type\").value\n\t\tconsole.log(x);\n\t\tif (bookType == 'ebook') {\n\n\t\t\tif (x >= 1 && x <= 5) {\n\n\t\t\t\tbooks = ((7000 - 3950) \/ 5) * (5 - x) + 3950;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 6 && x <= 20) {\n\n\t\t\t\tbooks = ((3930 - 3000) \/ (20 - 5)) * (20 - x) + 3000;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 21 && x <= 35) {\n\n\t\t\t\tbooks = ((2950 - 2000) \/ (35 - 20)) * (35 - x) + 2000;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 36 && x <= 100) {\n\n\t\t\t\tbooks = ((1985 - 1000) \/ (100 - 35)) * (100 - x) + 1000;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 101 && x <= 200) {\n\n\t\t\t\tbooks = ((995 - 500) \/ (200 - 100)) * (200 - x) + 500;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 201 && x <= 350) {\n\n\t\t\t\tbooks = ((498 - 250) \/ (350 - 200)) * (350 - x) + 250;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 351 && x <= 500) {\n\n\t\t\t\tbooks = ((245 - 175) \/ (500 - 350)) * (500 - x) + 175;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 501 && x <= 750) {\n\n\t\t\t\tbooks = ((175 - 120) \/ (750 - 500)) * (750 - x) + 120;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 751 && x <= 1500) {\n\n\t\t\t\tbooks = ((120 - 100) \/ (1500 - 750)) * (1500 - x) + 100;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 1501 && x <= 3000) {\n\n\t\t\t\tbooks = ((100 - 70) \/ (3000 - 1500)) * (3000 - x) + 70;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 3001 && x <= 5500) {\n\n\t\t\t\tbooks = ((70 - 25) \/ (5500 - 3000)) * (5500 - x) + 25;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 5501 && x <= 10000) {\n\n\t\t\t\tbooks = ((25 - 15) \/ (10000 - 5500)) * (10000 - x) + 15;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 10001 && x <= 50000) {\n\n\t\t\t\tbooks = ((15 - 5) \/ (50000 - 10000)) * (50000 - x) + 5;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 50001 && x <= 100000) {\n\n\t\t\t\tbooks = ((5 - 1) \/ (100000 - 50000)) * (100000 - x) + 1;\n\n\n\t\t\t}\n\n\n\t\t\tif (x < 1) {\n\n\t\t\t\tbooks = '-';\n\n\n\t\t\t}\n\n\n\t\t\tif (x > 100000) {\n\t\t\t\tbooks = 100000\/(100000 + (x-100000)*4);\n\/\/\t\t\t\tbooks = \"check\";\n\/\/\t\t\t\tconsole.log(books);\n\n\t\t\t}\n\n\n\t\t}\n\t\telse {\n\n\t\t\t\/\/books\n\n\n\t\t\tif (x >= 1 && x <= 5) {\n\n\t\t\t\tbooks = ((2475 - 1350) \/ 5) * (5 - x) + 1350;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 6 && x <= 20) {\n\n\t\t\t\tbooks = ((1250 - 720) \/ (20 - 5)) * (20 - x) + 720;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 21 && x <= 35) {\n\n\t\t\t\tbooks = ((700 - 535) \/ (35 - 20)) * (35 - x) + 535;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 36 && x <= 100) {\n\n\t\t\t\tbooks = ((530 - 300) \/ (100 - 35)) * (100 - x) + 300;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 101 && x <= 200) {\n\n\t\t\t\tbooks = ((300 - 200) \/ (200 - 100)) * (200 - x) + 200;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 201 && x <= 350) {\n\n\t\t\t\tbooks = ((200 - 140) \/ (350 - 200)) * (350 - x) + 140;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 351 && x <= 500) {\n\n\t\t\t\tbooks = ((138 - 110) \/ (500 - 350)) * (500 - x) + 110;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 501 && x <= 750) {\n\n\t\t\t\tbooks = ((108 - 84) \/ (750 - 500)) * (750 - x) + 84;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 751 && x <= 1500) {\n\n\t\t\t\tbooks = ((83 - 50) \/ (1500 - 750)) * (1500 - x) + 50;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 1501 && x <= 3000) {\n\n\t\t\t\tbooks = ((49 - 30) \/ (3000 - 1500)) * (3000 - x) + 30;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 3001 && x <= 5500) {\n\n\t\t\t\tbooks = ((30 - 20) \/ (5500 - 3000)) * (5500 - x) + 20;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 5501 && x <= 10000) {\n\n\t\t\t\tbooks = ((20 - 12) \/ (10000 - 5500)) * (10000 - x) + 12;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 10001 && x <= 50000) {\n\n\t\t\t\tbooks = ((12 - 3) \/ (50000 - 10000)) * (50000 - x) + 3;\n\n\n\t\t\t}\n\n\t\t\tif (x >= 50001 && x <= 100000) {\n\n\t\t\t\tbooks = ((3 - 1) \/ (100000 - 50000)) * (100000 - x) + 1;\n\n\n\t\t\t}\n\n\t\t\tif (x < 1) {\n\n\t\t\t\tbooks = '-';\n\n\n\t\t\t}\n\n\n\t\t\tif (x > 100000) {\n\t\t\t\tbooks = 100000\/(100000 + (x-100000)*8);\n\n\/\/\t\t\t\tbooks = \"check\";\n\n\t\t\t}\n\n\n\t\t}\n\t\tif(books!=\"check\"){\n\t\tbooks = books * location;\n\t}\n\n\t\tif(books<0){\n\t\t\tbooks=0;\n\t\t}\n\n\t\tif (books > 0) {\n\n\n\t\t\tdocument.getElementById(\"books\").innerHTML = Math.round(books);\n\n\t\t\tdocument.getElementById(\"inner\").style.display = \"block\";\n\n\t\t\tdocument.getElementById(\"greater\").style.display = \"none\";\n\n\t\t}\n\n\n\t\tif (books == \"check\" || books < 1) {\n\n\n\t\t\tdocument.getElementById(\"inner\").style.display = \"none\";\n\n\t\t\tdocument.getElementById(\"greater\").style.display = \"block\";\n\n\t\t\tdocument.getElementById(\"result\").style.display = \"flex\";\n\n\t\t}\n\nconsole.log('books');\nconsole.log(books);\n\t};\n\n\n\n\n\n\tpageLimit = {\n\t\tpaperBack: {\n\t\t\tbnwPColor: {\n\t\t\t\tfrom: 24, to: 828\n\t\t\t},\n\t\t\tcolor: {\n\t\t\t\tfrom: 72, to: 600\n\t\t\t},\n\t\t},\n\t\thardBack: {\n\t\t\tfrom: 75, to: 550\n\t\t}\n\t}\n\n\tebookPriceRange = {\n\t\tUSD: {\n\t\t\trange1: { from: 0.99, to: 200 },\n\t\t\trange2: { from: 1.99, to: 200 },\n\t\t\trange3: { from: 2.99, to: 200 },\n\t\t\trange4: { from: 2.99, to: 9.99 }\n\t\t},\n\t\tCAD: {\n\t\t\trange1: { from: 0.99, to: 200 },\n\t\t\trange2: { from: 1.99, to: 200 },\n\t\t\trange3: { from: 2.99, to: 200 },\n\t\t\trange4: { from: 2.99, to: 9.99 }\n\t\t},\n\t\tGBP: {\n\t\t\trange1: { from: 0.77, to: 150 },\n\t\t\trange2: { from: 1.25, to: 150 },\n\t\t\trange3: { from: 1.49, to: 150 },\n\t\t\trange4: { from: 1.77, to: 9.99 }\n\t\t},\n\t\tFR: {\n\t\t\trange1: { from: 0.89, to: 215 },\n\t\t\trange2: { from: 1.79, to: 215 },\n\t\t\trange3: { from: 2.69, to: 215 },\n\t\t\trange4: { from: 2.69, to: 9.99 }\n\t\t},\n\t\tDE: {\n\t\t\trange1: { from: 0.89, to: 215 },\n\t\t\trange2: { from: 1.79, to: 215 },\n\t\t\trange3: { from: 2.69, to: 215 },\n\t\t\trange4: { from: 2.69, to: 9.99 }\n\t\t},\n\t\tES: {\n\t\t\trange1: { from: 0.89, to: 215 },\n\t\t\trange2: { from: 1.79, to: 215 },\n\t\t\trange3: { from: 2.69, to: 215 },\n\t\t\trange4: { from: 2.69, to: 9.99 }\n\t\t},\n\t\tIT: {\n\t\t\trange1: { from: 0.89, to: 215 },\n\t\t\trange2: { from: 1.79, to: 215 },\n\t\t\trange3: { from: 2.69, to: 215 },\n\t\t\trange4: { from: 2.69, to: 9.99 }\n\t\t},\n\t\tNL: {\n\t\t\trange1: { from: 0.89, to: 215 },\n\t\t\trange2: { from: 1.79, to: 215 },\n\t\t\trange3: { from: 2.69, to: 215 },\n\t\t\trange4: { from: 2.69, to: 9.99 }\n\t\t},\n\t\tYEN: {\n\t\t\trange1: { from: 99, to: 20000 },\n\t\t\trange2: { from: 99, to: 20000 },\n\t\t\trange3: { from: 99, to: 20000 },\n\t\t\trange4: { from: 250, to: 1250 }\n\t\t},\n\t\tAUD: {\n\t\t\trange1: { from: 0.99, to: 220 },\n\t\t\trange2: { from: 1.99, to: 220 },\n\t\t\trange3: { from: 3.99, to: 220 },\n\t\t\trange4: { from: 3.99, to: 11.99 }\n\t\t}\n\t}\n\n\tprintCostAmn = {\n\t\tpaperBack: {\n\t\t\t\/\/paperBack bnw 24-108\n\t\t\tbnw: {\n\t\t\t\tUSD: { fixedCost: 2.15, ppc: 0 },\n\t\t\t\tCAD: { fixedCost: 2.82, ppc: 0 },\n\t\t\t\tGBP: { fixedCost: 1.70, ppc: 0 },\n\t\t\t\tFR: { fixedCost: 1.90, ppc: 0 },\n\t\t\t\tDE: { fixedCost: 1.90, ppc: 0 },\n\t\t\t\tES: { fixedCost: 1.90, ppc: 0 },\n\t\t\t\tIT: { fixedCost: 1.90, ppc: 0 },\n\t\t\t\tNL: { fixedCost: 1.90, ppc: 0 },\n\t\t\t\tAUD: { fixedCost: 4.49, ppc: 0 },\n\t\t\t\tYEN: { fixedCost: 400, ppc: 0 },\n\t\t\t\tPLN: { fixedCost: 8.76, ppc: 0 },\n\t\t\t\tSEK: { fixedCost: 19.27, ppc: 0 }\n\t\t\t},\n\t\t\t\/\/paperback 110-828\n\t\t\tbnw2: {\n\t\t\t\tUSD: { fixedCost: 0.85, ppc: 0.012 },\n\t\t\t\tCAD: { fixedCost: 1.11, ppc: 0.016 },\n\t\t\t\tGBP: { fixedCost: 0.70, ppc: 0.010 },\n\t\t\t\tFR: { fixedCost: 0.60, ppc: 0.012 },\n\t\t\t\tDE: { fixedCost: 0.60, ppc: 0.012 },\n\t\t\t\tES: { fixedCost: 0.60, ppc: 0.012 },\n\t\t\t\tIT: { fixedCost: 0.60, ppc: 0.012 },\n\t\t\t\tNL: { fixedCost: 0.60, ppc: 0.012 },\n\t\t\t\tAUD: { fixedCost: 2.17, ppc: 0.0215 },\n\t\t\t\tYEN: { fixedCost: 175, ppc: 2 },\n\t\t\t\tPLN: { fixedCost: 2.77, ppc: 0.06 },\n\t\t\t\tSEK: { fixedCost: 6.09, ppc: 0.12 }\n\t\t\t},\n\t\t\t\/\/paperBack premium color 24-40\n\t\t\tpColor: {\n\t\t\t\tUSD: { fixedCost: 3.65, ppc: 0 },\n\t\t\t\tCAD: { fixedCost: 4.78, ppc: 0 },\n\t\t\t\tGBP: { fixedCost: 2.05, ppc: 0 },\n\t\t\t\tFR: { fixedCost: 2.40, ppc: 0 },\n\t\t\t\tDE: { fixedCost: 2.40, ppc: 0 },\n\t\t\t\tES: { fixedCost: 2.40, ppc: 0 },\n\t\t\t\tIT: { fixedCost: 2.40, ppc: 0 },\n\t\t\t\tNL: { fixedCost: 2.40, ppc: 0 },\n\t\t\t\tAUD: { fixedCost: 5.05, ppc: 0 },\n\t\t\t\tYEN: { fixedCost: 475, ppc: 0 },\n\t\t\t\tPLN: { fixedCost: 11.06, ppc: 0 },\n\t\t\t\tSEK: { fixedCost: 24.34, ppc: 0 }\n\t\t\t},\n\t\t\t\/\/paperBack premium color 42-828\n\t\t\tpColor2: {\n\t\t\t\tUSD: { fixedCost: 0.85, ppc: 0.07 },\n\t\t\t\tCAD: { fixedCost: 1.11, ppc: 0.09 },\n\t\t\t\tGBP: { fixedCost: 0.70, ppc: 0.045 },\n\t\t\t\tFR: { fixedCost: 0.60, ppc: 0.06 },\n\t\t\t\tDE: { fixedCost: 0.60, ppc: 0.06 },\n\t\t\t\tES: { fixedCost: 0.60, ppc: 0.06 },\n\t\t\t\tIT: { fixedCost: 0.60, ppc: 0.06 },\n\t\t\t\tNL: { fixedCost: 0.60, ppc: 0.06 },\n\t\t\t\tAUD: { fixedCost: 2.17, ppc: 0.0720 },\n\t\t\t\tYEN: { fixedCost: 175, ppc: 4 },\n\t\t\t\tPLN: { fixedCost: 2.77, ppc: 0.28 },\n\t\t\t\tSEK: { fixedCost: 6.09, ppc: 0.61 }\n\t\t\t},\n\t\t\t\/\/paperBack standard color 72-600\n\t\t\tcolor: {\n\t\t\t\tUSD: { fixedCost: 0.85, ppc: 0.036 },\n\t\t\t\tCAD: { fixedCost: 1.11, ppc: 0.047 },\n\t\t\t\tGBP: { fixedCost: 0.70, ppc: 0.025 },\n\t\t\t\tFR: { fixedCost: 0.60, ppc: 0.031 },\n\t\t\t\tDE: { fixedCost: 0.60, ppc: 0.031 },\n\t\t\t\tES: { fixedCost: 0.60, ppc: 0.031 },\n\t\t\t\tIT: { fixedCost: 0.60, ppc: 0.031 },\n\t\t\t\tNL: { fixedCost: 0.60, ppc: 0.031 },\n\t\t\t\tPLN: { fixedCost: 2.77, ppc: 0.14 },\n\t\t\t\tSEK: { fixedCost: 6.09, ppc: 0.31 }\n\t\t\t}\n\n\t\t},\n\t\thardBack: {\n\t\t\t\/\/hardBack bnw 75-108\n\t\t\tbnw: {\n\t\t\t\tUSD: { fixedCost: 6.80, ppc: 0 },\n\t\t\t\tGBP: { fixedCost: 5.10, ppc: 0 },\n\t\t\t\tFR: { fixedCost: 5.80, ppc: 0 },\n\t\t\t\tDE: { fixedCost: 5.80, ppc: 0 },\n\t\t\t\tES: { fixedCost: 5.80, ppc: 0 },\n\t\t\t\tIT: { fixedCost: 5.80, ppc: 0 },\n\t\t\t\tNL: { fixedCost: 5.80, ppc: 0 },\n\t\t\t\tPLN: { fixedCost: 26.73, ppc: 0 },\n\t\t\t\tSEK: { fixedCost: 58.83, ppc: 0 }\n\t\t\t},\n\t\t\t\/\/hardBack bnw 110-550\n\t\t\tbnw2: {\n\t\t\t\tUSD: { fixedCost: 5.50, ppc: 0.012 },\n\t\t\t\tGBP: { fixedCost: 4.00, ppc: 0.010 },\n\t\t\t\tFR: { fixedCost: 4.50, ppc: 0.012 },\n\t\t\t\tDE: { fixedCost: 4.50, ppc: 0.012 },\n\t\t\t\tES: { fixedCost: 4.50, ppc: 0.012 },\n\t\t\t\tIT: { fixedCost: 4.50, ppc: 0.012 },\n\t\t\t\tNL: { fixedCost: 4.50, ppc: 0.012 },\n\t\t\t\tPLN: { fixedCost: 20.74, ppc: 0.06 },\n\t\t\t\tSEK: { fixedCost: 45.65, ppc: 0.12 }\n\t\t\t},\n\t\t\t\/\/hardBack premium color 75-550\n\t\t\tpColor: {\n\t\t\t\tUSD: { fixedCost: 5.50, ppc: 0.07 },\n\t\t\t\tGBP: { fixedCost: 4.0, ppc: 0.045 },\n\t\t\t\tFR: { fixedCost: 4.50, ppc: 0.06 },\n\t\t\t\tDE: { fixedCost: 4.50, ppc: 0.06 },\n\t\t\t\tES: { fixedCost: 4.50, ppc: 0.06 },\n\t\t\t\tIT: { fixedCost: 4.50, ppc: 0.06 },\n\t\t\t\tNL: { fixedCost: 4.50, ppc: 0.06 },\n\t\t\t\tPLN: { fixedCost: 20.77, ppc: 0.28 },\n\t\t\t\tSEK: { fixedCost: 45.65, ppc: 0.61 }\n\t\t\t}\n\n\t\t}\n\t}\n\n\tconst value = document.getElementById('currency').value\n\tsetCurrCode(value)\n\tcalculate()\n\n\t$('#currency').change(function () {\n\t\tsetCurrCode(this.value)\n\t})\n\n\t$('#book-type').change(function () {\n\n\t\tconst interior = document.querySelector('.interior')\n\t\tconst pages = document.querySelector('.pages')\n\t\tconst size = document.querySelector('.size')\n\t\tconst rate = document.querySelector('.royalty-rate')\n\t\tswitch (this.value) {\n\t\t\tcase 'ebook':\n\t\t\t\tinterior.style.display = 'none'\n\t\t\t\tpages.style.display = 'none'\n\t\t\t\tsize.style.display = 'flex'\n\t\t\t\trate.style.display = 'flex'\n\t\t\t\tbreak;\n\t\t\tcase 'paperBack':\n\t\t\t\tinterior.style.display = 'flex'\n\t\t\t\tpages.style.display = 'flex'\n\t\t\t\tsize.style.display = 'none'\n\t\t\t\trate.style.display = 'none'\n\t\t\t\tdocument.getElementById('interior').innerHTML = `<option value=\"bnw\" selected>Black and White<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"color\">Color<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"p-color\">Premium Color<\/option>`\n\n\t\t\t\tbreak;\n\t\t\tcase 'hardBack':\n\t\t\t\tinterior.style.display = 'flex'\n\t\t\t\tpages.style.display = 'flex'\n\t\t\t\tsize.style.display = 'none'\n\t\t\t\trate.style.display = 'none'\n\t\t\t\tdocument.getElementById('interior').innerHTML = `<option value=\"bnw\" selected>Black and White<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"p-color\">Premium Color<\/option>`\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t})\n\n\t$('#interior').change(function () {\n\t\tconst type = document.getElementById('book-type').value\n\t\tconst currency = document.getElementById('currency')\n\t\tif (this.value == 'color' && type == 'paperBack') {\n\t\t\tcurrency.innerHTML = `<option value=\"USD\" selected>Amazon.com<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"CAD\">Amazon.ca<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"GBP\">Amazon.co.uk<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"FR\">Amazon.fr<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"IT\">Amazon.it<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"DE\">Amazon.de<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"ES\">Amazon.es<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"NL\">Amazon.nl<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"PLN\">Amazon.pl<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"SEK\">Amazon.se<\/option>`\n\t\t} else {\n\t\t\tcurrency.innerHTML = `<option value=\"USD\" selected>Amazon.com<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"CAD\">Amazon.ca<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"GBP\">Amazon.co.uk<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"FR\">Amazon.fr<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"IT\">Amazon.it<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"DE\">Amazon.de<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"ES\">Amazon.es<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"NL\">Amazon.nl<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"AUD\">Amazon.com.au<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"YEN\">Amazon.co.jp<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"PLN\">Amazon.pl<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"SEK\">Amazon.se<\/option>`\n\t\t}\n\t})\n\n\n\tfunction setCurrCode(code) {\n\n\t\tswitch (code) {\n\t\t\tcase 'USD':\n\t\t\t\treturn '$'\n\t\t\t\tbreak;\n\t\t\tcase 'GBP':\n\t\t\t\treturn '\u00a3'\n\n\t\t\t\tbreak;\n\t\t\tcase 'FR':\n\t\t\t\treturn '\u20ac'\n\n\t\t\t\tbreak;\n\t\t\tcase 'DE':\n\t\t\t\treturn '\u20ac'\n\n\t\t\t\tbreak;\n\t\t\tcase 'ES':\n\t\t\t\treturn '\u20ac'\n\n\t\t\t\tbreak;\n\t\t\tcase 'IT':\n\t\t\t\treturn '\u20ac'\n\n\t\t\t\tbreak;\n\t\t\tcase 'NL':\n\t\t\t\treturn '\u20ac'\n\n\t\t\t\tbreak;\n\t\t\tcase 'CAD':\n\t\t\t\treturn '$'\n\n\t\t\t\tbreak;\n\t\t\tcase 'AUD':\n\t\t\t\treturn '$'\n\n\t\t\t\tbreak;\n\t\t\tcase 'YEN':\n\t\t\t\treturn '\u00a5'\n\n\t\t\t\tbreak;\n\t\t\tcase 'PLN':\n\t\t\t\treturn 'z\u0142'\n\n\t\t\t\tbreak;\n\t\t\tcase 'SEK':\n\t\t\t\treturn 'kr'\n\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tfunction validation() {\n\t\tconst type = document.getElementById('book-type').value\n\t\tconst rate = document.getElementById('rate').value\n\t\tconst size = document.getElementById('sizeInput').value\n\n\t\tconst interior = document.getElementById('interior').value\n\t\tconst pages = document.getElementById('pages').value\n\t\tconst currency = document.getElementById('currency').value\n\t\tconst price = document.getElementById('priceInput').value\n\n\t\tconst priceError = document.getElementById('price-error')\n\t\tconst pageError = document.getElementById('page-error')\n\t\tconst sizeError = document.getElementById('size-error')\n\n\n\t\tif (type == 'ebook') {\n\t\t\tif (rate == '70') {\n\t\t\t\tif (price >= ebookPriceRange[currency].range4.from\n\t\t\t\t\t&& price <= ebookPriceRange[currency].range4.to) {\n\t\t\t\t\tpriceError.style.visibility = 'hidden'\n\n\t\t\t\t} else {\n\t\t\t\t\tpriceError.style.visibility = 'visible'\n\t\t\t\t\tpriceError.innerHTML = `Price should be ${currency} ${ebookPriceRange[currency].range4.from} to ${ebookPriceRange[currency].range4.to}.`\n\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (size < 3) {\n\t\t\t\t\tif (price >= ebookPriceRange[currency].range1.from\n\t\t\t\t\t\t&& price <= ebookPriceRange[currency].range1.to) {\n\t\t\t\t\t\tpriceError.style.visibility = 'hidden'\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpriceError.style.visibility = 'visible'\n\t\t\t\t\t\tpriceError.innerHTML = `Price should be ${currency} ${ebookPriceRange[currency].range1.from} to ${ebookPriceRange[currency].range1.to}.`\n\n\t\t\t\t\t}\n\t\t\t\t} else if (size < 10) {\n\t\t\t\t\tif (price >= ebookPriceRange[currency].range2.from\n\t\t\t\t\t\t&& price <= ebookPriceRange[currency].range2.to) {\n\t\t\t\t\t\tpriceError.style.visibility = 'hidden'\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpriceError.style.visibility = 'visible'\n\t\t\t\t\t\tpriceError.innerHTML = `Price should be ${currency} ${ebookPriceRange[currency].range2.from} to ${ebookPriceRange[currency].range2.to}.`\n\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (price >= ebookPriceRange[currency].range3.from\n\t\t\t\t\t\t&& price <= ebookPriceRange[currency].range3.to) {\n\t\t\t\t\t\tpriceError.style.visibility = 'hidden'\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpriceError.style.visibility = 'visible'\n\t\t\t\t\t\tpriceError.innerHTML = `Price should be ${currency} ${ebookPriceRange[currency].range3.from} to ${ebookPriceRange[currency].range3.to}.`\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (type == 'paperBack') {\n\t\t\tif (interior == 'bnw' || interior == 'p-color') {\n\t\t\t\tif (pages >= pageLimit.paperBack.bnwPColor.from\n\t\t\t\t\t&& pages <= pageLimit.paperBack.bnwPColor.to) {\n\t\t\t\t\tpageError.style.visibility = 'hidden'\n\t\t\t\t} else {\n\t\t\t\t\tpageError.style.visibility = 'visible'\n\t\t\t\t\tpageError.innerHTML = `Pages should be ${pageLimit.paperBack.bnwPColor.from} to ${pageLimit.paperBack.bnwPColor.to}.`\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (pages >= pageLimit.paperBack.color.from\n\t\t\t\t\t&& pages <= pageLimit.paperBack.color.to) {\n\t\t\t\t\tpageError.style.visibility = 'hidden'\n\t\t\t\t} else {\n\t\t\t\t\tpageError.style.visibility = 'visible'\n\t\t\t\t\tpageError.innerHTML = `Pages should be ${pageLimit.paperBack.color.from} to ${pageLimit.paperBack.color.to}.`\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tif (type == 'hardBack') {\n\t\t\tif (pages >= pageLimit.hardBack.from\n\t\t\t\t&& pages <= pageLimit.hardBack.to) {\n\t\t\t\tpageError.style.visibility = 'hidden'\n\t\t\t} else {\n\t\t\t\tpageError.style.visibility = 'visible'\n\t\t\t\tpageError.innerHTML = `Pages should be ${pageLimit.hardBack.from} to ${pageLimit.hardBack.to}.`\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction smoothScroll(){\n    document.querySelector('.your_class or #id here').scrollIntoView({\n        behavior: 'smooth'\n    });\n}\n\n\tfunction calculate() {\n\t\tvalidation()\n\t\tlet fee = 0\n\t\tlet royalty_per_book = 0\n\t\tlet effective_rate = null\n\t\tlet profitableRoyaltyRate = null\n\t\tlet profitDifference = 0\n\t\tlet printOrDeliveryCost = 0\n\t\tlet minPrice = 0\n\t\tlet minCost = 0\n\t\tconst currency = document.getElementById('currency').value\n\t\tconst currencySymbol = setCurrCode(currency)\n\t\tconst type = document.getElementById('book-type').value\n\t\tconst price = document.getElementById('priceInput').value\n\t\tconst alert = document.querySelector('.error-alert')\n\t\tconst boxError = document.getElementById('box-error')\n\t\tif (type == 'ebook') {\n\t\t\tconst rate = document.getElementById('rate').value\n\t\t\tconst size = document.getElementById('sizeInput').value\n\t\t\tif (rate == '35') {\n\t\t\t\tif (price) fee = 0.65 * parseFloat(price)\n\t\t\t} else {\n\t\t\t\tif (size) printOrDeliveryCost = (parseFloat(size) * .15)\n\t\t\t\tif (price) fee = (0.30 * parseFloat(price)) \/\/ check\n\t\t\t}\n\n\t\t\tconst price35 = 0.35 * parseFloat(price)\n\t\t\tconst price70 = 0.70 * parseFloat(price)\n\n\t\t\tconst royalty70 = parseFloat(price70).toFixed(2) - (parseFloat(size) * .15)\n\t\t\tconst royalty35 = parseFloat(price35).toFixed(2)\n\n\t\t\tif (rate == '70') {\n\n\t\t\t\tif (royalty70 - royalty35 < 0) {\n\t\t\t\t\tprofitableRoyaltyRate = '35'\n\t\t\t\t\tprofitDifference = royalty35 - royalty70\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (royalty35 - royalty70 < 0) {\n\t\t\t\t\tprofitableRoyaltyRate = '70'\n\t\t\t\t\tprofitDifference = royalty70 - royalty35\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tminPrice = printOrDeliveryCost \/\/ check\n\t\t\tif (price) royalty_per_book = parseFloat(price).toFixed(2) - fee.toFixed(2) - printOrDeliveryCost\n\n\t\t} else {\n\t\t\tconst interior = document.getElementById('interior').value\n\t\t\tconst pagesInput = document.getElementById('pages').value\n\t\t\tconst pages = parseInt(pagesInput)\n\t\t\tif (type == 'paperBack') {\n\t\t\t\tswitch (interior) {\n\t\t\t\t\tcase 'bnw':\n\t\t\t\t\t\tif (24 <= pages && pages <= 108) {\n\t\t\t\t\t\t\tconsole.log(\"MADE IT 1\")\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].bnw[currency].fixedCost\n\t\t\t\t\t\t\tconsole.log(printOrDeliveryCost)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (110 <= pages && pages <= 828) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].bnw2[currency].fixedCost + (pages) * printCostAmn[type].bnw2[currency].ppc\n\t\t\t\t\t\t\tconsole.log(\"MADE IT 1.5\")\n\t\t\t\t\t\t\tconsole.log(printOrDeliveryCost)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'color':\n\t\t\t\t\t\tif (72 <= pages && pages <= 600) {\n\t\t\t\t\t\t\tconsole.log(\"MADE IT 2\")\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].color[currency].fixedCost + (pages) * printCostAmn[type].color[currency].ppc\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'p-color':\n\t\t\t\t\t\tif (24 <= pages && pages <= 40) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].pColor[currency].fixedCost + (pages) * printCostAmn[type].pColor[currency].ppc\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (42 <= pages && pages <= 828) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].pColor2[currency].fixedCost + (pages) * printCostAmn[type].pColor2[currency].ppc\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tswitch (interior) {\n\t\t\t\t\tcase 'bnw':\n\t\t\t\t\t\tif (75 <= pages && pages <= 108) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].bnw[currency].fixedCost\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (110 <= pages && pages <= 550) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].bnw2[currency].fixedCost + (pages) * printCostAmn[type].bnw2[currency].ppc\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'p-color':\n\t\t\t\t\t\tif (75 <= pages && pages <= 550) {\n\t\t\t\t\t\t\tprintOrDeliveryCost = printCostAmn[type].pColor[currency].fixedCost + (pages) * printCostAmn[type].pColor[currency].ppc\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (price) fee = 0.40 * parseFloat(price).toFixed(2)\n\t\t\tif (price) royalty_per_book = 0.60 * (parseFloat(price).toFixed(2)) - printOrDeliveryCost.toFixed(2)\n\t\t\tminPrice = printOrDeliveryCost\n\n\t\t}\n\n\n\t\t$('#priceInput').attr('placeholder', 'Enter the price');\n\n\n\t\tlet currVal = document.getElementById('currency').value\n\t\tif (document.getElementById(\"book-type\").value == 'ebook') {\n\t\t\tlocationVal = ebook[currVal];\n\t\t\tgetRank();\n\t\t} \n\t\telse {\n\t\t\tlocationVal=book[currVal];\n\t\t\tgetRank();\n\t\t}\n\n\t\tconsole.log(\"CHECK IT\")\n\t\tconsole.log(royalty_per_book)\n\t\tconsole.log(books)\n\t\tconsole.log(locationVal);\n\n\t\tif (Number.isNaN(books)){\n\t\t\tbooks = 0;\n\t\t}\n\t\tconst earningPerDay = royalty_per_book * books;\n\t\tconst earningPerMonth = 30 * royalty_per_book * books;\n\t\tconst booksPerDay = books;\n\t\tconst booksPerMonth = 30 * books;\n\n\t\tlet earningPerDayVal = `${currencySymbol}${' '}${earningPerDay.toFixed(0)}`;\n\t\tlet earningPerMonthVal = `${currencySymbol}${' '}${earningPerMonth.toFixed(0)}`;\n\t\tlet booksPerDayVal = Math.floor(booksPerDay).toFixed(0);\n\t\tlet booksPerMonthVal = Math.floor(booksPerMonth).toFixed(0);\n\n\t\tif (booksPerDayVal < 1 || books == \"check\"){\n\t\t\tbooksPerDayVal = \"<1\";\n\t\t\tearningPerDayVal = \"-\";\n\t\t}\n\n\t\tif (booksPerMonthVal < 1 || books == \"check\"){\n\t\t\tbooksPerMonthVal = \"<1\";\n\t\t\tearningPerMonthVal = \"-\";\n\t\t}\n\n\n\t\tdocument.querySelector('.e-per-day').innerHTML = earningPerDayVal;\n\t\tdocument.querySelector('.e-per-month').innerHTML = earningPerMonthVal;\n\t\tdocument.querySelector('.c-per-day').innerHTML = booksPerDayVal;\n\t\tdocument.querySelector('.c-per-month').innerHTML = booksPerMonthVal;\n\n\n\t}\n\n\n\n\n<\/script><\/h3>\n\n\n<div style=\"max-width:1000px\"><\/div>\n\n\n<div class=\"offer-box\">Want to increase your Book's rankings on Amazon? Download my personal guide on increasing your book's rankings and discoverability on Amazon so you get more sales continuously!<center><a class=\"offer-button-box\" href=\"https:\/\/app.monstercampaigns.com\/c\/dilmlqwjykpoxsyh1ar7\/\" target=\"_blank\" rel=\"noopener noreferrer\">Get it here for FREE!<\/a><\/center><\/div>\n\n\n\n<p class=\"has-text-align-left\"><em>See also my <a href=\"https:\/\/kindlepreneur.com\/audible-book-sales-calculator\/\" target=\"_blank\" rel=\"noreferrer noopener\">Audiobook Sales Calculator<\/a><\/em> for <em>audiobook information<\/em><\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-how-to-use-the-amazon-sales-rank-calculator\" data-level=\"2\">How to Use the Amazon Sales Rank Calculator<\/a><ul><li><a href=\"#h-step-1-select-the-book-version-and-market-place\" data-level=\"3\">Step 1: Select the book version and market place<\/a><\/li><li><a href=\"#h-step-2-find-the-amazon-best-seller-rank\" data-level=\"3\">Step 2: Find the Amazon Best Seller Rank<\/a><\/li><li><a href=\"#h-step-3-enter-in-the-kindle-calculator\" data-level=\"3\">Step 3: Enter in the Kindle Calculator<\/a><\/li><\/ul><\/li><li><a href=\"#h-what-is-the-amazon-book-best-seller-rank\" data-level=\"2\">What Is the Amazon Book Best Seller Rank?<\/a><\/li><li><a href=\"#h-what-affects-the-amazon-best-seller-rank\" data-level=\"2\">What Affects the Amazon Best Seller Rank?<\/a><\/li><li><a href=\"#h-how-does-the-book-sales-calculator-works\" data-level=\"2\">How Does the Book Sales Calculator Works<\/a><\/li><li><a href=\"#h-how-to-use-amazon-sales-rank-data-to-improve-your-sales\" data-level=\"2\">How to Use Amazon Sales Rank Data to Improve Your Sales<\/a><\/li><li><a href=\"#h-faq-about-amazon-rankings\" data-level=\"2\">FAQ About Amazon Rankings<\/a><\/li><li><a href=\"#h-other-resources-to-check-out\" data-level=\"2\">Other Resources to Check Out:<\/a><\/li><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-amazon-sales-rank-calculator\">How to Use the Amazon Sales Rank Calculator<\/h2>\n\n\n\n<p>Generally, my Kindle Calculator is pretty easy to use.  All you need to do is find the Amazon Best Seller Rank or (ABSR) of a book, select what form the book is (ebook, book, etc), and which market, and click calculate.  However, if you don't know how to find those things, no worries.  Let me walk you through an example on your can calculate the Amazon book sales. <\/p>\n\n\n\n<p>For this example, let's use a well known LitRPG book, &#8220;Dungeon Born&#8221;. Going to its <a href=\"https:\/\/www.amazon.com\/Dungeon-Born-Divine-Book-ebook\/dp\/B07RR97GXF\/\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon sales page<\/a>, you will find the following:<\/p>\n\n\n<div class=\"wp-block-image shadow\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-1024x496.png\" alt=\"Using Dungeon Born as an example of selecting a book for sales calculation.\" class=\"wp-image-38410\" style=\"width:616px;height:auto\" srcset=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-1024x496.png 1024w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-300x145.png 300w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-768x372.png 768w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-24x12.png 24w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-36x17.png 36w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales-48x23.png 48w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Choosing-a-Book-to-calculate-the-sales.png 1318w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-select-the-book-version-and-market-place\">Step 1: Select the book version and market place<\/h3>\n\n\n\n<p>Make sure you have either the Kindle Version or the Hardcover\/Paperback selected.  For the marketplace, one thing that is super unique to my Kindle sales calculator is that you can select all the different markets like the US, Canada, France, etc.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-find-the-amazon-best-seller-rank\">Step 2: Find the Amazon Best Seller Rank<\/h3>\n\n\n\n<p>Scroll down until you find the Product Details section. Here with Battlefield Earth, we find that the book sales rank (as of this writing) is 181,698.<\/p>\n\n\n<div class=\"wp-block-image shadow\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1316\" height=\"918\" src=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book.png\" alt=\"Scroll down to the product details to find the Best Seller Rank to use for the book sales calculator.\" class=\"wp-image-38411\" style=\"width:366px;height:auto\" srcset=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book.png 1316w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-300x209.png 300w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-1024x714.png 1024w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-768x536.png 768w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-24x17.png 24w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-36x25.png 36w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-best-seller-rank-of-book-48x33.png 48w\" sizes=\"(max-width: 1316px) 100vw, 1316px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-enter-in-the-kindle-calculator\">Step 3: Enter in the Kindle Calculator<\/h3>\n\n\n\n<p>Input that number into the Amazon Book Sales Calculator to get the daily sales volume and monthly sales volume. For Battlefield Earth, it looks like that Amazon Kindle bestsellers rank means that, at the time of this writing, that book is averaging less than 1 sale per day.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"738\" src=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results.png\" alt=\"You'll now get the results to the Amazon BooK Sales Calculator.\" class=\"wp-image-38412\" style=\"width:242px;height:auto\" srcset=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results.png 486w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results-198x300.png 198w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results-16x24.png 16w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results-24x36.png 24w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2024\/04\/Amazon-Book-Sales-Calculator-results-32x48.png 32w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/figure><\/div>\n\n\n<p>And there you have it.  You can know find the actual sales data of any book, ebook or audiobook with the use of the Amazon Book Sales calculator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-amazon-book-best-seller-rank\">What Is the Amazon Book Best Seller Rank?<\/h2>\n\n\n\n<p>Amazon ranks every book on their market place from the best selling in all of their store (#1 Amazon Best seller Rank) to the worst selling book (whatever is the total number of books at that time &#8211; so perhaps over 9 million). <\/p>\n\n\n\n<p>Therefore, the ABSR is based on relative sales in a certain time period as compared to other books. This means that the number of sales to be #1 today, might be different tomorrow. Therefore, an accurate book sales calculator needs to be updated habitually to reflect the relative sales volume in order to be accurate (something I'll discuss later).  This ranking is calculated hourly. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-affects-the-amazon-best-seller-rank\">What Affects the Amazon Best Seller Rank?<\/h2>\n\n\n\n<p>The rankings assigned is comprised of recent activity, as well as historical activity, with recent activity weighted more heavily. Therefore, Amazon <a href=\"https:\/\/kdp.amazon.com\/en_US\/help\/topic\/G201648140\">uses previous sales data<\/a> to shape how your Amazon Best Seller rank is. <\/p>\n\n\n\n<p>So, this brings up the question &#8211; what constitutes as &#8220;activity&#8221; which affects the ABSR.  Well, surprisingly enough, there are three things that affect your Amazon Best Seller Rank: <\/p>\n\n\n\n<ol>\n<li>Sale<\/li>\n\n\n\n<li>KU download (if you're enrolled in that)<\/li>\n\n\n\n<li>Clicking on your book's sales page<\/li>\n<\/ol>\n\n\n\n<p>A sale makes sense.  However, many are surprised by #2 and #3.  If your book is enrolled in <a href=\"https:\/\/kindlepreneur.com\/kdp-select-or-not-is-kindle-unlimited-worth-it\/\">KDP select<\/a>, then those that are a part of the KU program can download your book for free. It's important to note that the downloading of a KU book is weighted the same as a sale.  It is for this reason why many KU books seem to do better in Amazon.  If you were a customer that was in KU, would you purchase a book, or download for free a KU book?  It's because of this reason that KU books tend to have better Amazon bestseller ranks and thus better category rankings.  <\/p>\n\n\n\n<p>So, what about clicks?  Well, there is a section in the ABSR range where there are no sales or haven't been any for a long time (we're talking about the 500k-9M range).  In this case, if a book in that range is found on Amazon and a shopper clicks on the book, this will improve the ABSR.  So, while clicks technically affect your ranking, it isn't very useful.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-does-the-book-sales-calculator-works\">How Does the Book Sales Calculator Works<\/h2>\n\n\n\n<p>Now that we understand the Amazon Best Seller Rank, and what affects it, let's discuss not only how this Kindle calculator works, but also why it is so accurate. <\/p>\n\n\n\n<p>Not only does this book sales calculator have the appropriate algorithm to decipher the number of books sold based on the ABSR, and can do it for all the different Amazon markets and book formats, it is also habitually updated. Thanks to <a href=\"https:\/\/kindlepreneur.com\/click\/publisherrocket\" target=\"_blank\" rel=\"noreferrer noopener\">Publisher Rocket's<\/a> database and systems, it is improved daily ensuring that it's as accurate as possible.<\/p>\n\n\n\n<p>Also, thanks to partnerships with publishing companies around the world, Publisher Rocket and this Book Sales Calculator are continuously updated with the right representation of what that sales number should be.  We get this because we track the ABSR of certain books in our system, and then compare it with their sales &#8211; ensuring our book Amazon sales ranking calculation is as accurate as possible, and not stagnant like other systems. <\/p>\n\n\n\n<p>Calculators like TCK Publishing's just set some numbers and don't understand the dynamics of the system &#8211; which is why their data is old and therefore inaccurate.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-amazon-sales-rank-data-to-improve-your-sales\">How to Use Amazon Sales Rank Data to Improve Your Sales<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><a href=\"\/\/app.monstercampaigns.com\/c\/dilmlqwjykpoxsyh1ar7\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"800\" src=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/rankings-ebook-mockup.png\" alt=\"Download the Rankings Book for Free\" class=\"wp-image-18162\" style=\"width:294px;height:auto\" srcset=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/rankings-ebook-mockup.png 635w, https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/rankings-ebook-mockup-238x300.png 238w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/figure><\/div>\n\n\n<p>The way that the Amazon book sales rank works is based on your sales over time.  If you have consistent sales, your rank will be much better than if you have spikes of sales here and there (even if the number of total sales between the two examples are the same). <\/p>\n\n\n\n<p>Therefore, the best way to improve your Amazon sellers rank or BSR is to develop steady sales of your book over time. This will lead to the <a href=\"https:\/\/kindlepreneur.com\/amazon-popularity-effect-how-amazon-treats-book-discoverability\/\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon Popularity Effect<\/a>, which will increase the amount of promotion that Amazon is willing to give you. Over time, this will lead to an increased royalty.<\/p>\n\n\n\n<p>If you'd like to learn more about how to improve your sales ranks, I wrote a free book you can check out.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-vivid-red-background-color has-background has-text-align-center wp-element-button\" href=\"http:\/\/<a href=&quot;https:\/\/app.monstercampaigns.com\/c\/dilmlqwjykpoxsyh1ar7\/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Subscribe Now!<\/a&gt;\" style=\"border-radius:7px\">Download the Book for Free<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-faq-about-amazon-rankings\">FAQ About Amazon Rankings<\/h2>\n\n\n\n<p>In addition to the Amazon book sales calculator and everything mentioned above, you might have more questions about how Amazon calculates its Amazon best seller ranking for each book sold. Read on for a few frequently asked questions:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can you tell how many copies of a book have sold on Amazon?<\/h3>\n\n\n\n<p>Yes, using the BSR to sales calculator on this page, you can see how many estimated copies of any book are being sold today. Using a program like <a href=\"http:\/\/Kindlepreneur.com\/rocket\">Publisher Rocket<\/a> will give you further insights into just how many sales and royalties they are making, along with how competitive their keywords and categories are.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How many books do you need to sell on Amazon to be a bestseller?<\/h3>\n\n\n\n<p>Your Amazon best seller rank needs to be better than any other book's in an <a href=\"https:\/\/kindlepreneur.com\/how-to-choose-the-best-kindle-ebook-kdp-category\/\">Amazon Category<\/a> your book is a part of in order to be an Amazon Bestseller.  So, if you're in a category, and the #1 book has a BSR of 5,432 &#8211; then all you need is to be 5,431 and you're the new bestseller.  While that might sound hard, it's not once you realize there are over 14,000+ categories on Amazon.  Some categories only require a bestseller rank of 100,000+ (about 1 book sale a day) in order to be a bestseller.  You just need to choose wisely and <a href=\"https:\/\/kindlepreneur.com\/how-to-choose-the-best-kindle-ebook-kdp-category\/\">here is a process<\/a> that can help you do that. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is a good Amazon sales rank?<\/h3>\n\n\n\n<p>Obviously, the best Amazon sellers rank is #1. But generally speaking, a good sales rank is anything under 1000. If you can get into the top 1000 ranking books, you will be selling over 100 copies of your book each day, which adds up if you can keep it there. That is why steady sales are so important. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Are Kindle and Amazon Books ranked differently?<\/h3>\n\n\n\n<p>Books come in different formats like paperback and hardcover, ebook, and audiobook. Each format has its own Best Seller Rank (BSR) showing sales velocity compared to other books in that format. During an ebook promotion, the ebook BSR may hit #1 while the paperback BSR is unchanged at #1,000,000, since the ebook is selling faster temporarily. BSR tracks real-time sales by format.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-other-resources-to-check-out\">Other Resources to Check Out:<\/h2>\n\n\n\n<ul>\n<li><a href=\"https:\/\/kindlepreneur.com\/list-sites-promote-free-amazon-books\/\">Set Up a Book Promotion<\/a>: I've created a list of the best book promotion sites on the market.<\/li>\n\n\n\n<li><a href=\"https:\/\/kindlepreneur.com\/book-copyright-page-examples-ebook\/\">Get a Copyright<\/a>: If you don't get the copyright pge of yoru book right, you could be in trouble. So, learn how to make an ironclad copyright page. <\/li>\n\n\n\n<li><a href=\"https:\/\/kindlepreneur.com\/book-formatting-software\/\" target=\"_blank\" rel=\"noreferrer noopener\">List of the best Formatting Software<\/a>: Having tried them all, I list my favorite book formatting software on the market. Or if you don't want to do that, you can<a href=\"https:\/\/kindlepreneur.com\/how-to-format-a-book\/\"> learn to format on your own<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/kindlepreneur.com\/best-book-writing-software\/\" target=\"_blank\" rel=\"noopener noreferrer\">Find the Best Software for Writing<\/a>: I've created a list of the top book writing software out there. <\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-left\"><strong>Disclaimer<\/strong>: <em>The KDP sales numbers are an estimate based on research and other authors recorded numbers<\/em> since<em>Amazon does not directly release this information. <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.<\/p>\n","protected":false},"author":24,"featured_media":35718,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/tools-with-sidebar.php","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"footnotes":""},"categories":[26],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v22.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Free Amazon Book Sales Calculator [2024 UPDATED!]<\/title>\n<meta name=\"description\" content=\"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon Book Sales Calculator: How Much Does a Best Seller Make?\" \/>\n<meta property=\"og:description\" content=\"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Kindlepreneur\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/kindlepreneur\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-11T19:45:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@DaveChesson\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/\",\"url\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/\",\"name\":\"Free Amazon Book Sales Calculator [2024 UPDATED!]\",\"isPartOf\":{\"@id\":\"https:\/\/kindlepreneur.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png\",\"datePublished\":\"2024-04-09T12:13:44+00:00\",\"dateModified\":\"2024-04-11T19:45:50+00:00\",\"description\":\"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.\",\"breadcrumb\":{\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage\",\"url\":\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png\",\"contentUrl\":\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png\",\"width\":700,\"height\":366,\"caption\":\"Featured Image that says Best Seller Calculator\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kindlepreneur.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon Book Sales Calculator: How Much Does a Best Seller Make?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kindlepreneur.com\/#website\",\"url\":\"https:\/\/kindlepreneur.com\/\",\"name\":\"Kindlepreneur\",\"description\":\"Book Marketing for Self-Publishing Authors\",\"publisher\":{\"@id\":\"https:\/\/kindlepreneur.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kindlepreneur.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kindlepreneur.com\/#organization\",\"name\":\"Kindlepreneur\",\"url\":\"https:\/\/kindlepreneur.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kindlepreneur.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/kindlepreneur_logo_white-copy.png\",\"contentUrl\":\"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/kindlepreneur_logo_white-copy.png\",\"width\":330,\"height\":61,\"caption\":\"Kindlepreneur\"},\"image\":{\"@id\":\"https:\/\/kindlepreneur.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/facebook.com\/kindlepreneur\",\"https:\/\/x.com\/DaveChesson\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Free Amazon Book Sales Calculator [2024 UPDATED!]","description":"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/","og_locale":"en_US","og_type":"article","og_title":"Amazon Book Sales Calculator: How Much Does a Best Seller Make?","og_description":"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.","og_url":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/","og_site_name":"Kindlepreneur","article_publisher":"http:\/\/facebook.com\/kindlepreneur","article_modified_time":"2024-04-11T19:45:50+00:00","og_image":[{"width":700,"height":366,"url":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@DaveChesson","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/","url":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/","name":"Free Amazon Book Sales Calculator [2024 UPDATED!]","isPartOf":{"@id":"https:\/\/kindlepreneur.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage"},"image":{"@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage"},"thumbnailUrl":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png","datePublished":"2024-04-09T12:13:44+00:00","dateModified":"2024-04-11T19:45:50+00:00","description":"Free software that convert an author\u2019s Amazon KDP bestseller rank into Kindle sales per day. Find out how many ebooks they are selling.","breadcrumb":{"@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#primaryimage","url":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png","contentUrl":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2023\/08\/Featured-Image-that-says-Best-Seller-Calculator.png","width":700,"height":366,"caption":"Featured Image that says Best Seller Calculator"},{"@type":"BreadcrumbList","@id":"https:\/\/kindlepreneur.com\/amazon-kdp-sales-rank-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kindlepreneur.com\/"},{"@type":"ListItem","position":2,"name":"Amazon Book Sales Calculator: How Much Does a Best Seller Make?"}]},{"@type":"WebSite","@id":"https:\/\/kindlepreneur.com\/#website","url":"https:\/\/kindlepreneur.com\/","name":"Kindlepreneur","description":"Book Marketing for Self-Publishing Authors","publisher":{"@id":"https:\/\/kindlepreneur.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kindlepreneur.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kindlepreneur.com\/#organization","name":"Kindlepreneur","url":"https:\/\/kindlepreneur.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kindlepreneur.com\/#\/schema\/logo\/image\/","url":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/kindlepreneur_logo_white-copy.png","contentUrl":"https:\/\/kindlepreneur.com\/wp-content\/uploads\/2021\/01\/kindlepreneur_logo_white-copy.png","width":330,"height":61,"caption":"Kindlepreneur"},"image":{"@id":"https:\/\/kindlepreneur.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/kindlepreneur","https:\/\/x.com\/DaveChesson"]}]}},"_links":{"self":[{"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/pages\/720"}],"collection":[{"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/comments?post=720"}],"version-history":[{"count":171,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/pages\/720\/revisions"}],"predecessor-version":[{"id":38445,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/pages\/720\/revisions\/38445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/media\/35718"}],"wp:attachment":[{"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindlepreneur.com\/wp-json\/wp\/v2\/categories?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}