The fastest way to check your direction is to allow location access at the top of this page. Once you do, the tool reads your exact coordinates and calculates a live reading that points straight toward the Kaaba. You do not need to type in your city or work out your coordinates by hand. As you move or turn your phone, the arrow updates so it always points the right way.
This works because your phone combines two pieces of information. The GPS chip tells the tool exactly where you are on Earth. The magnetometer, a small sensor built into almost every smartphone, tells the tool which way your phone is currently facing. Together, these two readings are enough to calculate your direction within a fraction of a degree, without any manual input from you.
Your location is only used to calculate the direction and is not stored. A live reading is especially useful for travelers, since your prayer direction changes as you move between cities and countries — sometimes by a large amount over a short distance.