Capital City to Country
Look up the country for any capital city.
Result
How it is calculated
The tool searches a built-in table of countries for a capital city whose English name matches what you typed, ignoring capital or small letters and spaces at the beginning or end. When it finds a match it returns the country name, its international dialling code with the plus sign, and its currency code (for example CAD).
The match must be exact: "Washington" will not find "Washington, D.C." unless it is listed that way, and local spellings (Roma, Wien, Bruxelles) may fail even if the English name works. If no capital matches, or the country has no capital or currency listed, nothing or a dash is shown. Countries with several capitals, or capitals that changed recently, may be listed with only one of them.
Worked example
Enter the capital Ottawa. The tool lowercases the text to "ottawa" and compares it with each capital in the table. The match is the entry for Canada. The tool shows country Canada, dialling code +1 and currency CAD.
Common mistakes
- Typing the best-known city instead of the capital: Istanbul, Sydney or New York will not return Turkey, Australia or the United States.
- Using a local-language spelling of the capital rather than the English name.
- Adding extra words such as "City of" or a country name, which stops the exact match.
- Thinking the dialling code is a full phone number prefix: some countries, such as the US and Canada, share +1, so the code alone does not identify a country.
About this calculator
This is a quick reference lookup: type in a capital city and get back the country it belongs to, along with practical details like the country's international dialing code and official currency. It covers the world's national capitals, including commonly confused or lesser-known ones (administrative vs. constitutional capitals, capitals that have changed in recent decades, and small or disputed-territory capitals).
Students studying world geography, trivia and quiz-night enthusiasts, travelers double-checking a destination's currency or phone code before a trip, and app or game developers building geography-based content all use lookups like this instead of digging through an atlas or encyclopedia entry by entry.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Capital names with punctuation are the usual snag. The United States entry is stored as Washington, D.C., with the comma and the dots, so a plain Washington will return nothing. The dialling code shown is the country prefix only, and several countries share +1, so use it together with the country name. If a capital you know returns nothing, post the spelling you typed and tell us which country you expected.