Guide

Asr time: why Hanafi and Shafi'i differ

Your app says Asr is at 3:40, your friend's says 4:45, and both are right. The two times come from two long-established ways of reading the same shadow. Here is what each position says, why one falls later, and how to set your app to the one you follow.

Written by the ImanKeeper team · 7 August 2026

Why two apps can show different Asr times

Most differences between prayer apps trace back to the twilight angles used for Fajr and Isha, but Asr has a difference all of its own. Asr is defined by the length of a shadow, and there are two scholarly positions on which length marks its start: the position held by the Shafi'i, Maliki and Hanbali schools (often labelled "Standard" in apps), and the position held by the Hanafi school. An app set to one will show a noticeably different Asr than an app set to the other, even when everything else about the calculation is identical. Neither app is broken. They are answering the question with different, equally established conventions.

Asr is measured by shadow, not by clock

To see where the two positions come from, picture a stick standing upright in the sun. At zawal, the moment the sun passes its highest point at midday, the stick casts its shortest shadow of the day. In most places that midday shadow is small but not zero, since the sun is rarely directly overhead. From that moment the shadow starts to lengthen as the sun descends through the afternoon.

Asr begins when the shadow has grown by a certain amount beyond that midday minimum. Both positions agree on this framing, and both set the threshold as a multiple of the object's own height, added on top of the shadow it had at zawal. The only question is what that multiple should be.

The Standard rule and the Hanafi rule

In the Standard position, held by the Shafi'i, Maliki and Hanbali schools, Asr begins when the shadow's growth equals one times the object's length. So for a one-metre stick, Asr enters once its shadow measures one metre plus whatever it cast at midday.

In the Hanafi position, Asr begins when the shadow's growth reaches two times the object's length. For the same stick, that means a shadow of two metres plus the midday shadow.

Because shadows lengthen steadily through the afternoon, the one-length mark is always reached before the two-length mark. That is the whole reason the Hanafi Asr falls later: it is not a different reading of the sky, just a later point on the same growing shadow. The gap between the two times varies with the season and your latitude, and can run from under an hour to well over one. Both positions rest on long lines of scholarship, both are followed by large communities around the world, and a calculation can serve either one with equal precision.

Which one should your app use

That is not a question an app should answer for you. The position you follow comes from your madhab and the practice of your community, and if you are unsure, your local imam is the right person to ask. What an app should do is match the answer you already have. ImanKeeper lets you set Asr to either the Hanafi or the Standard position in its settings, alongside the wider calculation method, so the Asr on your phone, and the window it quietly guards for you, reflects the way you actually pray. And if your community follows its mosque's posted timetable, ImanKeeper can mirror that directly, which settles the question the same way your masjid does.

A note on scope

This guide explains the two positions and the shadow measurement behind them. It is not a religious ruling, and it does not recommend one position over the other. For which to follow, look to your madhab and ask your local imam.

Questions people ask

Why is Asr time different in my app?
Asr is defined by shadow length, and there are two long-established scholarly positions on which length marks its start. The Standard position (followed by the Shafi'i, Maliki and Hanbali schools) places Asr when an object's shadow equals its own length, while the Hanafi position places it when the shadow reaches twice the object's length. If your app is set to one position and you expected the other, the Asr time will look wrong even though both are calculated correctly.
What is the difference between Hanafi and Shafi'i Asr?
Both measure the same thing: the length of an object's shadow, over and above the small shadow it casts at midday. In the Shafi'i position (shared by the Maliki and Hanbali schools), Asr begins when the shadow equals the object's own length. In the Hanafi position, Asr begins when the shadow reaches twice the object's length. The astronomy is identical; the two positions differ only in the shadow ratio that marks the start.
Why is Hanafi Asr later?
After midday, shadows grow steadily as the sun descends. A shadow reaches one times an object's length before it reaches two times that length, so the Hanafi threshold is simply met later in the afternoon. Depending on the season and how far you are from the equator, the gap between the two Asr times can range from under an hour to well over one.
Which Asr time should I use?
That depends on the madhab you follow and the practice of your community, and it is a question for your local imam rather than an app. Both positions are long-established scholarly views followed by large communities worldwide. Whichever you follow, set your prayer app to match it so the time on your phone reflects your own practice.
Can I change the Asr calculation in a prayer app?
Most good prayer apps let you choose between the Hanafi and Standard (Shafi'i) Asr positions in their settings. ImanKeeper does: you can set Asr to either position, alongside the wider calculation method, so the times it shows and the prayer windows it guards line up with the way you actually pray.

Asr the way you pray it

Prayer times you can set to your madhab, matched to your own mosque. Download on the App Store.

Download on theApp Store