🚩 World Flags & Capital Cities Quiz
A country flag quiz drawn from the 193 UN member states: half flags, half capitals, ten fresh questions a round with real flag images, not emoji.
What World Flags & Capital Cities Quiz Does
This quiz draws ten questions from the 193 United Nations member states, fresh each round. Half show a flag and ask which country it belongs to; half name the country and ask for its capital.
Flags are served as images from this site rather than as emoji, which matters more than it sounds. A flag emoji is not a picture — it is a pair of regional-indicator letters that the operating system is expected to substitute a flag glyph for. Windows ships no such glyphs, so Chrome and Edge on Windows display the two letters instead. Any flag quiz built on emoji shows "FR" rather than a French flag to a large share of desktop visitors.
Scoring is four options per question, so random guessing averages 2.5 out of 10. Anything meaningfully above that is recognition rather than luck.
How to Use World Flags & Capital Cities Quiz
- Read the prompt — either a flag to identify, or a country whose capital you need
- Select one of the 4 answer options
- Review instant green/red answer feedback and progress to the final score screen
Formula Used by World Flags & Capital Cities Quiz
What a guess is worth
expected score = questions × (1 ÷ options)
- questions
- 10 per round
- options
- 4 per question, one correct
Worked example
A player answering entirely at random.
- Per question: 1 ÷ 4 = 0.25
- Over ten questions: 10 × 0.25 = 2.5
Result: An average of 2.5 out of 10, or 25%. Scoring 6 or more is genuine recognition; scoring 2 or 3 is indistinguishable from guessing.
Why the shuffle algorithm matters
sort((a, b) => Math.random() − 0.5) does not produce a uniform permutation
- uniform
- Every ordering equally likely — what a shuffle is supposed to guarantee
- Fisher-Yates
- The algorithm that actually provides it
Worked example
The comparator shuffle this tool previously used, measured over 400,000 runs on four options with the correct answer inserted first.
- Correct answer landed in position 1: 35.9% of rounds
- Position 2: 17.3%
- Position 3: 15.7%
- Position 4: 31.1%
Result: Always picking the first option scored about 36% rather than the 25% a fair quiz gives. The comparator is inconsistent, so the sort algorithm produces a skewed result rather than a random one. Replaced with Fisher-Yates, which measures at 25.0% in every position.
The 193 Member States by Region
The pool this quiz draws from. Counts are from the bundled dataset and sum to the UN membership total.
| Region | Member states |
|---|---|
| Africa | 54 |
| Asia | 46 |
| Europe | 44 |
| Americas | 35 |
| Oceania | 14 |
| Total | 193 |
Flags That Are Genuinely Hard to Tell Apart
Each pairing below is documented in the relevant national flag article, not assembled from general impression.
| Pair | What actually differs |
|---|---|
| Chad and Romania | Both vertical blue-yellow-red tricolors at 2:3. The blue differs in shade. Chad asked the United Nations to examine the matter in 2004 |
| Indonesia and Monaco | Both red over white. Monaco is 4:5, Indonesia 2:3, and the shades of red differ |
| Netherlands and Luxembourg | The same design. Luxembourg's flag is longer, and both its blue and its red are lighter shades than the Dutch |
| Ireland and Côte d'Ivoire | The same tricolor reversed — green at the hoist on Ireland, at the fly on Côte d'Ivoire. Ireland is also the more oblong, at 1:2 against 2:3 |
| Australia and New Zealand | Both blue ensigns with the Southern Cross. New Zealand shows four stars with red centers; Australia shows five all-white stars plus a larger Commonwealth Star below the canton |
Flags With Something Genuinely Unusual
Verified individually against each flag's primary article.
| Country | What makes it unusual |
|---|---|
| Nepal | The only non-rectangular national flag, and the only one taller than it is wide — two stacked pennants, a double-pennon |
| Switzerland | Square rather than rectangular. The cross-to-field ratio was fixed at 5:8 in 2017 |
| Paraguay | The only national flag with a different design on each side: the national seal on the obverse, the treasury seal on the reverse |
How to Read Your Result
Why flag emoji so often fail
A flag emoji is encoded as two regional-indicator symbols — the French flag is U+1F1EB U+1F1F7, literally the letters F and R in a special range. Rendering a flag requires the font to contain a glyph for that pair. Apple and Google ship them; Microsoft does not, so on Windows the browser falls back to drawing the two letters. This is a deliberate choice rather than an oversight, and it means any product that relies on flag emoji for meaning breaks on a large share of desktops. The fix is to serve images, which is what this quiz now does — and it is worth knowing if you are building anything that shows flags.
Flags are confusable for reasons, not at random
The pairs in the table above are not coincidences. The Pan-African colors of red, gold and green recur across the continent by deliberate reference to Ethiopia; the Pan-Arab red, black, white and green recur through the Arab Revolt flag; the Nordic cross appears across Scandinavia by imitation of Denmark; and the red-white-blue horizontal triple spread from the Dutch flag across Europe and beyond. Learning the families is far more efficient than memorizing 193 individual images, because once you can place a flag in a family you have narrowed it to a handful of candidates.
Capitals are not always the city you expect
The capital half of this quiz catches people out more often than the flag half, because the largest or best-known city is frequently not the capital. Canberra rather than Sydney, Ottawa rather than Toronto, Brasília rather than São Paulo, Abuja rather than Lagos, Ankara rather than Istanbul, Wellington rather than Auckland, Bern rather than Zurich. Several of these were purpose-built or deliberately chosen to avoid favoring an existing rival city, which is exactly why the intuitive answer is wrong.
Why 193 and not some other number
The pool is the UN membership, which is a defensible line but not the only one. Vatican City and the State of Palestine are permanent observers rather than members, so they are excluded here. Taiwan, Kosovo and several other entities are recognized by some states and not others. Dependencies, constituent countries and overseas territories have flags but are not sovereign. Any quiz has to draw the boundary somewhere, and drawing it at UN membership is the least arguable option available — it is a fact about a register, not a judgement about legitimacy.
Limitations & Accuracy Notes
- UN member states only — 193. Observer states, partially recognized states, dependencies and territories are excluded, so their flags never appear.
- One capital per country. South Africa has three — Pretoria, Bloemfontein and Cape Town — and only the first is accepted here.
- Ten questions per round, drawn at random, so difficulty varies considerably between rounds.
- Country and capital names appear in English in one standard form. Alternative spellings and endonyms are not accepted.
- No difficulty setting, no region filter, no timer and no saved score history.
- Distractor options are sampled at random rather than chosen to be plausible, so some questions are much easier than others.
- Flag images are a bundled snapshot. A country that changes its flag will show the old one until the assets are refreshed.
Frequently Asked Questions
How does the flags and capitals quiz work?
Can I retake the quiz to improve my score?
Why are the flags images rather than emoji?
Which countries can appear?
How do I get better at recognizing flags?
Which flags are genuinely hardest to tell apart?
Which flags are unusual in some way?
Why does the capital half catch people out?
Is my score saved?
References & Further Reading
- United Nations — Member States — The authority for the 193-state pool this quiz draws from
- Flagpedia / flagcdn — Source of the flag images bundled with this page, built from Wikimedia Commons vector files and served here from this origin rather than hotlinked
- Flag of Nepal — Source for the claim that it is the only non-rectangular national flag and the only one taller than it is wide
- Flag of Paraguay — Source for the obverse and reverse carrying different seals
- Flag of Romania — Source for the 2:3 proportion and for Chad's 2004 approach to the United Nations about the similarity
- Flag of Monaco — Source for the 4:5 proportion against Indonesia's 2:3
- Flag of Luxembourg — Source for the flag being longer than the Dutch, with lighter shades of blue and red
- Flag of Ivory Coast — Source for it being the Irish tricolor reversed, with less oblong proportions
- Flag of New Zealand — Source for the four red-centered stars against Australia's five white stars and Commonwealth Star