Skip to main content
DigiCalcs

如何计算Leap Year

learn.whatIsHeading

A leap year has 366 days — February gets a 29th day. The Gregorian rule corrects for Earth's actual orbital period of 365.2425 days.

公式

Leap year if: (Year % 4 == 0 AND Year % 100 != 0) OR (Year % 400 == 0) | Adds 1 day to February

分步指南

  1. 1Divisible by 4 → usually a leap year
  2. 2Divisible by 100 → NOT a leap year (century exception)
  3. 3Divisible by 400 → IS a leap year (override century rule)
  4. 42000: yes; 1900: no; 2100: no; 2400: yes

例题解析

输入
2024
结果
Divisible by 4; not a century → Leap year ✓
输入
2100
结果
Divisible by 100 but not 400 → NOT a leap year ✗

常见问题

What is Leap Year?

A leap year has 366 days — February gets a 29th day. The Gregorian rule corrects for Earth\

How accurate is the Leap Year calculator?

The calculator uses the standard published formula for leap year. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

What units does the Leap Year calculator use?

Enter values in the units shown in each input field. The calculator displays results in standard units and shows the calculation steps.

What formula does the Leap Year calculator use?

The calculator applies the standard formula for this type of calculation. See the 'How It Works' steps above for the detailed formula breakdown.

准备好计算了吗?尝试免费的 Leap Year 计算器

自己尝试一下 →

设置

隐私条款关于© 2026 DigiCalcs