Business, Price Negotiating Question

When a project comes your way that requires you to invest in new software, sample libraries or gear, do you factor that into your price in some form? What are some common practices with this? Are there any recommendations on how to broach the topic with the client?

I am asking because I am working on a contract for a new project, I gave the client an estimated price, but upon further research I know I am going to need to invest in some new stuff to make this project the best it can be.