Probably the best advice I've gotten on here is from reading 'patio11 and 'tptacek posts on how to bill for consulting work. I don't have a particular comment as they've written it many times over, but it's really changed the game for me.
There are lots with good advice (worth searching site:news.ycombinator.com tptacek/patio11 billing/consulting/etc), but the main thing is to stop billing hourly, here's one: https://news.ycombinator.com/item?id=1880096