Qibla Direction in Mogadishu — 344.97° North + Live Compass

The qibla from Mogadishu is 344.97 degrees clockwise from true north — roughly North. This page shows the exact great-circle bearing to the Kaaba (2,235 km away), a compass dial set to your bearing, and a live compass for phones.

Live Qibla Compass

On a phone or tablet, tap below to turn your device into a qibla compass — hold it flat and rotate until the 🕋 reaches the top. On a laptop/desktop the dial is static: its top is North, so the 🕋 position shows your qibla direction.

NE SW 🕋

Static dial — top of circle = North. The 🕋 shows Mogadishu's qibla (344.97° = North).

Qibla Direction — Mogadishu

FieldValue
CityMogadishu
Qibla Bearing344.97°
Cardinal DirectionNorth
Distance to Makkah2,235 km

The qibla is the direction of the Kaaba in Makkah, computed as a great-circle bearing from Mogadishu (2.0469°, 45.3182°). Use a compass and face the computed bearing from true north.

Formula

bearing = atan2( sin(dLng), cos(lat) * tan(21.4225) - sin(lat) * cos(dLng) )
dLng = 39.8262 - longitude   (Kaaba: 21.4225 N, 39.8262 E)
distance = 6371 * 2 * atan2( sqrt(a), sqrt(1-a) )  (great-circle, km)

Example

From Mogadishu: bearing = 344.97 degrees = North. Distance = 2,235 km.

How to Use

  1. 1. Your city is already selected — the qibla bearing is shown below.
  2. 2. Or pick any other city from the list to compare.
  3. 3. Tap "Use My Location" to compute the bearing from your exact position.
  4. 4. On a phone, tap "Enable Live Compass" and rotate until the Kaaba icon reaches the top.

Frequently Asked Questions