How to locate a stronghold using the Eye of Ender and coordinate math
A stronghold in Minecraft is an underground fortress that spawns in every world and contains the End portal — the gateway to the game's final dimension. You cannot find it by walking around randomly. Instead, you throw an Eye of Ender (crafted from blaze powder and an ender pearl), watch where it flies, record the coordinates at two different locations, and use basic math to calculate where the stronghold lies between those two points.
The Eye of Ender always travels toward the nearest stronghold, so it gives you a direction. By marking your position and the Eye's landing spot, you create two points on a line. The stronghold sits somewhere along that line. Throw the Eye again from a different location, and you get a second line. Where the two lines cross is where you dig.
Key Takeaways
- You need an Eye of Ender (made from blaze powder and ender pearl), which you can craft once you have killed a blaze in the Nether.
- Write down your X and Z coordinates before throwing the Eye, then write down where it lands, to create two points on a line.
- Throw the Eye from at least two different locations so you have two separate lines that will intersect near the stronghold.
- Use the slope formula or a stronghold calculator tool to find where your two lines cross, then dig down at that spot.
What you need before you start
To craft an Eye of Ender, you need a blaze powder and an ender pearl. Blaze powder comes from killing blazes in the Nether (the red dimension you reach through a nether portal made of obsidian). Ender pearls drop from endermen, the tall black creatures that spawn in the Overworld at night or in the Nether and End dimensions.
You also need a way to see your coordinates. In Java Edition, press F3 to open the debug screen and look for the line that shows your X, Y, and Z position. In Bedrock Edition (Windows 10, console, mobile), you may need to enable coordinates in world settings before creating the world, or use a third-party tool. The Y coordinate is your height; you only need X and Z for this math.
Have a pen and paper, a notepad on your device, or a spreadsheet open to record numbers. You will be writing down at least four coordinates (two locations, two landing spots), so keeping them organized matters.
Throwing the Eye of Ender and recording your first line
Stand in an open area where you can see the sky clearly — the Eye travels in a straight line and will go through blocks, but you need to see where it lands. Write down your current X and Z coordinates (ignore Y). Then throw the Eye of Ender by holding it and right-clicking (or the equivalent on your platform).
Watch where the Eye travels. It will fly through the air, slow down, and drop to the ground or into a block. Walk to where it landed and write down those X and Z coordinates. The Eye disappears after landing, so you must record the spot before it vanishes. If you lose track, throw another Eye from your starting position and follow it again.
Now you have two points: your starting location (X1, Z1) and where the Eye landed (X2, Z2). These two points form a line, and the stronghold lies somewhere on that line or very close to it.
Throwing the Eye from a second location
Travel to a different location — ideally at least 100 to 200 blocks away from your first throw, and at an angle rather than straight ahead. Write down this new starting position (X3, Z3). Throw another Eye of Ender and record where it lands (X4, Z4).
You now have a second line formed by points (X3, Z3) and (X4, Z4). The stronghold is where this second line crosses your first line. If you throw from a location that is too close to your first throw, or in a straight line from it, the two lines will be nearly parallel and will not give you a clear intersection point.
Using the slope formula to find the intersection
The math uses the slope formula from algebra. The slope of a line is (change in Z) divided by (change in X). For your first line, the slope is (Z2 − Z1) ÷ (X2 − X1). For your second line, the slope is (Z4 − Z3) ÷ (X4 − X3).
Once you have both slopes, you can write the equation for each line in the form Z = (slope) × X + (intercept). Solve both equations together to find the X and Z where they meet. This is algebra, and it requires a few steps — if you are not comfortable with it, use an online stronghold calculator instead (search "Minecraft stronghold calculator" and paste your four coordinates into the tool).
The intersection point is where you should dig down. Bring a pickaxe and dig straight down, or dig at an angle if you want to be safer. The stronghold is usually between Y level 40 and Y level 10, so you will be digging for a while. Once you break through into a stone brick structure, you have found it.
Why the math works
The Eye of Ender always points toward the stronghold, so every throw gives you a direction. That direction is a straight line in the X-Z plane (the horizontal map). Two lines that are not parallel will always cross at exactly one point. Since the stronghold is on both lines (it is in the direction of both Eyes), it must be at the intersection.
In practice, the Eye does not point to the exact center of the stronghold — it points somewhere inside the structure. So your calculated intersection will be close but may be off by a few blocks. Dig around the area you calculate, not just straight down at one spot.
Using a calculator tool instead of doing the math by hand
If algebra is not your strength, several free online tools will do the calculation for you. Search for "Minecraft stronghold calculator" and you will find pages where you enter your four coordinates (X1, Z1, X2, Z2, X3, Z3, X4, Z4) and the tool returns the intersection point. This saves time and removes the chance of making an arithmetic mistake.
The downside is that you have to type your numbers into a website, which means copying them from your game. The upside is that you get an answer in seconds and can be confident it is correct. For a casual player, this is often the better choice.
Frequently Asked Questions
Do I need to throw the Eye more than twice?
Two throws are the minimum — they give you two lines and one intersection point. If you want to be more certain, throw a third or fourth time from different locations. If all your lines cross near the same spot, you can be confident that is where the stronghold is.
What if my two lines do not seem to cross?
If your throws were from locations that are too close together or in a straight line, the lines will be nearly parallel. Travel farther away and at a different angle, then throw again. The farther apart your two throws are, and the more different their angles, the clearer your intersection will be.
Can I use this method in Bedrock Edition?
Yes, but you must turn on coordinates in your world settings before you create the world. If you did not do that, you cannot see your position. Some players use third-party coordinate display tools instead, but the math works the same way once you have the numbers.
What if I dig at the intersection and find nothing?
The stronghold is large but not huge — you may have calculated a spot on the edge of it. Dig around the area in a grid pattern, checking blocks in all directions. You can also dig down to different Y levels if your first attempt does not hit the structure.
Is there a faster way to find the stronghold?
In Creative mode, you can fly around and search visually. In Survival mode, the Eye of Ender method is the intended way. Some players use mods or datapacks that show stronghold locations, but those are not part of vanilla Minecraft.