Should I use who or whom? This is the perennial question. Is it “Who is calling?”, or “Whom is calling?”; “To whom?”, or “To who?”
Here’s the differentiator: subject vs object. If the word is acting as the subject, you should use “Who”.
Who is calling? rather than Whom is calling?
“Whom” is the object form.
To whom it may concern