Utility Tools

Days Between Two Dates

Calculate the exact number of days, weeks, and years/months/days between any two dates — instantly inside your browser.

Private by default Instant results No signup
Days Between Two DatesLive
Overview

What does this tool calculate?

Given a start date and an end date, this tool works out the exact gap between them — as a total day count, as a total week count, and broken down into years, months, and days, the way you'd naturally describe an age or a duration.

Guide

How to use it

1Pick a start date
2Pick an end date
3Read the total days, weeks, and breakdown

How the calculation works

The total day count is the exact number of calendar days between the two dates. The years/months/days breakdown is calculated calendar-aware, accounting for different month lengths and leap years, the same way you'd count someone's age. If the end date is earlier than the start date, the two are automatically swapped so the result is always a positive duration.

Why it helps

Features & benefits

Total days, total weeks, and a years/months/days breakdown
Accounts for leap years and varying month lengths
Works in either date order automatically
Live results as you change either date
100% private — nothing leaves the device

Why this runs entirely in your browser

The calculation runs in JavaScript locally in the tab, which means it keeps working offline once the page has loaded and nothing entered here is ever sent to a server.

Common uses

Counting down to a deadline or event, calculating the length of a project or contract, working out how many days until a trip, or figuring out someone's exact age in years, months, and days.

Frequently asked questions

A few things people usually want to know before trusting the numbers.

It counts the number of full days between the two dates — for example, January 1 to January 2 is 1 day apart.

The two dates are automatically swapped, so the result is always shown as a positive duration regardless of which order you enter them in.

Yes. Both the total day count and the years/months/days breakdown correctly account for leap years and each month's actual length.

The years/months/days breakdown is calendar-aware (like counting an age), while total days ÷ 365 is a simple average that doesn't account for leap years or actual month lengths, so small differences are expected.

No. All calculation happens locally in your browser. Nothing entered here is sent to a server, stored, or shared.