Date Difference Calculator
Count days between dates, skip weekends, or add and subtract days.
Open Date Difference CalculatorEnter a date of birth and get an exact age in years, months and days — not a rounded decimal. The tool also reports how many total months, weeks, days, hours and minutes have passed, which weekday you were born on, and how many days remain until your next birthday. By default it calculates against today, but you can set any “age as on” date, which is what school admissions, government schemes, competitive exam eligibility and insurance forms usually ask for. Leap years are counted correctly, including the 29 February edge case, and nothing you type leaves your browser.
Leap years handled properly. Nothing is sent anywhere.
Leave this as today unless a form asks for a specific cut-off date.
Institutions differ. Most in India and the UK use 1 March; spreadsheet date functions use 28 February. This only affects a 29 February date of birth.
Exact age
—
Runs fully in your browser. Nothing is uploaded.
Age sounds like simple arithmetic until a form asks for it in years, months and days. The trouble is that months have different lengths, so you cannot subtract and divide. The correct method, and the one used here, is to subtract the calendar components separately: years from years, months from months, days from days. When the day comes out negative you borrow the length of the preceding month; when the month comes out negative you borrow twelve months from the year count. That is why a person born on 31 January is 1 month and 0 days old on 28 February in a non-leap year, and why a naive division by 30.44 gets it wrong.
The age as on field matters more than it looks. Indian competitive exams, school admissions, government schemes and many insurance policies define eligibility as age on a fixed date — often 1 January, 1 April or 31 August of the relevant year — not age today. Setting that date here gives you the number the form is actually asking for.
Leap years are handled by using the browser's own calendar arithmetic rather than a fixed 365-day year, so a lifetime spanning several leap days comes out right. Month ends are handled the way spreadsheets handle them: a date of birth on the 31st has its anniversary on the last day of a shorter month, so someone born on 31 January is one month and one day old on 1 March. A 29 February date of birth has no single accepted rule, so the tool offers both — 1 March, which most Indian and British institutions use, or 28 February, which matches spreadsheet date functions — and applies your choice to the age and the countdown alike.
Total hours and minutes are calculated from whole days, so they represent midnight to midnight rather than the exact minute you were born. If you want that level of precision you would need the time of birth, which almost no form asks for.
Subtract the components separately rather than dividing total days. Take years from years, months from months and days from days, borrowing the length of the previous month when the day count goes negative. That is exactly what this tool does, which is why its answer matches an official form.
It is the cut-off date the eligibility rule is measured against, not today. An exam might require you to be between 18 and 27 as on 1 August of the exam year. Set that date in the second field and the tool gives you the number the form wants.
In leap years the birthday falls on 29 February as normal. In other years there is no single rule, so the tool lets you choose. The default is 1 March, the convention most institutions in India and the UK follow; switch to 28 February to match spreadsheet date functions. Both age and the next birthday countdown use whichever you pick.
Almost always because it divides total days by 365.25 or by 30.44 instead of comparing calendar components. That approach drifts by a day or two, which matters when an eligibility rule is tight. Component subtraction is the method official forms use.
No. The calculation runs in JavaScript in this tab and nothing is transmitted or saved. Reload the page and the fields are empty again.
Count days between dates, skip weekends, or add and subtract days.
Open Date Difference CalculatorWork out percentages five ways with the formula shown under each answer.
Open Percentage CalculatorConvert CGPA to percentage or back, with a subject-wise marks calculator.
Open CGPA to PercentageEstimate monthly in-hand salary from CTC with a full deduction table.
Open Salary Calculator