Interesting blog post here
http://alg.livejournal.com/84032.html?page=2#comments
explaining how publishers work out the profit-and-loss on a book. It's the US version but the principle's the same. You don't have to follow the maths exactly to get the idea.
Emma