Of course vs Yes i did

When to use each in English, with meaning, register, and examples.

Of course

Top 1,000 (very common)

Yes i did

Top 1,000 (very common)
 Of courseYes i did
Pronunciation🇬🇧 //əv kɔːs//🇺🇸 //əv kɔrs//🇬🇧 //jɛs aɪ dɪd//🇺🇸 //jɛs aɪ dɪd//
MeaningDefinitely, it's obvious.A response confirming that you did something.
ExampleAre you joining us for dinner tonight? Of course!Did you finish the report?
RegisterNeutralNeutral
How commonTop 1,000 (very common)Top 1,000 (very common)
Collocationsof course not, of course yes, of course you can, of course it isyes I did not, yes I did too, yes I did say
Common mistakesUsing it in formal writing where a different expression is needed., Confusing it with other affirmations like 'certainly' or 'definitely'.Using it as a question instead of a statement., Responding with 'yes I do' instead of 'yes I did' for past actions., Omitting the 'I' or 'did' for clarity.
Usage notesUsed in informal and formal situations to affirm something obvious. Avoid in highly formal writing.Used to confirm actions or answers. Informal context; avoid in very formal situations.

See it in real clips

Of course
Yes i did

Frequently asked questions: Of course vs Yes i did

What's the difference between Of course and Yes i did?

Of course: Definitely, it's obvious. Yes i did: A response confirming that you did something.

Can you show an example of each?

Of course: Are you joining us for dinner tonight? Of course! Yes i did: Did you finish the report?

Can I use Of course and Yes i did interchangeably?

Not always. Of course and Yes i did are related and overlap in some contexts, but they differ in register, how common they are, and usage, so swapping one for another can change the meaning or tone. Check the differences above before substituting.

Related comparisons