This video has a terrific practical discussion about how different consultants set their fees.
And it’s not always about the hours spent or the money you need. They look at value to the client, the relationship with the client, the quality of the work, your differentiation and other factors.
But ultimately it’s negotiation with the client as you discuss the project. Otherwise you turn yourself into a commodity with a fixed price.