Indonesia is the largest archipelago country in the world, made up of more than 17,000 islands stretching about 3,200 miles (5,100 km) from west to east.
What most people get wrong is treating "largest" as a count of islands. Indonesia has the most islands of any single country, but the number of Indonesian islands is not fixed, and different counts run from roughly 13,000 to over 17,000 depending on whether tidal flats, sandbars and unnamed rocks are included. Canada has more total coastline than Indonesia, but its coastline wraps one contiguous mainland, so it is not an archipelago country at all.
Rule of thumb: the largest archipelago country is the one with the most islands, not the largest land area or the longest coastline. Indonesia wins on islands.
How Big Indonesia Really Is
Indonesia's land area is about 735,000 square miles (1.9 million square km), spread across the equator. That makes it the 14th-largest country by land area, well behind countries like China, the United States and Brazil. Its distinction is distribution, not bulk.
Islands you can name
Five large islands carry most of the population and land. Sumatra, Java, Borneo (shared partly with Malaysia and Brunei), Sulawesi and New Guinea (shared with Papua New Guinea) account for the vast majority of Indonesian territory. Java alone holds a little more than half of the country's people on roughly 7 percent of its land. The remaining thousands of islands range from sizeable ones like Bali, Lombok, Flores and Halmahera down to coral cays and uninhabited specks.
Why the numbers disagree
An island has to be surrounded by water at high tide and not be a bridge of land connected to a larger mass. Coastlines shift, reefs grow, and small islands appear or vanish with storms and subsidence. Indonesia has also created and lost land through volcanic activity and river sediment. Any published island count is a snapshot, and a single number in the 17,000s is the conventional figure rather than a measured total.
Other Archipelago Countries Ranked
Indonesia is clear first. The next places on the list are debated because the same counting problem applies to every country.
The Philippines is usually named second, with more than 7,000 islands. Japan is often cited at around 6,800 islands, though Japan's official count has increased in recent years as mapping improved. The Bahamas has around 700 islands and more than 2,000 cays. Maldives, Fiji, Vanuatu, the Solomon Islands and Palau are small in land area but are archipelagic states by any definition.
The order after Indonesia depends on the counting rule, so do not treat a top-five list as settled. If someone tells you Japan has fewer islands than the Philippines, the answer may change with the mapping source.
Indonesia versus the Maldives
The Maldives is the most widely scattered archipelago in terms of land versus water: roughly 1,200 islands spread over about 35,000 square miles (90,000 square km) of ocean, with a land area of only about 115 square miles (300 square km). That is a different claim from "largest archipelago country." Maldives measures up on dispersion; Indonesia measures up on island count and land mass.
Indonesia versus Canada
Canada is often brought up because it has the longest coastline in the world and contains Arctic islands including Baffin Island. But Canada's mainland and islands are a single federal country with one dominant continental mass. It is an archipelago in part, not an archipelago country. The same applies to the United States, which includes the Hawaiian Islands and the Aleutians within a much larger continental landmass.
Archipelagic State Meaning
"Archipelago" is also a legal category in the law of the sea. An archipelagic state is a country made up entirely of islands, or of islands and parts of islands, with no mainland component. Indonesia, the Philippines, the Bahamas, Fiji and Maldives fit.
This matters for how a country draws its boundaries. An archipelagic state can draw straight lines between the outermost points of its outermost islands and treat the water inside those lines as internal waters. It also gets sea lanes through those waters that other ships can use. That changes a maritime map substantially compared with a country measured from a fixed coastline.
Which countries count as archipelagic
Indonesia is one. Countries that hold islands but also have large continental territory, such as Canada, Australia or Brazil, are not archipelagic states in the legal sense. Japan is made of islands but does not fit every definition of an archipelagic state, so you will see it described both ways depending on the source and the legal test used.
What the Answer Is Used For
This question often comes up in quizzes, school geography and travel planning, so the practical next step depends on what you are doing with the answer.
For a quiz or homework answer
Write Indonesia and give the range rather than a single figure: more than 17,000 islands, about 6,000 of them inhabited, spread across roughly 3,200 miles (5,100 km). Adding the count of inhabited islands makes the answer more useful, because it answers the obvious next question: how many are actually lived on.
For travel planning
No one visits an archipelago; you pick islands. The major entry points are Java, Bali, Sumatra and Sulawesi, and domestic air and ferry routes connect the main islands. Distances are large: a flight from the far west of Sumatra to the far east of Papua covers a span comparable to crossing the continental United States. Plan trips around one region rather than trying to cover the country in two weeks.
For checking a claim you read
When you see a figure for Indonesian islands, look at the source's definition. A government mapping agency, an encyclopedia and a travel site will each draw the line in a different place. A count that includes unnamed tidal rocks will be higher than one that only counts named land. Neither is wrong, provided it says which rule it used.
If a source gives a precise number like 17,504, treat it as one agency's register of named islands, not as a fact that will hold every year. The safest sentence to write is that Indonesia has more than 17,000 islands, and that a fraction of them are inhabited.