Should you shorten your prayer on this trip?

Tell us where you're leaving from and where you're going. We measure the route from the edge of your home town, then apply the ruling of your madhab or marja'.

9 Sunni and Shia rulings Distance from your city's boundary Free, no sign-up
1Your school of fiqh

2Your journey

Measure by

Road distance suits car, bus and train trips. Use straight line for flights, since most scholars measure the distance you actually cover.

3Your stay
More factors
Units

Change your school or stay afterwards and the answer updates instantly.

How the check works

  1. 1

    Find the edge of your town

    We load your town's mapped boundary. Qasr is counted from where you leave it, not from your front door.

  2. 2

    Measure the real route

    We follow the road you would drive and measure only the part beyond your boundary.

  3. 3

    Apply your school's rule

    Distance, length of stay, homeland, and the conditions your madhab or marja' sets, each explained.

Guides to the rulings

What each school says about the traveller's prayer, with the evidence behind it.

All guides Compare every school side by side

Common questions

How far do I need to travel to pray qasr?

It depends on your school. Hanafis use 48 miles (about 77 km) in the Deobandi reckoning or 57.5 miles (about 92 km) in the Barelvi reckoning. Shafi'is, Malikis and Hanbalis use four burud, usually given as 80 to 89 km. Shia Ja'fari fiqh uses 8 farsakh, about 43 to 45 km, and also counts a round trip of at least 4 farsakh each way.

Is the distance measured from my house or from the city boundary?

From the edge of your town. All schools say you start praying qasr once you have left the built-up area of your town, and the distance is counted from there. That is why this calculator loads your town's boundary and measures only the part of the route beyond it.

How many days can I stay and still pray qasr?

Hanafis pray qasr unless they intend to stay 15 days or more. Shafi'is and Malikis pray in full if they intend 4 full days, and Hanbalis if they intend more than 4 days. In Shia fiqh the limit is 10 days.

What if I don't know how long I will stay?

If you expect to leave any day, Hanafis, Malikis and Hanbalis keep shortening indefinitely. Shafi'is shorten for up to 18 days, and Shia fiqh allows 30 days before you must pray in full.

Which prayers are shortened?

Only Dhuhr, Asr and Isha, from four rak'ahs to two. Fajr stays two and Maghrib stays three.

Can I combine prayers while travelling?

Shafi'is, Hanbalis, Malikis and Ahl-e-Hadith allow combining Dhuhr with Asr and Maghrib with Isha on a journey. Hanafis do not, except at Arafah and Muzdalifah. Shia fiqh permits combining at any time.

Do I pray qasr when visiting my hometown?

No. In your hometown or permanent residence you pray in full, even if you now live elsewhere and are only visiting briefly, as long as you still consider it home.

Is this calculator a fatwa?

No. It applies commonly published rulings to the details you enter. For unusual circumstances, such as long work contracts, multiple homes, or professional driving, ask a scholar you trust.