যাকাত ক্যালকুলেটর
Share this
Zakat Calculator 2025 – BDT
if (isset($_POST[‘calculate’])) {
// Retrieve form data
$savings = floatval($_POST[‘savings’]);
$gold = floatval($_POST[‘gold’]);
$silver = floatval($_POST[‘silver’]);
$other_assets = floatval($_POST[‘other_assets’]);
// Calculate total wealth
$total_wealth = $savings + $gold + $silver + $other_assets;
// Nisab threshold in BDT (based on gold or silver value)
// Example: Nisab for gold (87.48 grams) and silver (612.36 grams)
// Replace with current market prices for gold and silver in BDT
$gold_price_per_gram = 8000; // Example: 8000 BDT per gram (update this value)
$silver_price_per_gram = 100; // Example: 100 BDT per gram (update this value)
$nisab_gold = 87.48 * $gold_price_per_gram; // Nisab based on gold
$nisab_silver = 612.36 * $silver_price_per_gram; // Nisab based on silver
// Check if total wealth exceeds Nisab
if ($total_wealth < $nisab_gold && $total_wealth < $nisab_silver) {
echo ”
“;
} else {
// Calculate Zakat (2.5% of total wealth)
$zakat = $total_wealth * 0.025;
echo ”
“;
}
}
?>