Hack the Hydra

Days between dates calculator

Type two dates per line as YYYY-MM-DD, for example 2026-01-01 2026-12-25. Each line shows the number of days between them, the same span in years, months and days, in weeks, and the number of working days from Monday to Friday.

🔒 Private by design: the conversion runs in this browser tab. Nothing is uploaded.

Days between dates calculator is a free online tool by Hack the Hydra. Count the days between two dates, with the result in years, months and days, weeks, and working days (Mon-Fri). Many date pairs at once, free and private.

100% freeNo upload: runs in your browserNo sign-up
Days between dates calculator: the tool with a sample file converted

Counted or not counted

By default the tool gives the difference between the two dates: from Monday to the next Monday is 7 days. If you are counting days of a stay, a leave or a rental where both the first and the last day are used, choose "Counted": Monday to Sunday then gives 7 days instead of 6. Contracts and legal deadlines often say which rule applies, so check the wording.

Working days

Working days are counted from Monday to Friday over the same span. Public holidays are not removed, because they differ by country and region: subtract the ones that fall in your period by hand. If the start date is later than the end date, the days are shown with a minus sign and the dates are put back in order.

Months are not all the same length

A difference in years, months and days counts whole years first, then whole months, then the remaining days, Months have 28 to 31 days, so when the start day does not exist in a month (31 January plus one month), the month ends on the 1st of the next month: 31 January to 1 March is exactly 1 month in a normal year. For anything that must be exact, such as interest or notice periods, use the total number of days.

Example

Two dates on one line, end date not counted.

Input

2026-01-15 2026-03-01

Output

2026-01-15 to 2026-03-01: 45 days = 0 years, 1 months, 14 days = 6 weeks 3 days; 32 working days (Mon-Fri)

How to use

  1. Type a start date and an end date on each line, as YYYY-MM-DD. A single date counts up to today.
  2. Choose whether the end date itself is counted.
  3. Read the days, weeks, months and working days on each result line.

FAQ

How many days are there between two dates?

Subtract the earlier date from the later one. Paste both dates on one line above and the tool does it, leap years included.

Does it count the start and end day?

The start day is counted and the end day is not, unless you choose "Counted (inclusive)" in the End date option.

Are public holidays excluded from working days?

No, only Saturdays and Sundays. Holidays depend on the country, so subtract them yourself.

Can I calculate many date pairs at once?

Yes, one pair per line. A line with only one date counts from that date to today.

More free converters

PDF to Markdown converterOCR PDF: scanned PDF to textImage to text (OCR)Word (DOCX) to Markdown converterExcel & CSV to Markdown tablesHTML to Markdown converterPowerPoint (PPTX) to Markdown converterJSON to Markdown tablePDF to text converterExcel to JSON converterMarkdown to HTML converterMerge PDF filesSplit PDF: extract pagesRotate PDFJPG to PDF converterPDF to JPG converterImage converter: PNG, JPG, WebPCompress image: JPG and WebPQR code generatorWord counterCase converterJSON formatter and validatorBase64 encode and decodeURL encoder and decoderUUID v4 generatorStrong password generatorLorem ipsum generatorJSON to CSV converterRemove duplicate linesUnix timestamp converterJSON to YAML converterText diff checkerImage resizerPercentage calculatorAge calculatorHash generator (SHA-256, SHA-1, SHA-512)Color converter: HEX, RGB, HSLYAML to JSON converterUnit converterJWT decoderBinary, hex, decimal and octal converterRoman numeral converterRegex testerCron expression explainerPDF to Markdown for ChatGPTPDF to Markdown for ClaudePDF to Markdown for RAG pipelinesPDF to Markdown for ObsidianPDF to Notion (via Markdown)Screenshot to textFrench OCR: image to textCSV to Markdown tableGoogle Docs to MarkdownJPG / JPEG to text (OCR)PNG to text (OCR)CSV to JSON converterPNG to JPG converterJPG to PNG converterWebP to PNG converter