calqulio.
◎ English · Global

Leap Year Calculator

Return the number of days in a Gregorian year. Years divisible by 100 are common years unless also divisible by 400.

Enter your values

Enter a numeric value. Use a whole number. Must be greater than zero. Allowed range: 1–9,999.

Use a decimal point, without thousands separators.

Example result
Days in year
366

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

Return the number of days in a Gregorian year. Years divisible by 100 are common years unless also divisible by 400.

Inputs and units
Leap Year Calculator · Inputs and units
InputExample valueWhat to enter
Gregorian year2,028Enter a numeric value. Use a whole number. Must be greater than zero. Allowed range: 1–9,999.
leap if divisible by 4, except centuries not divisible by 400

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Gregorian year
2,028

Complete example results

Days in year
366

Reading the result

Elapsed calendar time differs from completed years or months. Check interval endpoints, leap-year conventions and any working-day scope.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Methods & accuracy

What would you like to calculate?

Browse all calculators