Calculator Tools Calculator Tools

Pakistan Gold Price Calculator - Real-time PKR Value

Sep 25, 2026

About this app

Quickly calculate the value of gold in Pakistan. Enter weight in grams and price per tola to get accurate PKR valuations based on standard conversion rates.

Pakistan Gold Price Calculator - Real-time PKR Value Gold Calculator Pakistan Gold Rate Estimator Weight in Grams g Price per Tola (PKR) Rs. Enter current rate for 1 Tola Calculate Value Clear Fields Estimated Total Value Rs. 0 Conversion Standard: 1 Tola = 11.6638 Grams Rates in Pakistan are usually quoted per Tola (24K/22K). © Pakistan Gold Price Tool Values are estimates. Always verify with your local jeweler.

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">

<title>Pakistan Gold Price Calculator - Real-time PKR Value</title>
<meta name="description" content="Quickly calculate the value of gold in Pakistan. Enter weight in grams and price per tola to get accurate PKR valuations based on standard conversion rates.">
<meta name="keywords" content="gold price calculator pakistan, pkr gold calculator, tola to gram conversion, pakistan gold rates, gold value pkr">

<!-- Libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" crossorigin="anonymous">

<script type="text/javascript">
try {
document.addEventListener("DOMContentLoaded", function() {
const weightInput = document.getElementById('goldWeight');
const priceInput = document.getElementById('tolaPrice');
const calculateBtn = document.getElementById('calculateBtn');
const resetBtn = document.getElementById('resetBtn');
const resultDisplay = document.getElementById('resultDisplay');
const breakdownText = document.getElementById('breakdownText');
const resultCard = document.getElementById('resultCard');

// Standard Pakistani Tola to Gram conversion
const TOLA_TO_GRAMS = 11.6638;

function calculateGold() {
const weight = parseFloat(weightInput.value);
const pricePerTola = parseFloat(priceInput.value);

if (isNaN(weight) || isNaN(pricePerTola) || weight <= 0 || pricePerTola <= 0) {
alert("Please enter valid positive numbers for both weight and price.");
return;
}

// Calculate price per gram
const pricePerGram = pricePerTola / TOLA_TO_GRAMS;
const totalValue = pricePerGram * weight;

// Display Result
resultCard.style.display = 'block';
resultCard.classList.add('animate-pop');

resultDisplay.innerText = "Rs. " + totalValue.toLocaleString('en-PK', { maximumFractionDigits: 2 });

breakdownText.innerHTML = `
<div class="small mt-2 text-muted">
<p class="mb-1"><strong>Price per Gram:</strong> Rs. ${pricePerGram.toLocaleString('en-PK', { maximumFractionDigits: 2 })}</p>
<p class="mb-0"><strong>Formula:</strong> (${pricePerTola.toLocaleString()} / 11.6638) × ${weight}</p>
</div>
`;

// Smooth scroll to result on mobile
resultCard.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}

function resetForm() {
weightInput.value = '';
priceInput.value = '';
resultCard.style.display = 'none';
resultCard.classList.remove('animate-pop');
weightInput.focus();
}

calculateBtn.addEventListener('click', calculateGold);
resetBtn.addEventListener('click', resetForm);

// Allow Enter key to trigger calculation
[weightInput, priceInput].forEach(input => {
input.addEventListener('keypress', (e) => {
if (e.key === 'Enter') calculateGold();
});
});
});

} catch (error) {
console.error("App Error:", error);
}
</script>

<style>
:root {
--pk-green: #01411C;
--gold-primary: #D4AF37;
--gold-light: #F4E0A1;
--gold-dark: #B8860B;
--soft-bg: #f8f9fa;
}

body {
background-color: #f0f2f5;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #333;
}

#main-container {
max-width: 500px;
margin: 0 auto;
padding-top: 2rem;
}

.calculator-card {
background: white;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
overflow: hidden;
border: none;
}

.card-header-gold {
background: linear-gradient(135deg, var(--pk-green) 0%, #026b2e 100%);
color: white;
padding: 2rem 1.5rem;
text-align: center;
border-bottom: 5px solid var(--gold-primary);
}

.card-header-gold i {
font-size: 3rem;
color: var(--gold-primary);
margin-bottom: 1rem;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.card-body {
padding: 2rem;
}

.form-label {
font-weight: 600;
color: var(--pk-green);
margin-bottom: 0.5rem;
}

.input-group-text {
background-color: var(--gold-light);
border: 1px solid #ddd;
color: var(--gold-dark);
font-weight: bold;
}

.form-control {
border-radius: 10px;
padding: 0.75rem 1rem;
border: 1px solid #ddd;
transition: all 0.3s ease;
}

.form-control:focus {
border-color: var(--gold-primary);
box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.btn-calculate {
background: linear-gradient(to right, var(--gold-dark), var(--gold-primary));
border: none;
color: white;
font-weight: bold;
padding: 1rem;
border-radius: 12px;
width: 100%;
font-size: 1.1rem;
transition: transform 0.2s;
box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-calculate:active {
transform: scale(0.98);
}

.btn-reset {
background-color: transparent;
border: 2px solid #dee2e6;
color: #6c757d;
font-weight: 600;
width: 100%;
padding: 0.75rem;
border-radius: 12px;
margin-top: 1rem;
}

.btn-reset:hover {
background-color: #f8f9fa;
border-color: #ced4da;
}

#resultCard {
display: none;
margin-top: 1.5rem;
background: #fffdf5;
border: 2px solid var(--gold-light);
border-radius: 15px;
padding: 1.5rem;
text-align: center;
}

.result-title {
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.8rem;
color: #888;
margin-bottom: 0.5rem;
}

#resultDisplay {
font-size: 2rem;
font-weight: 800;
color: var(--pk-green);
word-break: break-all;
}

.conversion-info {
font-size: 0.85rem;
color: #666;
text-align: center;
margin-top: 2rem;
padding: 1rem;
background: #eee;
border-radius: 10px;
}

.animate-pop {
animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
0% { transform: scale(0.8); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
#main-container {
padding: 1rem;
}
.card-header-gold {
padding: 1.5rem 1rem;
}
.card-header-gold h1 {
font-size: 1.5rem;
}
}
</style>
</head>
<body>
<div id="main-container">
<div class="calculator-card">
<div class="card-header-gold">
<i class="fa-solid fa-coins"></i>
<h1 class="h3 mb-0">Gold Calculator</h1>
<p class="mb-0 opacity-75">Pakistan Gold Rate Estimator</p>
</div>

<div class="card-body">
<!-- Gold Weight Input -->
<div class="mb-4">
<label for="goldWeight" class="form-label">Weight in Grams</label>
<div class="input-group">
<input type="number" id="goldWeight" class="form-control" placeholder="e.g. 11.66" step="0.001" inputmode="decimal">
<span class="input-group-text">g</span>
</div>
</div>

<!-- Tola Price Input -->
<div class="mb-4">
<label for="tolaPrice" class="form-label">Price per Tola (PKR)</label>
<div class="input-group">
<span class="input-group-text">Rs.</span>
<input type="number" id="tolaPrice" class="form-control" placeholder="Current market rate" step="1" inputmode="numeric">
</div>
<div class="form-text text-end mt-1" style="font-size: 0.75rem;">Enter current rate for 1 Tola</div>
</div>

<!-- Actions -->
<div class="d-grid gap-2">
<button type="button" id="calculateBtn" class="btn btn-calculate">
<i class="fa-solid fa-calculator me-2"></i> Calculate Value
</button>
<button type="button" id="resetBtn" class="btn btn-reset">
Clear Fields
</button>
</div>

<!-- Result Display Area -->
<div id="resultCard">
<div class="result-title">Estimated Total Value</div>
<div id="resultDisplay">Rs. 0</div>
<div id="breakdownText"></div>
</div>

<!-- Market Info -->
<div class="conversion-info">
<p class="mb-1"><strong>Conversion Standard:</strong></p>
<p class="mb-0 small">1 Tola = 11.6638 Grams</p>
<p class="mb-0 small">Rates in Pakistan are usually quoted per Tola (24K/22K).</p>
</div>
</div>
</div>

<p class="text-center text-muted mt-4 small">
© <script>document.write(new Date().getFullYear())</script> Pakistan Gold Price Tool<br>
Values are estimates. Always verify with your local jeweler.
</p>
</div>
</body>
</html>