I really don't get this advise about not giving out a number. Seems like you yourself don't know your worth. Most of the times, save for FAANG companies, no other company is willing to pay me what I am asking for. So to go through the whole laborious and lengthy interview process only to find out during negotiation stage that they are not going to even match my current compensation is a lot of wasted time. If I talk to a recruiter, I tell them what I want even before interviewing. Most of the times, recruiters from non FAANG companies tell me that they won't be able to pay that much even if I performed stellar in the interview. I don't give out a number to FAANG recruiter before the interview but I do give out during the negotiation stage and so far my comp has been at at least as good as my peers'. My understanding is that most companies have a salary range and they want all the employees on the same level to be within that range. They won't break those rules regardless of how good you are. You are only one among many good candidates. So you should aim to be at the high end of that range during negotiation. That's how I decide the number to give out.