Much of the irony in Dostoevsky’s novel relates to Zossimov and Porfiry Petrovich’s investigation of Raskolnikov in the murder of the pawnbroker. There are several instances of situational and dramatic irony during which Raskolnikov contradicts his own theories or escapes his fate due to, what the police believe to be, the obvious crassness of the murder.
"as he had just before been standing with the old woman..."See in text(Part I - Chapter VII)
Dostoevsky portrays Raskolnikov in an incredibly ironic situation with these two men on either side of the pawnbroker's door. Raskolnikov is, just like Alyona Ivanovna was, hiding and pretending not to be home. This irony compounds on the scene to create an elevated sense of risk and suspense.
"a regular profession..."See in text(Part II - Chapter II)
A "regular profession" would refer to typical and honest work. However, this line is spoken ironically; the man describes Raskolnikov as a professional pickpocket who pretends to be drunk in order to steal, which is not a typical nor an honest profession.
"Are you afraid of having let out some secret?..."See in text(Part II - Chapter III)
This question directly addresses Raskolnikov's fears: that in his delirium, he partially confessed to the murder. This statement is an example of dramatic irony because Razumihin doesn't grasp the meaning of this question, but Raskolnikov and the audience do.
"Why, because everything fits too well..."See in text(Part II - Chapter IV)
Zossimov's words are an example of dramatic irony. He states that Razumihin's theory can't be the truth because it's too melodramatic, or sensationalized. However, the two of them don't know that what Razumihin is saying is the actual truth.
"I dare say when it came to deeds you'd make a slip...."See in text(Part II - Chapter VI)
Zametov's statement here is an example of dramatic irony. Readers know that Raskolnikov completely messed up the murder of the pawnbroker; however, Zametov is unaware of Raskolnikov's murder and the truth of this statement. Notice how Raskolnikov takes this quite personally.
"If he has a conscience he will suffer for his mistake..."See in text(Part III - Chapter V)
Porfiry wants to know what happens to the conscience of people who mistakenly believe themselves extraordinary. Raskolnikov's response is ironic, because he is suffering from the same struggles that he says these people would suffer from: If they have a conscience, they will suffer from the guilt of their crime.
Raskolnikov momentarily comments on the "stupid" repetition of this word. English readers might thing that this word choice is ironic considering that "capital" has meanings associated with capital punishment and capital crimes, such as murder. However, Dostoevsky uses славный in the original Russian, which translates to "glorious" or "nice." The irony then, is more that they are talking about "glorious" things that really are not.
"The ball is over...."See in text(Part V - Chapter V)
Katerina Ivanovna uses an interesting and ironic metaphor for her life. A ball refers to a very fancy party, often associated with aristocrats and high-class persons. Her life after her youth was far from this, and given what we know about her weakened psyche, it's unclear whether she is being ironic or somewhat sincere.