Calculadora de Diferença de Datas
Calcule o número de dias, semanas e anos/meses/dias entre duas datas.
What is a Calculadora de Diferença de Datas?
A general-purpose gap calculator between any two dates — a project deadline, an anniversary, the time since an event — reporting both a flat day count and a calendar-aware years/months/days breakdown, since "214 days" and "7 months, 2 days" answer slightly different questions depending on what you actually need.
How to use the Calculadora de Diferença de Datas
- Enter two dates, in either order
- Press Calculate
- The total days, weeks, and a years/months/days breakdown all appear instantly, computed on your device
Formula
Days Between = |Date2 − Date1| (calendar days), plus a years/months/days breakdown
The gap is computed from actual calendar dates, then also expressed as a calendar-aware years/months/days figure alongside the flat day count.
Example
Between January 1, 2026 and August 8, 2026 there are 219 days (31.3 weeks), or 7 months and 7 days in calendar terms — the same gap, described two different ways depending on which framing is more useful.
Common mistakes
- Expecting an inclusive count (both the start and end day counted) when the result is the exclusive gap between them — January 1 to January 2 returns 1 day, not 2.
- Manually subtracting month numbers by hand instead of letting the tool handle different month lengths correctly.
- Assuming the order the two dates are entered in changes the sign of the result — this tool always sorts them chronologically first.
Frequently asked questions
Does the date difference count both the start and end day?
It counts the number of days between the two dates (e.g. January 1 to January 2 is 1 day apart) — if you need an inclusive count of calendar days spanned (2 days, in that example), add 1 to the result.
Does it matter which date I enter first?
No — this calculator automatically sorts the two dates chronologically before computing the difference, so entering them in either order gives the same result.
How do I get an inclusive day count that includes both dates?
Add 1 to the result — if the tool reports 1 day between January 1 and January 2, the inclusive span (both calendar days counted) is 2.
Can I use this to count down to a future event instead?
This gives a static gap between two fixed dates. For a live-feeling countdown to a specific future date and time, see Countdown Calculator instead, which breaks the remaining time into days/hours/minutes/seconds.
Is my numbers uploaded anywhere?
No — Calculadora de Diferença de Datas runs entirely in your browser using JavaScript/WebAssembly. Your numbers is never sent to a server.