Balance your wealth. Know what’s due.
A browser-native, beautiful, and completely offline-capable Islamic finance dashboard built by a Muslim, for Muslims.
"And establish prayer and give Zakat, and whatever good you put forward for yourselves – you will find it with Allah." — (Surah Al-Baqarah 2:110)
Welcome to Mizan Wealth. Calculating Zakat, screening stocks for Shariah compliance, and managing your halal wealth shouldn't require complex spreadsheets or uploading your net worth to an external server.
Mizan Wealth is a unified, strictly local-first dashboard that adheres to authentic Islamic jurisprudence (Fiqh). It is designed to help you confidently calculate your Zakat obligations, purify your investments, and plan your financial future—all within a clean, utility-driven interface.
- 100% Privacy & Local-First: Your financial data is sensitive. The application uses your browser's
localStorageto save your assets and liabilities locally. Your net worth never leaves your device. Portable JSON backups allow secure data transfer. - Exact Shariah Standards: Automatically calculates Nisab using precise South Asian Tola conversions: 87.48g for Gold and 612.36g for Silver.
- Deep Fiqh Configurations: Easily configure the engine based on your school of thought (e.g., Hanafi vs. Shafi'i/Maliki/Hanbali for personal jewelry), set your preferred Nisab standard, and define stock investment intent (Long-term vs. Short-term).
- Multi-Currency Scalability: Natively track your wealth in different fiat currencies (e.g., PKR, USD). Live spot rates seamlessly convert and scale to ensure your Nisab thresholds trigger with 100% accuracy in your local currency.
- Hawl Automation: Input when you acquired an asset, and Mizan will calculate if a full lunar year (354 days) has passed.
- Multi-Lingual: Full support for both English and Urdu (اردو), with stunning typography and a flawless Right-To-Left (RTL) layout.
Enter your cash, business inventory, gold, silver, stocks, and deductible liabilities. The robust calculation engine processes negative liabilities intuitively and taps into live metal spot prices (with built-in TTL caching) to determine your exact Zakat obligation down to the penny.
Not all stocks are Halal to invest in. Our built-in screener checks companies against standard AAOIFI compliance criteria (Debt Ratio < 33%, Interest Income < 5%, Liquid Assets < 33%).
- Accurate Purification: The app mathematically separates Capital Gains from Dividend Income. Capital gains on compliant stocks are 100% Halal, so purification is strictly calculated against non-compliant dividend revenue.
Project your financial future with a compound interest simulator that mathematically subtracts the annual 2.5% wealth tax (Zakat) and purification rates, giving you realistic Shariah-compliant growth models over time.
A simple calculator to divide your estate according to explicit Quranic shares for spouses, parents, and children.
Connect your own Google Gemini API key to get personalized, actionable financial advice based purely on Islamic principles.
Mizan Wealth is built with the most modern web technologies to ensure lightning-fast performance and a premium user experience:
- Framework: Next.js 14 (React App Router)
- Styling: Tailwind CSS v3 with native CSS variable color mapping
- Testing: Vitest for robust engine mathematical verification
- AI Integration: Google Gemini Flash Models
- Icons: Lucide React
Want to run this yourself or contribute? It's easy!
Make sure you have Node.js 18+ installed.
-
Clone the repository:
git clone https://github.com/rauf17/mizan-wealth.git cd mizan-wealth -
Install dependencies:
npm install
-
Set up Environment Variables:
cp .env.example .env.local
Optional: Open
.env.localand add yourMETAL_PRICE_API_KEYfor live gold/silver prices, andGEMINI_API_KEYfor AI features. If you skip this, the app gracefully falls back to reliable mock data. -
Run the local server:
npm run dev
Open the local address displayed in your terminal.
You can easily deploy your own instance of Mizan Wealth to Vercel:
- Import your GitHub repository into Vercel.
- Ensure the framework preset is set to Next.js.
- In the Vercel setup, paste your
.env.localkeys into the Environment Variables section. - Click Deploy.
Mizan Wealth is a financial planning and calculation tool. The calculated outputs, stock purity results, and simulated projections are provided for educational and organizational purposes. They do not constitute formal religious rulings (Fatwa) or certified financial advice. We always advise cross-referencing complex Zakat cases with local certified Islamic scholars.
Built with Barakah. May Allah bless your wealth.