{"id":66,"date":"2026-06-23T02:16:59","date_gmt":"2026-06-23T02:16:59","guid":{"rendered":"https:\/\/www.athought.blog\/?p=66"},"modified":"2026-06-23T05:06:01","modified_gmt":"2026-06-23T05:06:01","slug":"building-zakat-calculator","status":"publish","type":"post","link":"https:\/\/athought.blog\/index.php\/building-zakat-calculator\/","title":{"rendered":"Building Zakat Calculator"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I live in the UAE with my wife and daughters, however my mom and sister live back in Pakistan, every month I send money for household expenses that is split between me and my sister. The amount I send out also has a partial payment towards my Zakat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Zakat I do give out is calculated based on assets me and my wife own in the UAE, however the Zakat is dispersed back in Pakistan which I think is where it&#8217;s needed most or because I&#8217;ve seen poverty there which could use a helping hand. Again the dispersement part of the Zakat is taken care of my sister (who by the way is a kick ass copy\/content writer &amp; SEO expert \u25b6\ufe0f <a href=\"https:\/\/linktr.ee\/zahrafaridk\">See here &#8211; Her Linktree<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I&#8217;ve been doing this but manually for years, managing a spreadsheet and updating it once a year, often visiting the jeweller&#8217;s shop every Ramadan. This is before I put together the spreadsheet where I got the rates online on the weighed assets then using formulas to calculate the amounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introducing Zakat calculator at <a href=\"https:\/\/dab.tools\/\">dab.tools<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/dab.tools\/zakat\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction.png\" alt=\"\" class=\"wp-image-100\" srcset=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction.png 1920w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction-300x169.png 300w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction-1024x576.png 1024w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction-768x432.png 768w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/introduction-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><figcaption class=\"wp-element-caption\">A glimpse of the actual tool &#8211; Zakat calculator<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I wanted to simplify this process of calculating zakat, so instead of me spending time to find out how much I have to pay, I make that easier so my money can be more useful to people who need it. In that respect, let me introduce you to the Zakat Calculator. Let&#8217;s cover a few things on how I started on this journey.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Separation<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"686\" src=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet-1024x686.png\" alt=\"Blurred snapshot of my gold calculations numbers file\" class=\"wp-image-97\" srcset=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet-1024x686.png 1024w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet-300x201.png 300w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet-768x515.png 768w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet-1536x1029.png 1536w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Sheet.png 1919w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Image blurred for obvious reasons &#8211; no I m no rich boy \ud83d\ude09<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now I have a few of things to calculate which include different purities of gold and some cash savings, here&#8217;s how I do it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I separate jewelry based on purities, so 24K, 22K, 20K.. etc. plus different silver purities<\/li>\n\n\n\n<li>I already have the weights of each one of them, unless theres an addition or removal of items, then that is taken into account. The list stay&#8217;s updated once the weighing is done to avoid a jeweller&#8217;s shop run every year.<\/li>\n\n\n\n<li>I will get the current value of gold per purity per gram from different online sources and apply that through the list of jewelry (some would have for 19K, some wont.. so..).<\/li>\n\n\n\n<li>Next I will list any savings I have and add that to the total worth of assets.<\/li>\n\n\n\n<li>I will calculate the Zakat amount on the total, which is 2.5% of the total.<\/li>\n\n\n\n<li>I will then convert this Zakat amount to Pakistani Rupees.<\/li>\n\n\n\n<li>Depending on the amount, I will split it on months that&#8217;s comfortable for me to pay in. It generally is split between 7-10 months.<\/li>\n\n\n\n<li>I add this amount on top of the house hold expenses I send every month.<\/li>\n\n\n\n<li>My sister then figures out who to disperse it to. At times it gets fixed for a few months to families who need it, other times it will be open ended.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now I had a nice spreadsheet to do this every time. I will update it once a year or when jewellery is added or removed. I applied nice cute formulas everywhere, color coded everything. I am very proud of this spread sheet given I don&#8217;t usually deal with these on a daily bassi or for work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Realization<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It had occurred to me that a good number of people might have to go through the same, especially people living away from home who&#8217;d like to send money back to their home town for charity and Zakat. I did come across some Zakat calculators online, but none that provided the same workflow. Now this could be because I didn&#8217;t look too deep or maybe they don&#8217;t exist. In any case I wanted to explore this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Living abroad and away from home comes with it&#8217;s own set of issues (while people back home might think life for non resident citizens is all a piece of cake, I can assure you, it&#8217;s not). Yes it does bring about a better lifestyle and some sense of security it however takes a lot to get there. I obviously want to make sure this especially caters to that segment of people as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This approach solidified when I discussed this with other expats some of which had roughly similar workflows.. some more complex. But for the general population the same approach worked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another important thing that I wanted to take into account is, even if it is an Islamic tool, but at it&#8217;s core it&#8217;s performing a financial calculation. That made me think I don&#8217;t want to my financial data out in the wild even accidentally.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Building<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There were few principal points I started building this with<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Privacy at it&#8217;s core &#8211; no data retention, no server communication about finances.<\/li>\n\n\n\n<li>Preservable &#8211; some way to preserve data on the users end to avoid inconvenience.<\/li>\n\n\n\n<li>Avoid tracking &#8211; I made sure not to include any kind of user profile-able tracking.<\/li>\n\n\n\n<li>A workflow that simplifies calculation rather than makind the user jump through hoops.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Privacy<\/strong><br>Now keeping that in mind, the app completely runs locally on your browser, once loaded  your financial information stays on your computer or mobile. The currency exchange, gold &amp; silver rates are refreshed every hour. So your calculations stay current.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Perservable<\/strong><br>Once you&#8217;re satisfied, you can export a copy of your data as an excel file, which you can import anytime to make changes or simply to refresh rates on your assets, then export again with fresh information. I also added a reminder option so the user can choose to be reminded to perform the calculation again next year.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tracking avoidance<br><\/strong>For the most part, most people would atleast use Google Analytics to get information on their users. Now I do want to improve experiences for the users but not at thier privacy&#8217;s expense. I opted to use Umami which is a heavily privacy focused analytics platform, this is not just for the <a href=\"https:\/\/dab.tools\/zakat\">Zakat calculator<\/a> but overall <a href=\"https:\/\/dab.tools\">dab.tools<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Workflow<br><\/strong>To improve on way you get the final number, it works as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You fill information to the best of your knowledge for gold, silver, stocks and savings (using custom currency for the last two if needed).<\/li>\n\n\n\n<li>Based on your location and currency the value on each item and zakat on each item is calculated.<\/li>\n\n\n\n<li>You can chose to use this value or use a secondary currency to pay zakat (usually valuable for expats who earn in a different currency and pay in a different location and currency)<\/li>\n\n\n\n<li>It gives you the final amount which you can now spread over months as well.<\/li>\n\n\n\n<li>Export to use next year.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot-1024x484.png\" alt=\"\" class=\"wp-image-98\" srcset=\"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot-1024x484.png 1024w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot-300x142.png 300w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot-768x363.png 768w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot-1536x726.png 1536w, https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Snap-shot.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Some of the features visible throughout Zakat calculator.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Future plan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At the moment I m actively building dab.tools, there are a few other tools I want to build before I start diving into upgrades for Zakat calculator, but here are somethings I m planning:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add support for Zakat mechanisms for Shia Muslims<\/li>\n\n\n\n<li>Add a how to guide (this would be for dab.tools overall)<\/li>\n\n\n\n<li>Add a property section, with options of multiple countries and currency.<\/li>\n\n\n\n<li>Include Crypto Currencies<\/li>\n\n\n\n<li>Include business assets option<\/li>\n\n\n\n<li>Improvise on the assets addition.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Let me know via comment if you&#8217;d like to test it out and I&#8217;ll drop you an email.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I live in the UAE with my wife and daughters, however my mom and sister live back in Pakistan, every month I send money for household expenses that is split between me and my sister. The amount I send out also has a partial payment towards my Zakat. The Zakat I do give out is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":96,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"athought_summary":"As someone living in the UAE and sending money to family in Pakistan each month, I\u2019ve always made sure to put aside a bit for Zakat as part of my regular transfers. While figuring out the Zakat isn\u2019t too tricky, it\u2019s always been a bit of extra work. I\u2019ve had to keep track of all my different assets, check the current gold and silver prices, and make sure nothing gets missed. So, I created a tool to make that process easier: the Zakat Calculator, which you can find at dab.tools\/zakat. You can just input what you have, and it\u2019ll quickly calculate how much Zakat you owe using the latest market rates. Even though I\u2019m sending money from the UAE to Pakistan, the tool is useful for anyone, anywhere, whether you\u2019re an expat or a local.\n\nKeeping your privacy in mind was super important from the start. Every calculation happens right on your device, and no data is stored or sent anywhere. I also added some helpful features that go beyond just the basics. You can choose your Zakat year, whether it\u2019s a personal or lunar calendar, split your total Zakat into monthly payments that are easy to handle, export your worksheet for your records, and set reminders with a review window before your Zakat is due. It\u2019s a free, easy-to-use tool that turns what used to be a boring side task into something quick and dependable, because Zakat should be about having good intentions, not about dealing with complicated spreadsheets.","athought_og_description":"Introducing the Zakat calculator. Input assets, get instant obligation using live rates. Private, local, free. dab.tools\/zakat, here's the story.","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5,26,4],"tags":[29,24,30,31,23,28,27],"class_list":["post-66","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design","category-product","category-vibe-code","tag-calculator","tag-dab-tool","tag-islamic","tag-obligation","tag-product","tag-tool","tag-zakat"],"jetpack_featured_media_url":"https:\/\/athought.blog\/wp-content\/uploads\/2026\/06\/Feature.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":10,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/posts\/66\/revisions\/106"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/media\/96"}],"wp:attachment":[{"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/athought.blog\/index.php\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}