Day Counter
Nights = absolute date gap; Event days = Nights + 1Free online tool
Enter the first and last dates to see nights elapsed and event days including both endpoints.
Instant calculation
Enter the first and last dates to see nights elapsed and event days including both endpoints.
Calculation inputs are processed in your browser. Copying or sharing a result is your choice. See our privacy policy for advertising and technical logs.
Tool and explanation maintained by Leslie. Report an incorrect result.
Input steps
Type the year, month and day for the start.
Type the year, month and day for the end.
Use elapsed days for overnight stays and the inclusive count for an event open on both dates.
The formula
Counts every calendar day between the two dates. Handles leap years automatically.
Nights = absolute date gap; Event days = Nights + 1Check the method
Each example follows the same formula used by the calculator.
June 4 − June 1 = 3 nights. Count June 1, 2, 3 and 4 for the event.3 nights and 4 event daysJanuary 1 to January 8 is seven elapsed days, or one week. This calculation includes weekends and holidays; it is not a business-day or court-deadline calculator.
March 1 to March 8, 2026 is seven elapsed days even if some days are weekends. If an event operates on both the first and last date, it covers eight listed dates. Decide which count you need before copying the answer into a booking or schedule.
December 31, 2025 to January 1, 2026 is one day despite crossing a year. February 28 to March 1, 2024 is two days because it crosses leap day. These checks are useful for spotting a mistaken month/day entry. The calculation does not consult public-holiday calendars, subtract business closures or interpret a contract's start/end inclusion rules.
Method notes updated by Leslie.
Common questions
Use the Event days result if both endpoints count. A same-date event lasts one listed day and zero nights. The inclusive result already includes the extra day.
Continue calculating