Enter a start date (such as a birth date) and an end date to get the gap as whole years, months and days, plus the total number of days between them. Both dates stay in your browser.
Runs in your browser
Free, no sign-up. Both dates are calculated in your browser and never uploaded, saved or put in analytics. Usage events record only that a calculation happened, not the dates.
Calculate the exact difference between two dates.
Select a start date and end date to see the difference.
Free to embed. Keep the Powered by SMNIFY link.
<iframe src="https://tools.smnify.com/embed/age-date-calculator/" width="100%" height="640" loading="lazy" style="border:0" title="Age & Date Calculator"></iframe>
Sample data
Start Date: 1990-03-15 End Date: 2025-09-10
35 years, 5 months, 26 days Total difference: 12,963 days
Whole years are counted first (to 2025-03-15), then whole months (to 2025-08-15), and the remaining 26 days are left over.
The tool first counts whole calendar years from the start date, then whole calendar months, and the days left over. It is a calendar difference, not an average-length one.
When the start day does not exist in a month, the date is moved back to that month's last day. For example 31 January plus one month is treated as 29 February in a leap year, so 2024-01-31 to 2024-03-01 reads as 1 month, 1 day.
The total-days figure is the plain number of days between the two dates. The end date itself is not counted as an extra day.
total days = (end date - start date) / 86,400,000 ms, on UTC midnight dates
A person born on 29 February reaches an anniversary on 28 February in non-leap years under this method, so 2024-02-29 to 2025-02-28 gives exactly 1 year. Legal rules for when a leap-day birthday counts differ between countries; this tool does not apply any of them.
No. The calculation runs in this page's JavaScript. The dates are not sent to a server, stored, or included in analytics events, and a shared link never contains them.
Yes. Enter the birth date as the start and today's date (or any date you want to measure to) as the end. The years, months and days are the person's age on that date.
The tool only measures forward gaps. Swap the two dates if you want the difference the other way round.
No. From 2025-01-01 to 2025-01-02 is 1 day. If you need an inclusive count (both days counted), add 1 to the total.
Months are counted as calendar months, so the leftover days depend on which month you land in. 15 January to 15 February is 1 month, 0 days even though it is 31 days.
We build calculators, converters and processing steps like this one directly into your web or mobile product, with your rules and branding.