I don't know the costs because I'm not a publisher but.. I think my book has an RRP of $40. Most places sell it for less than that. Amazon, for example, sell it for $26.
According to my royalty documents, my publisher gets about $18 per copy and I get between 10% and 20% of that depending on how many copies I sell. The 20% rate only kicks in after about 25,000 copies or so and few programming books do that well (my first edition sold just under 10,000), so effectively I get around $1.80-$2.50 a copy.
According to my royalty documents, my publisher gets about $18 per copy and I get between 10% and 20% of that depending on how many copies I sell. The 20% rate only kicks in after about 25,000 copies or so and few programming books do that well (my first edition sold just under 10,000), so effectively I get around $1.80-$2.50 a copy.