calqulio.
◎ English · Global

Days in Month Calculator

Find the length of a Gregorian calendar month, including February in leap years. Month numbers run from January 1 to December 12.

Enter your values

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

Use a decimal point, without thousands separators.

Example result
Days in month
29

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

Edit inputs

How it works

Find the length of a Gregorian calendar month, including February in leap years. Month numbers run from January 1 to December 12.

Inputs and units
Days in Month Calculator · Inputs and units
InputExample valueWhat to enter
Year2,028Enter a numeric value. Use a whole number. Must be greater than zero. Allowed range: 1–9,999.
Month number2Enter a numeric value. Use a whole number. Must be greater than zero. Allowed range: 1–12.
February = 28 or 29; other months = 30 or 31

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.

Year
2,028
Month number
2

Complete example results

Days in month
29

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