How to count SubhanAllah, Alhamdulillah, and Astaghfirullah accurately, how many times to repeat each phrase, and the best times of day to build a lasting dhikr habit.
Published September 4, 2026 · Reviewed by the Ihsabha Editorial Team
Dhikr — the remembrance of Allah through short repeated phrases like SubhanAllah, Alhamdulillah, and Astaghfirullah — is one of the simplest and most consistent forms of worship in Islam. It doesn't require wudu, a specific place, or much time, which is exactly why counting it accurately matters: without a reliable count, it's easy to lose track after the first dozen repetitions, especially when a phrase is meant to be said 33, 100, or even more times in one sitting. A digital tasbih counter solves this in the same way prayer beads have for centuries, just in a format that fits a phone, a smartwatch, or a small handheld clicker.
Tasbih (تسبيح) literally refers to the act of glorifying Allah, most commonly through saying "SubhanAllah" (Glory be to Allah), but the word is also used more broadly for the whole practice of counted dhikr, and for the string of prayer beads — the misbaha or sebha — traditionally used to keep count. Counting matters in this context for a simple reason: several authentic hadiths specify an exact number of repetitions for particular phrases, tied to a specific reward or purpose. Saying "SubhanAllah" an unspecified number of times is good in itself, but saying it exactly 33 times after a prayer, as taught in the Sunnah, is a distinct and specifically rewarded practice. A counter — whether beads or digital — is simply the tool that makes hitting that exact number practical without pausing to recount from memory.
A traditional misbaha is a string of beads, most commonly 33 or 99 beads, sometimes with a marker bead every 33 to make longer counts easier to track by feel. Each bead is moved between the fingers with one recitation, and reaching the end of the string signals a completed set. Beads have an obvious tactile, meditative quality — many people find the physical motion helps them stay focused and present during dhikr, rather than letting the mind wander while the mouth repeats a phrase automatically.
A digital tasbih counter — whether a dedicated small clicker device, a smartwatch app, or a simple counter built into a calculator website — offers a few practical advantages that beads don't. It can count into the hundreds or thousands without needing a longer string of beads or multiple laps around the same string. It can reset to zero instantly for a new session. Many versions display the running total clearly on a screen, removing any doubt about exactly where you are in a long count. And because a phone or small clicker is something most people already carry, it's often more accessible in moments that beads aren't close at hand — while walking, waiting in line, commuting, or during a short break at work.
Neither format is superior in a religious sense — the value of dhikr lies in the remembrance itself, not the tool used to count it. Many practicing Muslims use both: beads for slower, more reflective sessions at home or after prayer, and a digital counter for quick counts on the go.
Perhaps the most widely practiced counted dhikr is the set known as Tasbih Fatimah: saying "SubhanAllah" (Glory be to Allah) 33 times, "Alhamdulillah" (All praise is due to Allah) 33 times, and "Allahu Akbar" (Allah is the Greatest) 33 or 34 times, typically after each of the five daily prayers. Some traditions complete the set to exactly 100 by finishing with the phrase "La ilaha illallah wahdahu la sharika lah, lahul-mulku wa lahul-hamdu wa huwa 'ala kulli shay'in qadir" once, after the 33-33-33 count (33+33+34=100 in one common version). Because this routine repeats five times a day, a miscount of even a few beads adds up quickly over weeks, which is exactly the kind of small error a digital counter eliminates.
This phrase — "there is no god but Allah" — is sometimes recited in sets of 100 or more as a standalone dhikr, separate from the after-prayer Tasbih Fatimah routine, particularly by people building a personal daily dhikr practice outside of the five prayers.
Saying "Astaghfirullah" (I seek forgiveness from Allah) is one of the most frequently recommended forms of dhikr, following the example of seeking forgiveness often throughout the day rather than only after a specific mistake. There's no single fixed daily number required, but 100 times a day is a commonly cited personal target, and some people aim considerably higher, especially in Ramadan or during periods of increased worship. Longer istighfar formulas, such as "Sayyid al-Istighfar" (the master supplication for seeking forgiveness), are typically recited once or a small number of times rather than counted in bulk, since the value there is in the specific, longer wording rather than repetition count.
Sending salawat (blessings) on the Prophet Muhammad ﷺ, most simply as "Allahumma salli 'ala Muhammad," is another dhikr commonly counted in sets — often 100 on an ordinary day, and considerably more on Fridays, which carry particular emphasis for this specific dhikr in many traditions.
The most structured and widely followed dhikr window is immediately after each of the five prayers, using the Tasbih Fatimah count described above. Doing this consistently, prayer after prayer, is arguably the single most common entry point for people who start using a counter in the first place, since it turns a five-times-daily habit into something exact rather than approximate.
Separate from the after-prayer counts, the morning and evening adhkar (azkar al-sabah wal-masaa) include several specific phrases, some of which are meant to be repeated a set number of times — commonly three or one hundred, depending on the specific supplication. A counter is especially useful here since the morning and evening routines combine several different phrases with different target counts in a single sitting.
Commuting, walking, waiting for an appointment, or any other short stretch of otherwise idle time is a natural window for informal dhikr — istighfar, tasbih, or salawat — without needing to set aside dedicated time. This is where a phone-based or handheld digital counter tends to be used the most, precisely because it's already in hand.
A short dhikr routine before bed — commonly including tasbih, tahmid, and takbir counts, along with specific bedtime supplications — is a widely followed practice, and closing the day with a fixed, counted routine is easier to keep consistent than an open-ended, un-timed one.
Counted dhikr predates any physical tool used to track it — early generations of Muslims are reported to have used small pebbles, date pits, or simply their fingers to keep count, since counting on the joints of the right hand is itself a method mentioned in the Sunnah and still practiced today. The strung misbaha, generally believed to have developed a few centuries after the Prophet's ﷺ time, made longer counts more practical and portable, and its 33 or 99-bead format spread widely enough that it became closely associated with the practice of dhikr across nearly every Muslim culture, from North Africa to Southeast Asia, each with slightly different regional names for the same object — sebha, misbaha, tasbih beads, and others. A digital counter is best understood as simply the newest link in that same chain of practical tools, rather than a break from it.
Dhikr counts often rise sharply during Ramadan, the last ten nights in particular, and around other occasions considered especially rewarding, such as the day of Arafah or the first ten days of Dhul-Hijjah. On an ordinary day, tracking a few hundred repetitions across istighfar, tasbih, and salawat is manageable with beads or memory; during periods of intensified worship, when a personal target might climb into the low thousands across a single sitting or a full day, a digital counter's ability to hold an exact running total without resetting by accident becomes considerably more valuable. Some people also use a digital counter specifically to track a Ramadan-long or ten-day cumulative goal, adding to the same running number across multiple sessions rather than starting fresh each time.
Not all digital counters are built the same way, and a few features tend to matter most in daily use. A large, clearly readable number is worth prioritizing over decorative design, since the whole point is removing any doubt about the current count at a glance. A simple, single-tap increment — without extra confirmation steps or animations that slow down each count — keeps the tool out of the way of the actual dhikr. A visible or easy reset makes starting a new set (a new prayer, a new day) simple rest rather than a hunt through menus. And for anyone tracking more than one type of dhikr in the same sitting — for example, the three-part Tasbih Fatimah count — the ability to save or quickly switch between separate counters, rather than manually keeping several running totals in your head, is genuinely useful rather than a minor convenience.
Islamic tradition places real weight on the state of mind during dhikr, not only the number reached. Facing the Qiblah, being in a state of wudu, and reciting in a calm, unhurried manner are commonly recommended, though none of these are strict conditions for dhikr to be valid — dhikr can be performed in essentially any state and any clean place. What matters more, according to most scholars, is presence of heart: reflecting on the meaning of what's being said rather than reciting the words automatically while thinking about something else entirely. A counter is meant to support that presence by removing the distraction of manual counting, not to replace it with a different distraction of watching the number climb.
A few patterns come up repeatedly for people trying to build a consistent counted-dhikr habit. Losing count partway through a set of 33 or 100 and simply guessing where you left off is the most common issue with beads, especially in longer sessions or when distracted — a digital counter removes this problem entirely by keeping an exact, visible running total. Treating the target number as more important than the meaning of the words is a subtler mistake; the counting exists to serve the remembrance, not to turn dhikr into a race to a number. And starting with an unrealistically large personal target — several hundred repetitions a day, for example — often leads to the habit being dropped altogether within a week or two; a smaller, consistent daily count kept up for months tends to build a stronger habit than a large count attempted for a few days and then abandoned.
Another frequent issue is inconsistency in when dhikr happens at all — treating it as something to squeeze in only if the day allows, rather than anchoring it to a fixed moment that happens regardless of how busy the day gets. Because the after-prayer window recurs five times daily without needing to be separately remembered, it tends to be the most durable anchor point, and building any additional dhikr — istighfar during a commute, salawat before bed — around other fixed daily moments tends to outlast attempts to find a fresh "free ten minutes" that may or may not appear.
Attaching dhikr to something you already do every day — right after each prayer, during a specific commute, or right before turning off the lights at night — tends to work far better than trying to find a fresh block of free time for it. Starting with the after-prayer Tasbih Fatimah count alone, before adding istighfar or salawat sets separately, gives most people a realistic entry point rather than an overwhelming one. And because a digital counter removes the mental overhead of tracking the number yourself, it frees up attention to actually focus on the meaning of what's being said, which is generally considered the real purpose of the practice.
Beyond standalone clicker devices, digital tasbih counting today mostly happens through either a dedicated smartphone app or a simple browser-based counter on a website. Dedicated apps often add extras — daily reminders, streak tracking, or a library of preset dhikr phrases with their transliterations and translations — which can be useful for someone building a long-term habit and wanting to see progress over weeks or months. A lightweight web-based counter, by contrast, needs no download or account, opens instantly on any device with a browser, and works just as well for someone who simply wants an accurate count for a single session without adding another app to their phone. Neither approach is more "correct" from a religious standpoint — the choice comes down to whether ongoing tracking or quick, no-friction counting matters more to you.
Never lose count again. Ihsabha's Digital Tasbih Counter lets you tap to count SubhanAllah, Alhamdulillah, Astaghfirullah, or any custom dhikr, with an exact running total and a one-tap reset for your next set.
A digital tasbih counter is a tool, app, or small handheld device that replaces physical prayer beads for counting recitations of dhikr such as SubhanAllah, Alhamdulillah, or Astaghfirullah. It increases a number with each tap and resets easily, which makes it useful for longer counts or repeated daily routines.
A widely followed practice is 33 times each after the five daily prayers, sometimes followed by a closing phrase to reach 100 — a routine commonly known as Tasbih Fatimah.
Neither is required over the other — beads and digital counters are simply different tools for the same purpose. Many people use beads for slower, reflective sessions and a digital counter for quick counts during the day.
There's no single required number, though 100 times a day is a common personal target, with some people choosing higher counts, especially during Ramadan.
No — dhikr does not require wudu and can be performed in essentially any clean state or place, though many people prefer to be in wudu, especially right after prayer.
Recommended counts for different forms of dhikr can vary slightly between hadith narrations and schools of thought, and personal targets beyond the well-known after-prayer counts are a matter of individual practice rather than a fixed requirement. This guide covers the commonly followed approach; for specific questions about wording or counts tied to your school of thought, a local scholar is the best reference.