Date difference calculator.
Count the days between two dates and read the span in years, months, weeks and working days. Leave out the weekend you choose, a country's public holidays and your own days off.
Date difference calculator.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
4 steps, no account. It runs in your browser and nothing is uploaded.
Pick two dates
The start and the end, or Today for either; the order doesn't matter.
Choose what counts
The end date or not, and a weekend of Saturday and Sunday, Friday and Saturday, or Sunday alone.
Leave out holidays
US, UK, German or French public holidays, and any days off you type.
Read the difference
Days, the calendar span, working days, weeks, hours and minutes, to copy.
Related tools
More math and finance. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Not by default: Monday to Friday is 4 days, as a span is measured. Turn on Include end date to count both ends, which makes it 5 and counts working days the way Excel's NETWORKDAYS does.
On the calendar: whole months first, from the start's day of the month to the same day of a later month, then the days left over. 31 January to 1 March is one month and one day, and a shorter month counts to its last day.
US federal holidays with their observed days, the bank holidays of England and Wales with their substitute days, and the nationwide holidays of Germany and France, Easter-based ones included. Each is worked out by rule for the years in the range.
No. Dates are counted as whole calendar days, not as hours between two clock times, so no day is 23 or 25 hours long here. The hours and minutes shown are the days times 24 and 1,440.
Pick the weekend in the bar and a public holiday set under the dates. The working days, the weekend days and the holidays on working days are listed, with each holiday by name.
Yes. Type one date a line (YYYY-MM-DD) in Other days off, with a note after it if you like. Edit as a list writes the country's holidays for the range into that list, so you can strike one out.
The two are counted the other way round and the status line says so. The swap button beside the end date exchanges them.
No. The dates are worked out in your browser and the page makes no request with them.
No. The Date difference calculator is free and opens without a sign-in, an account or an install.
The Date difference calculator keeps nothing on a server; only the invoice generator saves its draft, in this browser's localStorage on your device. Nothing else is saved, and nothing is sent to shadcn.io.
Any date from the year 1 to 9999, on the Gregorian calendar extended backwards. Days are whole calendar days, so no clock change makes one longer or shorter.
US federal holidays, the bank holidays of England and Wales, and the nationwide holidays of Germany and France, each worked out by rule for every year in the range, up to 200 years at a time.
Yes. With Include end date on, the working days match Excel's NETWORKDAYS, both ends counted when they are worked. With it off, the end date isn't counted, as a span is measured.
Closest to the Date difference calculator: Add days to a date, Age calculator, Time duration calculator, Time zone converter. Each opens on its own page, free and in the browser.
The Date difference calculator is one of 20 in its group. The group's page, /tools/math, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro




