I estimate (never quote) on the basis of 1 hour labour per "point" where a point is a socket, light switch, light fitting etc. I have not gone over an hour per point yet and usually it's under. Just to give an example I am wiring a house at the moment that has about 165 points, and it has taken 50 hours to first fix it so far.
So if you work on an hour per point at whatever the hourly rate for labour is where you are, you won't be far wrong on the labour element of the job. Materials can vary a lot more depending on what you want (i.e you can spend anything between £1 and £10 on a humble 13A socket)
As I said I avoid quotes. If I was forced to quote, I would have to price it higher to allow for unforeseen difficulties, and then every time the customer changed their mind, added another socket or light fitting I would have to formally vary the quote. Instead I am open and honest about my hourly rate and give an estimate of the length of the job. If the customer wants to change things (they always do) then it's just an informal chat how much it is likely to cost.
Some people refuse estimates and an hourly rate, they think the tradesman will sit on his but while charging you the hourly rate. That comes down to trust and the reputation of the tradesman whether you think he will earn his hours paid, or skive just to drag the job out.