An example is a single case brought up to illustrate or clarify something: "for example, penguins can't fly". A sample is a small quantity taken out of a larger batch so you can judge or test the whole: "they sent a fabric sample", "a sample of 1,200 households". Examples explain; samples represent.
The core difference
An example is chosen for what it demonstrates. It might be typical, or deliberately extreme, or invented on the spot — what matters is that it makes a point clear. "Take Iceland, for example."
A sample is physically or statistically drawn from a larger group and stands in for that group. Its value depends on it being genuinely representative. "We tested a sample from each batch."
How to use each
- Example: "Can you give me an example of what you mean?" "He set a good example for the younger players." "This building is a fine example of Victorian engineering."
- Sample: "The shop gives out free samples on Saturdays." "The sample size was too small to draw conclusions." "She left a soil sample at the lab."
The test that settles it
Ask where the thing came from. If it was taken out of a larger quantity in order to represent it, it is a sample. If it was picked to illustrate an idea, it is an example.
A second check: only example works after "for". You can write "for example" but never "for sample". And only sample works comfortably as a verb — you sample a wine or a sound; you cannot example anything.
The memory trick
Sample shares its opening with scoop and subset — something scooped out of a bigger pile. Example starts like explain, which is exactly what it does.
Where they overlap
The two can genuinely both fit in commercial contexts, with a shift in meaning. A "sample chapter" is an extract from the actual book you might buy. An "example chapter" would be a different chapter shown to demonstrate the format. Software documentation follows the same logic: example code illustrates how the tool works, while a sample dataset is a slice of real data to practise on.
The common mistake
Non-native writers often use sample where English wants example, because several languages use one word for both. "Give me a sample of a good sentence" reads oddly — nothing has been drawn from a batch. The safe default is: if you are explaining something, say example.
The reverse slip appears in research writing, where "our examples included 400 participants" should be "our sample". In statistics the word is technical and fixed: sample, sample size, sampling error, random sample. Never substitute example there.
Frequently Asked Questions
Is it "for example" or "for sample"?
Always "for example". The phrase introduces an illustration, and "for sample" is not an English expression. The abbreviation e.g. means the same thing.
Should I say "sample chapter" or "example chapter"?
Sample chapter, if it is a real chapter from the finished book. Use example only if you are showing a chapter to demonstrate structure or style rather than offering a taste of the actual product.
Can I use example in a research paper for my participants?
No — use sample. In research, sample is a technical term for the subset of a population you studied, and readers expect it in phrases like sample size and random sample.