∑Calculators Map.Find a calculator ↗

◴ DATE & TIME

Leap Year Calculator

Check whether a Gregorian calendar year has 366 days.

Your numbers

Free calculator
YOUR RESULT
Leap year (366 days)

Calculated in your browser. Your inputs aren’t uploaded.

When to use this calculator

Check whether a Gregorian calendar year has 366 days. Uses the Gregorian rule; historical local calendar adoption is not modelled.

Explore the calendar dates & age calculators for other questions in this topic. For a related calculation, use the Unix Timestamp to UTC Calculator: Convert Unix seconds to a UTC date-time string.

PUTTING IT INTO PRACTICE

Leap Year: a worked example

The values below are an illustrative example, not a recommendation. Replace them with measurements or assumptions that match your question.

Example inputs and calculated result
InputExample value
Year (integer)2,028
ResultLeap year (366 days)
  1. Check the input labels and enter the example values above.
  2. Apply the relationship: Leap year when divisible by 4, except centuries not divisible by 400..
  3. The result is Leap year (366 days) , rounded for display.

How to interpret your result

Uses the Gregorian rule; historical local calendar adoption is not modelled.

Choose whether an interval includes the start or end boundary. Month and year additions use explicitly stated clamping rules when a destination day does not exist. Date-only arithmetic is kept independent of local daylight-saving hour shifts.

A useful next step is the Hours to Minutes Converter: Convert hours to minutes with an explicit conversion factor.

Frequently asked questions

Does adding one month always add the same number of days?

No. Calendar months vary in length. A day-count addition and a calendar-month addition solve different questions.

When is the leap year calculator useful?

Check whether a Gregorian calendar year has 366 days. Uses the Gregorian rule; historical local calendar adoption is not modelled.

How do I use the leap year calculator?

Enter year (integer). The result updates automatically. Use the units shown beside each input; the example values illustrate the method.

Which formula does this calculator use?

Leap year when divisible by 4, except centuries not divisible by 400..

What should I check before using the result?

Uses the Gregorian rule; historical local calendar adoption is not modelled.

How are results rounded?

Scalar numbers display up to six decimal places, with scientific notation for very large or small values. Text, fraction, date and schedule outputs use the format described on the tool. Intermediate calculations use JavaScript floating-point arithmetic. Keep sensible precision for your measurements.

Further reading

For background on this topic, see MDN: date values and calendar handling ↗. This is a topic reference, not an external review or endorsement of this tool.

Calculators Map editorial process · Updated · Methods and limitations