I subtract my salary from my wealth to calculate zakah. Is it right?

You salary is already your subsistence. You need to give one fortieth of 20,000 as Zakat.