distance
Road distance or straight line? How to measure qasr distance

In short
To measure the qasr distance: Hanafis use about 77 km (48 miles), while Shafi’i, Maliki and Hanbali use about 80 km (50 miles). Many jurists measure along the actual road route from the edge of town; some accept straight‑line “as the crow flies.” All agree you only begin shortening after leaving your town’s built‑up area.
Getting the distance right matters. If you measure “as the crow flies”, a 78 km trip might qualify; if you measure the road route, the same journey could be 70 km and not qualify. The schools agree on when shortening starts (only after leaving your town), but they differ on how the qualifying distance is set and how to measure it in practice.
How to measure qasr distance: road route or straight line?
There are two accepted approaches among contemporary scholars:
- Road or route distance: measure the distance you actually travel along the customary route from the edge of your town to the edge of the destination. This reflects how classical jurists conceived travel—by the path between settlements.
- Straight line (“as the crow flies”): measure the great‑circle distance between towns. Some modern scholars allow this as a practical proxy, especially when journeys are by air or when road networks meander.
Which to use? This is a genuine difference of view. It only changes the ruling for trips near the threshold. If one method is clearly above the threshold and the other is clearly below, follow the view you have learnt or ask a local scholar for your case. If you want a cautious approach, use the road distance and begin counting from the town’s edge.
Important: All four schools agree you may not shorten until you have actually left the built‑up area of your own town. Before that point, you are a resident and pray in full.
Where do you start counting from?
Classical texts count from the edge of the town, not your front door. Many contemporary answers and apps simply measure from where you set off. This difference only matters on short or borderline trips. For a fuller discussion of when travel legally begins, see our guide on leaving the city limits.
What our tool can and can’t do: it measures between the two points you choose—either along a road route you select or as a straight line. It does not detect town boundaries, built‑up edges or your home location. If you prefer the stricter classical reading, place your start point at your town’s edge and compare both figures.
Why the classical numbers point to route‑based measuring
The thresholds are expressed in pre‑modern units: 4 burud or 16 farsakh (roughly 80 km / 50 miles) in the Shafi’i, Maliki and Hanbali schools, and about 77 km / 48 miles in the Hanafi school. These units historically described travel along recognised paths between settlements, not an abstract straight line. That’s why many jurists today prefer measuring the actual route.
That said, modern travel by air or across open water can make a straight‑line estimate sensible. Both approaches exist across contemporary fatwa bodies; choose consistently and seek guidance if your trip sits on the line.
The distance for qasr in the four madhhabs
- Hanafi: qasr applies from about 77 km (48 miles). Traveller status ends if you intend to stay 15 days or more.
- Shafi’i: about 80 km (50 miles, 4 burud / 16 farsakh). Traveller status ends if you intend to stay 4 days or more.
- Maliki: about 80 km (50 miles). Traveller status ends if you intend to stay 4 full days (20 prayers).
- Hanbali: about 80 km (50 miles). The classical texts say more than 20 prayers; the common practical limit used is 4 days.
Qasr applies only to Dhuhr, Asr and Isha. Fajr and Maghrib are never shortened.
Worked examples: road vs straight‑line
London to Birmingham
- Road (M40/M1): roughly 190 km (118 miles). Well above all thresholds.
- Straight line: roughly 160 km (99 miles). Also well above.
- Verdict: qualify to shorten on any view, once you have left London’s built‑up area and provided you don’t intend to reside in Birmingham beyond your school’s limit.
Near‑threshold illustration
- Town A to Town B: straight line 81 km (50 miles); road route 73 km (45 miles).
- Verdict: on the straight‑line view, you qualify; on the road‑route view, you do not. This is exactly where the scholarly difference bites; follow your school or consult a scholar. If unsure, many adopt the cautious route‑distance view.
Air, sea and rail: does “as the crow flies” make more sense?
- Air: Most flights follow a great‑circle path close to the straight‑line distance between cities. Many scholars accept that straight‑line is a reasonable proxy for air travel. Others still recommend measuring your actual planned path if known.
- Sea: Ferries and ships follow routes set by ports and channels. Use the known route distance where available; otherwise, a straight‑line estimate can guide you.
- Rail: Measure the rail route you will actually take if timetables list distances; otherwise use the road distance as a practical stand‑in, or straight‑line if the rail is markedly more direct.
In all cases, you only begin shortening once you have left your own town’s built‑up area; when you land or dock in your destination town and remain within its built‑up area, you revert to resident rules if you intend to stay beyond your madhhab’s limit.
Practical steps for your own trip
Decide which measuring approach you follow: road/route or straight line. If unsure and your trip is borderline, the road‑distance view is the safer choice.
Fix your start point at your town’s edge if you want to reflect the stricter classical method. Otherwise, measure from where you set off.
Measure your journey both ways to see if the difference matters. You can measure both road and straight‑line distances in one place, including alternative road routes.
Check your intended stay. In Hanafi fiqh, intend under 15 days to remain a traveller; in Shafi’i, Maliki and Hanbali fiqh, intend under 4 days. If your plans change, your ruling can change too.
Remember: qasr only shortens Dhuhr, Asr and Isha. Fajr and Maghrib stay the same length.
Comparison at a glance
| School | Distance threshold | How to measure (common views) | Traveller status ends when you intend |
|---|---|---|---|
| Hanafi | ~77 km (48 miles) | Many measure the actual road route from town edge; some accept straight‑line | 15 days or more |
| Shafi’i | ~80 km (50 miles; 4 burud / 16 farsakh) | As above: route‑based is common; straight‑line also used today | 4 days or more |
| Maliki | ~80 km (50 miles) | As above | 4 full days (20 prayers) |
| Hanbali | ~80 km (50 miles) | As above | 4 days (classically: more than 20 prayers) |
The evidences behind qasr and why precision still matters
Allah says: “When you travel throughout the land, there is no blame upon you for shortening the prayer...” (Qur’an 4:101). The Prophet ﷺ described the shortened prayer as “a charity Allah has given you, so accept His charity.” The juristic debate is not about whether qasr is legislated, but about how to define the qualifying journey in our varied, modern routes.
Because the schools articulate the distance with pre‑modern units and tie “starting travel” to leaving the town itself, small choices—road vs straight‑line; home vs edge—can flip a borderline verdict. That is why we recommend measuring both ways, fixing your start point thoughtfully, and confirming with a scholar if you remain uncertain.
Frequently asked questions
Is qasr measured from my front door or from the city limits?
Classical texts count from the edge of your town, not your front door. Many modern answers simply measure from where you set off. All agree you cannot shorten until you have actually left the built‑up area. If the stricter reading matters to you, set your start point at your town’s edge when measuring.
Which is more correct: road distance or straight line (“as the crow flies”)?
Both are used today. Many jurists prefer the actual route distance from town edge to town edge, reflecting how classical distances were conceived. Others accept straight‑line as a practical proxy, especially for air travel. The difference only matters near the threshold, so ask a scholar if your trip is borderline.
If one road route is 79 km and an alternative route is 85 km, may I choose the longer route to qualify?
Many scholars tie the ruling to the route you actually travel. If you genuinely plan to take a route over the threshold, that supports shortening once you leave your town. Do not manipulate measurements; be honest about your intended route, and confirm with a local scholar if in doubt.
Which prayers are shortened and when do I stop shortening?
Only Dhuhr, Asr and Isha are shortened. Fajr and Maghrib are never shortened. You start shortening after leaving your town’s built‑up area and continue while travelling until you intend to stay in one place beyond your madhhab’s limit (Hanafi: 15 days; Shafi’i, Maliki, Hanbali: 4 days).
Does travelling by plane change how I measure?
For flights, straight‑line distance is often a fair proxy because planes follow near great‑circle paths. Some scholars still prefer using the actual flight path where known. In any case, you only begin shortening after take‑off once you’ve left your town’s built‑up area, and rules can change when you land depending on your intended stay.
References
- Quran 4:101 (permission to shorten prayer while travelling) — Primary scriptural basis for qasr
- The distance for shortening prayer – Islamweb Fatwa — States ~80 km threshold and general method
Educational, and not a fatwa: this reflects widely held positions in the four Sunni madhhabs. For a ruling on your own situation, ask a qualified scholar.