30% off your first 3 months

Get the deal

Comma rules

Use a comma before and, but, or, so, yet, for or nor when it joins two complete sentences; after an opening word, phrase or clause; between items in a list; and around extra information the sentence could lose.

Guide 1 of 15
Three lines of chalk: After the game ended, then the team went for pizza, then but the bus was late. A blue comma is circled after ended and after pizza. Braces mark the first part as the opener and the other two as full sentences.
Commas mark where the parts end. After the opener, and before but.

Why it works. A comma tells the reader where one part of a sentence ends and the next begins. Put one in the wrong place and the reader groups the words wrongly, which is why the rules follow the sentence's parts, not the places you would pause.


Your turn

One comma is missing: When the bell rang the students rushed out. Type the word the comma goes after.

Or just show the answer

rang: When the bell rang, the students rushed out.

When the bell rang is an opener that cannot stand alone, so the comma goes where it ends, after rang. A comma after students would split the subject from its verb.


Watch out for

  • Mistake 1. Struck through: It rained, we left.; written over it: It rained, so we left..

    Joining two sentences with only a comma: I was cold, I went inside.

    Add a joining word after the comma, or use a period: I was cold, so I went inside.

  • Mistake 2. Struck through: The girl in red, waved.; written over it: The girl in red waved..

    A comma between a subject and its verb: The girl in the red coat, waved.

    However long the subject is, no comma before its verb: The girl in the red coat waved.

  • Mistake 3. Struck through: I ran but, I missed it.; written over it: I ran, but I missed it..

    Putting the comma after but instead of before it: I ran but, I missed the bus.

    The comma goes before the joining word: I ran, but I missed the bus.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Can you check the commas in the paragraph I have open?”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

Use a comma before and, but, or, so, yet, for or nor when it joins two complete sentences; after an opening word, phrase or clause; between items in a list; and around extra information the sentence could lose. Never join two sentences with a comma alone, and never put one between a subject and its verb.

Worked example

Add the missing commas: After the game ended the team went for pizza but the bus was late.

  1. Split it into parts: After the game ended / the team went for pizza / but the bus was late.
  2. After the game ended cannot stand alone. It sets the scene, so a comma goes where it ends.
  3. The team went for pizza and the bus was late are full sentences joined by but, so a comma goes before but.
  4. Check the subject and verb, team went: nothing comes between them, so no comma there.

Answer: After the game ended, the team went for pizza, but the bus was late.

Sources

Grammar: all 15 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.