Most small firms price from the last job, or from a day rate they heard once. Neither includes overheads, or the hours that never get billed.
Overheads, what you want to earn, billable days and hours per billable day.
Cost per chargeable hour, break-even, and a target rate that includes your margin.
Hours, materials, subcontractors and contingency, turned into a price to quote.
The margin the quote actually achieves — below target means the job is buying work.
Not a market rate. It is the rate your business needs. If the market will not pay it, that is worth knowing before you quote.