Schengen 90/180 Calculator
Check completed Schengen stays against the general rolling 90-days-in-180 rule, see days used and remaining, plan a continuous stay, flag recorded violations, and find the earliest compliant one-day re-entry date.
Longest stay from proposed entry
Through February 15, 2027, with entry and exit included
- Days used
- 0
- Remaining at entry
- 90
- Earliest 1-day entry
- 2026-11-18
Checked examples
The calculator checks prior stays and a new continuous stay beginning on this date.
Allowance on the proposed entry date
- Rolling 180-day window
- 2026-05-23 to 2026-11-18
- Recorded days in window
- 0
- Days remaining at entry
- 90
- Longest continuous new stay
- 90 days
- Stay through
- February 15, 2027
- Earliest compliant 1-day entry
- November 18, 2026
Recorded stay audit
- Total recorded presence
- 0 days
- Most days in a recorded 180-day window
- 0
- Recorded history status
- Within the general rule
- Flagged presence days
- 0
- First flagged day
- Not available
- Last flagged day
- Not available
Official European Union sources
General short-stay rules and exclusions verified 2026-08-13. Use the Commission's official tool and applicable authority for a final check.
Scope, exclusions, and counting rules
- Every entry and exit date counts as a day of presence.
- Each presence day is checked against the 180-day period ending on that day.
- This general planner does not model visas granting fewer than 90 days, residence permits, long-stay visas, bilateral arrangements, nationality, EES data, or missing official records.
- It is a planning aid, not legal advice or permission to enter or stay. Border and immigration authorities decide from the applicable rules and complete facts.
I teach data analysis and SQL on The Data Science Tutor.
Formulas, assumptions, and rounding are documented in our calculator methodology.
Built and maintained by Will Henschell, data scientist. Editorial policy.
Days Remaining at Entry vs. Longest Continuous Stay
Days remaining on a proposed entry date subtract the prior presence still visible in that date's rolling window from 90. The longest continuous stay is tested one future day at a time. Older stays can roll out as the proposed trip advances, so a traveller may be able to stay longer than the simple remaining number shown on the first day. The calculator displays both values to keep that distinction explicit.
Entry and Exit Dates Are Inclusive
The entry date counts as the first day and the exit date as the last day. January 1 through January 30 is therefore 30 days, not 29. Two stays cannot share a calendar day in this input: if an exit and re-entry occur on the same date, combine them into one interval so the shared day is counted once.
How Earliest Re-Entry Is Found
Starting on the proposed date, the calculator moves forward until a candidate day plus recorded presence in its inclusive backward-looking 180-day window totals no more than 90. The result answers when at least one general-rule day is available. It does not promise that a full 90-day trip begins then; use the separate continuous-stay output for that question.
Visa, Permit, EES, and Bilateral Exceptions
A short-stay visa can authorize fewer days than the general maximum. Residence permits and long-stay visas use different treatment. Bilateral agreements, nationality, EES data, missing stamps or records, and state-specific practice can also require a different analysis. Those facts are outside this date-only planner and should be checked with official sources or qualified advice.
Official Rule Review — August 13, 2026
The calculation and exclusions were reviewed against the European Commission's current short-stay calculator page and user manual, the current consolidated Schengen Borders Code on EUR-Lex, and current Commission EES guidance. The public calculator covers 29 Schengen countries and excludes Cyprus and Ireland; the EES has been fully operational across the Schengen area since April 10, 2026. Future legal or system changes should trigger a new source review before embedded guidance is updated.
How This Is Calculated
The Rolling 90-in-180 Calculation
The rule is not a fixed six-month block. For every presence day, count that day and the 179 calendar days immediately before it. The total cannot exceed 90 under the general short-stay rule. This calculator converts dates to UTC calendar-day ordinals, expands each completed stay with both endpoints included, and counts only presence that falls inside each moving window.
Formulas
Window = the 180 days ending on the day checked, both ends included
Days used = days of recorded stays inside the window, entry and exit days included
Days remaining at entry = 90 − days used
day checkedthe proposed entry date, or each later day of a planned stay (calendar date)
Assumptions and defaults
- A short stay may not exceed 90 days in any 180-day period, counted back from each day of the stay. Source: Regulation (EU) 2016/399, Schengen Borders Code, Article 6(1), as of August 13, 2026.
- The days of entry and exit both count as days in the Schengen area. Source: European Commission, short-stay calculator and its user manual, as of August 13, 2026.
Inputs it refuses or treats specially
- Overlapping stays, a stay that ends before it starts or after the proposed entry, and impossible dates are refused.
- Visas, residence permits and bilateral agreements can change the limit; the calculator applies the general rule only.
Worked example
A 30-day stay from January 1 to January 30, 2026 and a new entry on March 1: 30 days used in the window, 60 days remaining, so the stay can run to April 29.
Checked by the test “counts both endpoints and matches the independently checked 30-day example” in src/__tests__/rollout-batch-0004.test.ts.
Check it yourself
The calculation is the function calculateSchengenAllowance(input: SchengenInput): SchengenResult | null in src/lib/calculators/schengenCalculator.ts. These lines reproduce the example and print 60.
Show the JavaScript and Python
JavaScript
const day = (iso) => Date.parse(iso + "T00:00:00Z") / 864e5;
const entry = day("2026-03-01");
const from = entry - 179; // 180 days ending on entry
let used = 0;
for (let d = day("2026-01-01"); d <= day("2026-01-30"); d++) {
if (d >= from && d <= entry) used++;
}
console.log(String(90 - used));Python
from datetime import date, timedelta
entry = date(2026, 3, 1)
start = entry - timedelta(days=179) # 180 days ending on entry
stay = [date(2026, 1, 1) + timedelta(days=k) for k in range(30)]
used = sum(1 for d in stay if start <= d <= entry)
print(90 - used)I teach data analysis and SQL on The Data Science Tutor.
Sources
Last verified August 13, 2026.
16 automated tests cover this calculator. How calculations are documented and checked.
Frequently Asked Questions
How does the Schengen 90/180-day rule work?
For each day you are present, look backward over that day and the preceding 179 calendar days. Your total presence in that rolling 180-day window generally cannot exceed 90 days. Because the window moves every day, older travel can drop out while a new stay continues; the days remaining at entry can therefore differ from the longest continuous stay available from that date.
Do entry and exit days both count as Schengen days?
Yes. Under the Schengen Borders Code, the date of entry is the first day of stay and the date of exit is the last day, so both are counted. A same-day visit counts as one day. If you exit and re-enter on the same calendar day, record one combined interval so that day is not counted twice.
When can I re-enter the Schengen area after using 90 days?
It depends on the exact pattern of the previous stays. This calculator scans forward from the proposed date and identifies the first date when that day plus recorded presence in its backward-looking 180-day window is no more than 90. An uninterrupted absence of 90 days can support a new stay of up to 90 days under the general rule, but shorter absences may release days sooner.
Does a Schengen visa always allow 90 days?
No. A visa can authorize fewer than 90 days or impose a narrower validity period or number of entries. The European Commission says not to use its general short-stay calculator when the visa allows less than 90 days. Follow the visa sticker, applicable official guidance, and any authority decision.
Do residence-permit or long-stay-visa days count in this calculator?
No. The general Commission calculation excludes periods authorized under a residence permit or long-stay visa. The EES has been fully operational across Schengen countries since April 10, 2026, but this tool cannot read EES data or decide how mixed statuses, bilateral arrangements, nationality-specific rules, or discrepancies in official records affect an individual case.
Is this result official permission to enter?
No. It is a planning estimate from the dates entered. The European Commission's own calculator is also a supporting tool rather than a legal entitlement. Border and immigration authorities decide from official records, the applicable law, visa or permit terms, and the traveller's complete circumstances.