Question: is to whom am i speaking correct?
Answer: In formal English, “to whom am I speaking” would be correct. “Whom” is the objective form of “who,” and “whom” is the object of the preposition “to” in the sentence “to whom am I speaking?”.