How strongholds generate
Strongholds do not use the region grid that most structures use. Instead, every Java world has 128 strongholds arranged in eight rings centered on 0,0. The first ring holds 3 strongholds at roughly 1280 to 2816 blocks from the world center, spread out at similar angles. Each ring further out holds more strongholds and sits farther from the center.
The seed sets the starting angle and the exact distance of each stronghold, and the game nudges each one toward a suitable biome nearby. The stronghold finder repeats that calculation, so the markers show where each stronghold starts.
That biome nudge is the main reason a stronghold can sit slightly away from where you might expect it. The game picks a point on the ring first, then searches within about 112 blocks for a biome that strongholds are allowed in and moves the stronghold there. Only after that does it build the structure underground. Strongholds are not stopped by caves or oceans, so the rooms can cut through aquifers, ravines and other caves, and you may find a corridor flooded or opening into a cave.
The finder repeats the ring layout and the biome nudge, but it calculates biomes without the full terrain, so the result can very rarely land in a slightly different spot than in game. If you dig down at a marker and find nothing, throw an eye of ender from a few hundred blocks away to confirm the direction, then throw a second one from a different spot. Where the two lines cross is your stronghold. Since all three first-ring strongholds are between roughly 1280 and 2816 blocks from 0,0, the closest one to your spawn is usually the best target early in a world.
End portal finder: getting to the portal room
Strongholds are underground mazes of stone brick corridors, libraries, prison cells and fountains. The End portal room has a silverfish spawner and a portal of 12 frames. Each frame can already contain an eye of ender when generated, so you may need fewer than 12 eyes; rarely, a portal comes fully filled.
The marker shows the stronghold's start position, which is usually close to the portal room but not always on top of it. Dig down near the coordinates until you hit stone bricks, then follow the corridors. Throwing one or two eyes of ender once you are close can confirm the direction.
Stronghold Y level and loot
Strongholds generate underground, and since the 1.18 terrain update they can sit at a wide range of depths, sometimes cutting through caves. Library chests can hold enchanted books, and corridor and storeroom chests can hold iron, food, ender pearls and occasionally diamonds or enchanted gear. Bring torches, a pickaxe and armor for the silverfish.
Nether stronghold finder trick
A common speedrun and survival trick is to travel in the Nether: divide the stronghold's X and Z by 8, walk to that spot in the Nether, build a portal and step through. You will come out close to the stronghold having walked an eighth of the distance. The coordinate converter does the math, and the Nether map helps you plan a safe route.
Java vs Bedrock and version notes
Stronghold coordinates here are calculated for Java Edition. Bedrock places strongholds with a different method, so positions on Bedrock may not match. Strongholds in chunks generated before 1.18 keep their old position and layout. After you reach the End, use the End map to find End cities and elytra.
Why the stronghold rings matter
The ring layout means the nearest stronghold is never right at spawn, but it is also never extremely far. The first ring starts about 1280 blocks out, so even the closest one is a real journey on foot. This is where the Nether shortcut helps most: 1280 to 2816 blocks become roughly 160 to 352 blocks in the Nether. On a multiplayer server, the outer rings give groups more strongholds to choose from, and each one has libraries and storerooms worth looting. The nearest results table lists strongholds by distance, so you can pick the one closest to your base rather than to spawn.