Calculator Tools Calculator Tools
Create

Age Calculator by Hijri Year

Aug 12, 2026

About this app

Calculate your age based on the Hijri year of birth.

Age Calculator by Hijri Year Age Calculator by Hijri Year Enter your Hijri birth year: Calculate Age

Related apps

Put this on your site

Source

                    <!DOCTYPE html>
<html>
<head>
<title>Age Calculator by Hijri Year</title>
<meta name='description' content='Calculate your age based on the Hijri year of birth.'>
<meta name='keywords' content='age, calculator, Hijri, Islamic calendar'>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
#result {
font-size: 24px;
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Age Calculator by Hijri Year</h1>
<p>Enter your Hijri birth year:</p>
<input type='number' id='birthYear' placeholder='e.g., 1410'>
<button onclick='calculateAge()'>Calculate Age</button>
<div id='result'></div>
<script>
function calculateAge() {
const birthYear = parseInt(document.getElementById('birthYear').value);
const currentGregorianYear = new Date().getFullYear();
const currentHijriYear = Math.floor(currentGregorianYear * 1.030684);
const age = currentHijriYear - birthYear;
document.getElementById('result').innerText = 'Your age in Hijri years is approximately ' + age + '.';
}
</script>
</body>
</html>