Aspect Ratio Calculator
Free online aspect ratio calculator: calculate dimensions, scale image and video resolutions, and find missing width or height. 100% private in-browser.
Free online date difference calculator: calculate days between dates, working business days, and add or subtract days. 100% private in your browser.
Based on a standard 5-day Monday through Friday workweek.
Tracking time between dates is a ubiquitous task across project management, jurisprudence, corporate finance, logistics, and human resources. Whether establishing contractual delivery milestones, calculating mortgage interest accrual, verifying commercial lease notice windows, or counting down to personal life events, resolving exact calendar durations requires understanding how civil calendars structure time.
Because our calendar is composed of months with unequal day counts (28, 29, 30, and 31 days) and periodic leap years, simple mathematical division yields rounding anomalies. Below is a comprehensive analysis of calendar duration algorithms, business day conventions, and legal notice standards.
In civil administration and commerce, two contrasting methods are used to quantify durations:
Calendar days measure continuous physical duration without interruption. Every solar rotation—including Saturdays, Sundays, and public bank holidays—counts as one full day. Calendar days govern statute of limitations filings, residential lease termination periods (e.g., 30-day notice), visa expiration dates, and medical quarantine protocols.
Business days reflect standard commercial operational periods, typically defined as Monday through Friday. Saturdays and Sundays are excluded from the count. Business days govern banking settlement cycles (e.g., ACH transfers taking 2 to 3 business days), judicial court response deadlines, stock trading clearing windows (T+1 settlement), and enterprise service-level agreements (SLAs).
When someone asks, “How many days between Monday and Wednesday?” the answer depends on whether the boundary days are counted:
Wednesday - Monday = 2 days. The end day is not counted.Toolhast provides an intuitive “Include end date in calculation” toggle so legal drafters, event organizers, and travelers can switch between exclusive and inclusive metrics with a single click.
Contractual agreements and statutory regulations frequently mandate specific day counts. Understanding how courts interpret these spans prevents default judgments and contractual breaches:
| Statutory Context | Standard Window | Counting Convention | Legal Nuance |
|---|---|---|---|
| Residential Lease Notice | 30 or 60 Days | Calendar Days | Usually calculated prior to the first day of the subsequent rental period. |
| SEC Corporate Form 10-K | 60 to 90 Days | Calendar Days | If the final filing date falls on a weekend, it rolls to the next business day. |
| Judicial Discovery Requests | 30 Business Days | Business Days | Intervening Saturdays, Sundays, and legal court holidays are excluded. |
| Real Estate Inspection Contingency | 10 to 14 Days | Business Days | Prevents buyers from losing inspection rights over long holiday weekends. |
In computerized scheduling systems, adding months to a date is prone to off-by-one errors. For example, what date is exactly one month after January 31?
A naive algorithm adds 30 days, landing on March 2. Another algorithm increments the month integer to 2 (February), discovers that February 31 does not exist, and overflows into March 3.
Toolhast enforces the internationally recognized Month Clamping Standard: when adding months to a date whose day number exceeds the length of the destination month, the date is clamped to the final valid calendar day of that destination month:
January 31 + 1 Month in a common year = February 28.January 31 + 1 Month in a leap year = February 29.March 31 - 1 Month = February 28 (or 29).August 31 - 1 Month = July 31 (both July and August have 31 days).Project schedules, wedding dates, litigation timelines, medical procedure intervals, and lease renewal notices contain proprietary and personal information. Many web utilities transmit user date selections to remote servers to build ad-targeting profiles.
Toolhast guarantees that all date calculations execute 100% locally on your computer or phone using pure client-side JavaScript. Zero bytes of your schedule, deadlines, or dates ever leave your device.
Select your starting date and ending date from the calendar pickers (or click 'Today' to anchor to the present).
Toggle 'Include end date in calculation' if your project, booking, or legal agreement requires inclusive counting.
View total elapsed calendar days, decomposed years/months/days, and standard 5-day working business days.
Switch to the 'Add or Subtract' tab to project future statutory notice deadlines or milestone completion dates.
Calculated across a full common calendar year with complete working vs weekend day decomposition.
Automatically skips four weekend days (two Saturdays and two Sundays) across the two-week span.
The calculator identifies every Monday through Friday within your selected date range as a business day, while automatically excluding Saturdays and Sundays. It does not deduct localized regional public bank holidays because statutory holiday schedules vary widely across different countries, states, provinces, and corporate organizational calendars.
Exclusive counting measures the elapsed duration between two points in time, meaning the end date itself is not counted. Inclusive counting adds the final calendar day to the total span, which is required for legal agreements, vacation planning, hotel bookings, or court filings where both boundary dates are active.
The engine utilizes genuine Gregorian calendar rules rather than an approximate 365-day average. Any span crossing February 29 during a leap year automatically incorporates the extra 366th calendar day into both the total day count and the decomposed year, month, and day arithmetic.
Yes. Switch to the 'Add or Subtract Days' tab, enter your base date, select your desired duration, and check the 'Count business working days only' box. The calculator steps forward day by day while skipping every Saturday and Sunday to identify the exact completion date.
Because February does not have thirty-one days. In calendar arithmetic, adding a month to a date whose day number exceeds the length of the destination month clamps the result to the final valid day of that month, preventing accidental rollover into March.
No. All date calculations, duration parsing, and calendar manipulations occur entirely within your web browser using client-side JavaScript. Your confidential project deadlines, contract dates, lease milestones, and personal itineraries are never transmitted over the internet, stored in cookies, or saved to external databases.
Free online aspect ratio calculator: calculate dimensions, scale image and video resolutions, and find missing width or height. 100% private in-browser.
Free online age calculator: calculate your exact chronological age in years, months, days, and seconds. Find your next birthday countdown. 100% private.
Free online percentage calculator: calculate percentage of a number, percentage increase or decrease, and percentage difference. 100% private in-browser.
Private: this tool runs in your browser. Nothing you type is uploaded.
Last updated