Something is ironic when the outcome or meaning is the reverse of what you would expect, whether or not anyone intended it that way. Sarcastic describes a person deliberately using words that mean the opposite of what they say, usually to mock. A burst pipe at the water company is ironic; a colleague saying "brilliant plan" about a plan that just failed is being sarcastic.
The core difference
Ironic can describe an unintended situation, while sarcastic always describes a deliberate, often mocking, choice of words.
- ironic — involving irony, where the result or meaning is the opposite of what was expected: It was ironic that the fire station itself burned down.
- sarcastic — marked by sarcasm, saying the opposite of what you mean to mock or criticise: He gave a sarcastic round of applause when she finally arrived an hour late.
How to tell them apart
A quick test: ask whether a person chose those words on purpose to needle someone. If nobody planned it, and it is just an odd, contrary-to-expectation twist of events, reach for ironic. If someone is speaking with a mocking, opposite-of-true tone aimed at another person, that is sarcastic.
The mix-up usually happens because both words involve saying or meaning the opposite of what is expected. But irony can exist without any speaker at all — a situation can simply be ironic — whereas sarcasm is always something a person does with their tone and choice of words.