How much publishers pay to a book author?

How much publishers pay to a book author?
I'm writing a technical computer book and I like to know how much loyalty fees does the publisher possibly pay me as a book author?

I need an average estimate to just have an idea about book writing.
2 answers 2