PublishedValidated

How HalalStack classifies a stock (the step-by-step method)

Why a stock can pass the halal filter despite its debt — illustrated with Apple — and how the 3 AAOIFI financial ratios determine each stock's status.

6 min readPublished on 9 June 2026

You looked at Apple's status on HalalStack and you're wondering how a company with billions in debt can be classified as halal. The answer comes down to two words: business activity first, ratios second.

The principle: two levels of verification

In fiqh al-muamalat (the jurisprudence of transactions), investing in a company amounts to becoming a co-owner of part of its business. Two questions arise:

  1. Is the activity lawful? If the main source of revenue is inherently prohibited, no ratio can redeem it.
  2. Are the financial practices compatible? A lawful company can still borrow at a fixed interest rate or place its cash in interest-bearing products.

These two levels correspond to the so-called "qualitative" criteria (the sector) and "quantitative" criteria (the financial ratios).

The rule in HalalStack: the order of verification

HalalStack relies on the AAOIFI Sharia Standard No. 21 methodology, which is the reference used by the majority of institutional Islamic funds, and applies the financial bounds of the major investable Sharia indices (DJIM, S&P, MSCI). Verification is done in a cascade, in this order:

Step 1 — Sector filter (R1 to R5)

If the company's main activity belongs to one of the following sectors, the verdict is haram outright, without going any further:

  • Alcohol and fermented beverages
  • Pork and its derivatives
  • Riba — conventional banks and insurance
  • Gambling (casinos, online betting)
  • Controversial offensive weaponry
  • Adult content

There is no tolerance threshold here. A brewery remains haram even if it generates 1% of its revenue from mineral water.

Step 2 — Incidental revenue filter (R6)

If the company operates in a lawful sector but incidentally derives non-compliant revenue (interest on investments, haram commercial partnerships, conventional subsidiaries), the threshold is set at 5% of total revenue. Below this threshold, the status is halal with purification required. Above it, the status moves to doubtful or haram depending on the extent.

This 5% threshold is a position of necessity (darura) documented in SS21: scholars recognize that it is nearly impossible for a large listed company to have zero non-compliant incidental revenue.

Step 3 — Financial ratios (R7 to R9)

Three ratios are calculated, each measured against the 24-month average market capitalization (and not against revenue, nor total assets — this is an important distinction):

RatioCalculationHalalStack threshold
Debt ratioInterest-bearing debt / 24m avg. market cap≤ 33%
Cash ratio(Cash + interest-bearing securities) / 24m avg. market cap≤ 33%
Non-compliant revenue ratioHaram revenue / Total revenue< 5%

A note on thresholds — 30% (AAOIFI SS21 strict) vs 33% (DJIM / S&P / MSCI / HalalStack indices): there are two families of bounds in Sharia screening practice, and it is important not to confuse them.

  • AAOIFI Sharia Standard No. 21 (§3/4) sets the interest-bearing debt threshold at 30% — this is the strict doctrinal bound, the most demanding one.
  • The major investable Sharia indicesDow Jones Islamic Market (DJIM), S&P Shariah, MSCI Islamic — adopt a slightly more permissive bound of one third (33%), measured against the 24-month average market capitalization (DJIM), 36 months (S&P), or total assets (MSCI).
  • HalalStack applies 33% for both financial ratios (debt and interest-bearing cash), measured against the 24-month average market capitalization — that is, the bound and denominator of the mainstream DJIM / S&P / MSCI indices, and not the strict 30% of AAOIFI. This is the threshold actually coded into the screening engine (rules R3/R4 ≤ 33%). This choice is documented in HalalStack's methodological decisions: it matches the methodology of the genuinely investable products accessible to the public.

In other words: the 30% threshold is AAOIFI SS21's in its strict reading; the 33% threshold (one third) is that of the mainstream Sharia indices (DJIM / S&P / MSCI), and it is the latter that HalalStack has adopted. If you follow a mandate or an opinion requiring the stricter 30% (AAOIFI) bound, use 30%.

Why Apple can pass the filter despite its debt

Apple reports tens of billions in absolute debt. This raw figure is misleading. What matters is the debt / market capitalization ratio. Purely for illustration (data not guaranteed, subject to change — the real-time status is available in the HalalStack application): Apple's market cap sits in a range of several trillion dollars, while its interest-bearing debt has historically represented a fraction well below the 33% threshold.

The main activity (smartphones, software, cloud services) is lawful. Incidental financial revenue represented a marginal fraction of revenue in the recent fiscal years analyzed.

Important note: HalalStack classifications are calculated in real time from up-to-date market data. Any status cited in an educational article is illustrative and may no longer reflect the current situation. Consult the Apple page in HalalStack for the up-to-date status before making any decision.

A worked numerical example with a fictional company

[FICTIONAL EXAMPLE — Company "AlphaTech SA", non-real ticker, data invented for teaching purposes]

  • Sector: B2B software — lawful, passes the sector filter.
  • 24-month average market capitalization: €800M
  • Interest-bearing debt: €200M → ratio = 200/800 = 25% → passes (≤ 33%)
  • Cash in interest-bearing accounts: €100M → ratio = 100/800 = 12.5% → passes (≤ 33%)
  • Non-compliant revenue (interest on investments): €3M / €60M total revenue = 5% → threshold reached (the filter requires < 5%): status "doubtful", purification required on dividends.

HalalStack verdict: Doubtful — acceptable with purification of the non-compliant fraction of dividends received.

The three possible statuses

  • Halal: all filters passed, non-compliant revenue < 5%, purification due if > 0%.
  • Doubtful: lawful activity, but one ratio exceeds the threshold or non-compliant revenue is at the limit. The position should be monitored; some scholars reject it, others accept it with purification.
  • Haram: prohibited sector or ratio clearly exceeded. Should not be part of a portfolio intended to be compliant.

What this article does not do

This article describes the methodology applied by HalalStack to classify stocks. It does not constitute a fatwa, does not replace the opinion of a qualified scholar, and does not take into account your personal situation, your investment intentions, or the school of jurisprudence you follow. If in doubt about a specific security, consult a scholar or an AAOIFI CSAA certified advisor.


Sources:


This article is for educational purposes only. It presents the classification methodology used by HalalStack and does not constitute a fatwa, nor financial or personalized investment advice. Classifications may change. Consult a qualified scholar for any decision relating to your personal religious practice.

References

  1. [1]AAOIFI Sharia Standard No. 21 — Financial Papers (Shares and Bonds), §3/4 and §5. AAOIFI, Bahrain, 2015. Strict debt threshold: 30%.AAOIFI Sharia Standard No. 21 — Financial Papers (Shares and Bonds), §3/4 and §5. AAOIFI, Bahrain, 2015. Strict debt threshold: 30%.
  2. [2]DJIM Methodology — S&P Dow Jones Indices, 2024. Debt threshold: 33% (one third) on 24-month average market cap.DJIM Methodology — S&P Dow Jones Indices, 2024. Debt threshold: 33% (one third) on 24-month average market cap.
  3. [3]Mufti Faraz Adam — Halal Investing 101, AAOIFI CSAA certified course. Amanah Finance Consultancy, 2023.Mufti Faraz Adam — Halal Investing 101, AAOIFI CSAA certified course. Amanah Finance Consultancy, 2023.
  4. [4]Islamic Finance Guru (Ibrahim Khan) — Stock Screening Explained. IFG.vc, 2022.Islamic Finance Guru (Ibrahim Khan) — Stock Screening Explained. IFG.vc, 2022.