# Leap year > How can you tell if a year is a leap year? Check any year from 1 to 9999 and see its nearest leap years. Find out whether a year is a leap year, why it is or is not, and which leap years come before and after it. List all leap years between two years. - Page: https://how.box/leap-year/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/leap-year/?year={year}&start={start}&end={end} - `year` (whole number 1 to 9999): Year. Example: `2026`. - `start` (whole number 1 to 9999): Range start. Example: `2020`. - `end` (whole number 1 to 9999): Range end. Example: `2040`. Example answer: https://how.box/leap-year/?year=2026&start=2020&end=2040 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `leap_year_calculate`: Leap year: Divisible by 4, except centuries unless divisible by 400. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"leap_year_calculate","arguments":{"year":2026,"start":2020,"end":2040}}}` - GET: https://how.box/mcp/run/leap_year_calculate?year=2026&start=2020&end=2040 ## How it works A leap year has 366 days rather than 365. February gains a 29th day to keep the calendar close to the seasons. The Gregorian rule is divisibility by 4, except years divisible by 100 unless they are also divisible by 400. Thus 2000 was a leap year, but 1900 was not. This is the rule described by the US Naval Observatory. The rule is applied to every input from 1 to 9999. Before the Gregorian reform in 1582, many places used the Julian rule (every fourth year); adoption dates varied. This is not a historical local-calendar converter. ## FAQ **Is 2000 a leap year?** Yes. It is divisible by 400, so the century exception does not remove its leap day. **Why was 1900 not a leap year?** It is divisible by 100 but not by 400. **Does the list include its endpoints?** Yes. Both endpoints are included, and reversed endpoints are sorted. **Does previous include the year I entered?** No. Previous and next are strictly before and after the chosen year. **Is this valid before 1582?** It gives the proleptic Gregorian result. The Julian calendar used a different century rule. **How often is there a leap year?** Ninety-seven times every 400 years, not every fourth year: three century years in four are skipped. That makes the average calendar year 365.2425 days, close to the tropical year of about 365.2422 days. **How many leap years are there from 2000 to 2100?** Twenty-five: 2000, 2004 and so on up to 2096. 2100 is not one, so the next February 29 after 2096 falls in 2104. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)