If you're a tech worker in a major city and your take-home pay is $5000 and your rent is $1600, the fact you're spending $X/3 on rent is a choice. You are probably living in an area of your choice, have some amenities of your choice, you have a place to yourself or at least a private bathroom, etc. The working class isn't afforded that luxury. The fact someone you know lives in a $4000/mo high rise you cannot afford does not make you working class. If you could quit your job and survive for a year without going on welfare, you likely aren't working class. If your car broke tomorrow and you could get a replacement without significant financial hardship, you likely aren't working class.
I don't know if that's actually your salary or rent, but such numbers are typical for tech workers in places like SF and NYC (and of course many make significantly more than this). If your rent is significantly higher than the median mortgage ($1200) you probably aren't working class.
>Pew Research defines the upper class as adults whose annual household income is more than double the national median.
>Household income, as defined by the U.S. Census Bureau, refers to the combined gross cash income of all members of a household, defined as a group of people living together, who are 15 years or older.
That is ~135k (pretax) in the USA, and perhaps 40% higher for a state like CA. This is actually a rather conservative definition: take the median family income (which can include two working adults and also working children), double that number, and include anyone making _more_ than that.