# Mode S address lookup > Which country is an aircraft's transponder address from? Type an aircraft's 24-bit Mode S or ADS-B address in hex, octal or binary to see the country block it belongs to. Find which country's block an ICAO 24-bit aircraft address (Mode S, ADS-B hex code) is in, per ICAO Annex 10, and convert it between hex, octal and binary. - Page: https://how.box/mode-s/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/mode-s/?a={a}&b={b} - `a` (text): The 24-bit aircraft address, in the notation of b. Example: `4CA8E5`. - `b` (hex, octal or binary): Notation of a: hex, octal or binary. Example: `hex`. Example answer: https://how.box/mode-s/?a=4CA8E5&b=hex A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `mode_s_lookup`: Which allocation block an ICAO 24-bit aircraft address (Mode S / ADS-B "hex code") falls in, per ICAO Annex 10 Vol. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mode_s_lookup","arguments":{"address":"4CA8E5","base":"hex"}}}` - GET: https://how.box/mcp/run/mode_s_lookup?address=4CA8E5&base=hex ## How it works Every aircraft with a Mode S transponder or ADS-B sends one 24-bit address, its "hex code". ICAO hands out these addresses in blocks to the States that register aircraft, and each State gives one address from its block to each aircraft on its register. So the address shows which country's block it comes from. A block is fixed by the address's first 4, 6, 9, 12 or 14 bits; the remaining bits are free, giving blocks of 1,048,576 down to 1,024 addresses. Example: 461F2B in binary is 0100 0110 0001 1111 0010 1011. It starts with 010001100, Finland's block, so every address from 460000 to 467FFF (32,768 addresses) is Finnish. Octal and binary are the same number written another way: 461F2B is 21417453 in octal. The block names the State of registry, never the aircraft, its owner or who flies it: only the State's own register links an address to one aircraft. When an aircraft moves to another country's register it gets a new address. The table here is ICAO Annex 10, Volume III, Table 9-1; ICAO may have allocated more blocks since, and unallocated blocks are kept as spares for each ICAO region. ## FAQ **Can I find out who owns the aircraft from its address?** Not here. The address only tells which State's block it is in. Some registers, such as the FAA's, publish the address of each aircraft, but this tool doesn't look anyone up and sends nothing anywhere. **Why does a flight tracker show a different country than the airline's home?** The address follows the aircraft's register, not the airline. A leased aircraft can be registered, and addressed, in another country than the one its operator comes from. **What is the difference between the address and a squawk code?** A squawk is a four-digit Mode A code that air traffic control assigns for a flight and can change. The 24-bit address is fixed to the aircraft and changes only when it moves to another register. **Why do some addresses start with A?** The United States has the largest block, every address from A00000 to AFFFFF. Russia has 100000 to 1FFFFF, and China, Canada, Australia and several large European States have blocks of 262,144 addresses. **How do I read an aircraft's registration mark, like OH-ABC?** The letters before the hyphen are the nationality mark: OH is Finland, D Germany and N the United States. The aircraft prefixes table in the country codes tool lists them all. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)