Date Difference Calculator

Find the exact days, months, and years between any two dates.

Enter both dates and click “Get result” to see the difference.

How to use the date difference calculator

This date difference calculator finds how much time lies between two calendar dates. Pick the first date and the second date using the date pickers, then click "Get result" to see the gap in years, months, and days, plus the total number of days. The difference is always shown as a positive value—the absolute span between the two dates—so it doesn't matter which date you enter first. The tool also shows the span in total hours and minutes for reference.

Figuring out the gap between two dates comes in handy in all sorts of situations. You might need to know how many days are left until a deadline, how long you've lived somewhere, how many days fall between two events, or how old something is in years and days. Project managers use it for timelines; HR and payroll use it for tenure or leave; and plenty of people use it for anniversaries, contracts, or subscription periods. The calculator uses the same calendar we use every day, so leap years and different month lengths are reflected in the total days. The breakdown into years, months, and days uses an approximate month length (30 days) for simplicity, while the total days figure is exact.

If you're planning an event or a trip, knowing exactly how many days you have left helps you stay on track. Students use it to count down to exams or submission dates; freelancers use it to see how long until a project is due. In HR, the same idea applies when you need to work out how long someone has been in a role or how much leave they've accrued. For personal milestones—like how long you've been married, or how many days until a big birthday—the calculator gives you a clear number without any mental maths.

The calculator runs entirely in your browser. There's no sign-up, no download, and no delay. It's built to work on phones and tablets too: the layout stacks on smaller screens, the date inputs are easy to tap, and the result appears next to your selection so you can compare at a glance. Use it for quick checks or for planning—whether you need the difference in days only or in years, months, and days.

When you change either date, the result area updates only after you click "Get result" again. That way you can adjust one or both dates and then recalculate as many times as you like. If you forget to enter one of the dates and click the button, you'll see a short message asking you to fill in both fields—no result is shown until both dates are entered. Once they are, the difference appears in a clear breakdown: years, months, and days first, then total days, and finally the same span in hours and minutes so you have every angle covered.

You don't have to worry about your dates being sent anywhere or stored. Everything is calculated on your device, so you can use it for sensitive or personal dates without a second thought. Bookmark this page for whenever you need to find the time between two dates. This free date difference calculator gives you clear, fast results on any device.