By vs. With: What's the Difference?
Quick Answer
- By = the agent (who did it), method, or means of transport: "written by Shakespeare," "travel by train"
- With = the tool/instrument, or accompanying someone/something: "cut with a knife," "came with my friend"
Explanation
BY
1. Passive voice, agent (who/what did the action):
"The book was written by Hemingway."
2. Means of transport (no article):
"I travel by car / bus / train / plane."
3. Method of communication:
"Send it by email / post."
4. Deadline:
"Please finish it by Friday."
WITH
1. Tool or instrument (what was used):
"She cut the bread with a knife."
2. Accompaniment (together with):
"He came with his family."
3. Having / possessing a characteristic:
"A room with a view." / "A man with blue eyes."
4. Emotions/reactions:
"She trembled with fear." / "He smiled with joy."
Key Distinction: Agent vs. Tool
In passive sentences, use by for the person or force that did the action, and with for the instrument or tool used:
"The door was locked by the security guard with a key."
"He was attacked by a stranger with a stick."
Examples
Common Mistake
Incorrect: The homework was done with the student.
Correct: The homework was done by the student.
In passive sentences, the person performing the action takes by, not with.
Practice
Choose the correct word:
"The report was submitted _____ email _____ the manager." (by / with)