# How to Calculate Age in Months: Step-by-Step Examples - Pretty Progress Blog

> Learn how to calculate age in months from exact dates, with worked examples, why 30-day shortcuts fail and how to handle babies.

Canonical: https://prettyprogress.app/blog/how-to-calculate-age-in-months
Last updated: 2026-11-21

You're filling out a childcare form or checking a baby's milestone page, and the question looks simple: age in months. Then you look at the dates. The birthday hasn't arrived yet this month, February is shorter than January, and dividing the days by a standard month length doesn't seem quite right.

Learning **how to calculate age in months** starts with counting calendar anniversaries, not estimating how many average months have passed. With a clear rule for shorter months, you can report completed months and leftover days without rounding someone into an age they haven't reached.

## Table of Contents
- [Calculate Age in Months in Four Steps](https://prettyprogress.app/blog/how-to-calculate-age-in-months#calculate-age-in-months-in-four-steps)
  - [Choose a rule for shorter months](https://prettyprogress.app/blog/how-to-calculate-age-in-months#choose-a-rule-for-shorter-months)
- [Worked Examples for Common Birth Dates](https://prettyprogress.app/blog/how-to-calculate-age-in-months#worked-examples-for-common-birth-dates)
  - [Ordinary birthdays and year changes](https://prettyprogress.app/blog/how-to-calculate-age-in-months#ordinary-birthdays-and-year-changes)
  - [Month ends and leap days](https://prettyprogress.app/blog/how-to-calculate-age-in-months#month-ends-and-leap-days)
- [Why Dividing Days by 30 Gives the Wrong Answer](https://prettyprogress.app/blog/how-to-calculate-age-in-months#why-dividing-days-by-30-gives-the-wrong-answer)
  - [Match the method to the question](https://prettyprogress.app/blog/how-to-calculate-age-in-months#match-the-method-to-the-question)
- [Completed Months for Babies and Growth Checks](https://prettyprogress.app/blog/how-to-calculate-age-in-months#completed-months-for-babies-and-growth-checks)
  - [Record age for the assessment date](https://prettyprogress.app/blog/how-to-calculate-age-in-months#record-age-for-the-assessment-date)
  - [Keep pregnancy dates separate](https://prettyprogress.app/blog/how-to-calculate-age-in-months#keep-pregnancy-dates-separate)
- [Corrected Age for Premature Babies](https://prettyprogress.app/blog/how-to-calculate-age-in-months#corrected-age-for-premature-babies)
  - [Work in weeks before converting](https://prettyprogress.app/blog/how-to-calculate-age-in-months#work-in-weeks-before-converting)
  - [Choose the age that fits the purpose](https://prettyprogress.app/blog/how-to-calculate-age-in-months#choose-the-age-that-fits-the-purpose)
- [Cross-Check Your Count in a Spreadsheet](https://prettyprogress.app/blog/how-to-calculate-age-in-months#cross-check-your-count-in-a-spreadsheet)
  - [Investigate disagreements](https://prettyprogress.app/blog/how-to-calculate-age-in-months#investigate-disagreements)


## Calculate Age in Months in Four Steps

1. **Write both dates clearly.** Put the birth date first and the reference date second, using day, month, and year. The reference date is the date you need the age on, which might be today, a clinic visit, or an application date. Spell out the month if numeric date formats could cause confusion.

2. **Count complete years.** Move forward from the birth date to each annual birthday until the next one would pass the reference date. Keep the last completed birthday as your starting point for the remaining months. Don't just subtract the year numbers, because the birthday might not have happened yet.

3. **Count additional whole calendar months.** From that birthday, find each monthly anniversary that falls on or before the reference date. Multiply the completed years by twelve, then add the additional months. For month-end birthdays, use the convention explained below rather than letting a shorter month permanently change the anniversary day.

4. **Count the leftover days.** Find the elapsed days between the last completed monthly anniversary and the reference date. If the reference day comes before the birthday's day number, you'll usually need to remove a month from your initial month count and count the remaining days across the month boundary. Use the actual calendar, not an assumed month length.

For a hypothetical example, take a birth date of March 15, 2025, and a reference date of June 15, 2026. The first full year ends on March 15, 2026, and three additional monthly anniversaries bring the total to **15 completed months and 0 days**.

Keep the counting sequence visible while you work:

![A four-step infographic illustrating a simple method to calculate age in months using calendar dates.](https://cdnimg.co/22e9f626-6586-4192-94e7-f617a8e8f203/754eeedf-0370-4481-82a2-3a2988454537/how-to-calculate-age-in-months-age-calculation.jpg)


### Choose a rule for shorter months

Use this **end-of-month convention** throughout your calculation: if a target month has no matching birthday day, use its last day. When a later month does have that day, return to the original birthday day rather than continuing from the shortened date.

For instance, the Age Finder explanation of exact and completed age describes a January 31 birth reaching one completed month on February 28 in a non-leap year under this convention. An organization's stated eligibility or recordkeeping policy should take priority over a general-purpose convention.

> **Practical rule:** Find the last valid anniversary first. Then count the days after it.

Write the result as **completed months and leftover days**. That preserves both the whole-month age and the detail someone might need to check your calculation.


## Worked Examples for Common Birth Dates

These hypothetical date pairs show how the same anniversary method handles ordinary birthdays, year changes, month ends, and leap days.

| Birth date | Reference date | Completed months | Leftover days |
|---|---|---:|---:|
| March 15, 2025 | January 10, 2026 | 9 | 26 |
| May 20, 2024 | August 3, 2026 | 26 | 14 |
| January 31, 2025 | March 30, 2025 | 1 | 30 |
| February 29, 2024 | February 28, 2026 | 24 | 0 |


### Ordinary birthdays and year changes

In the first row, the last monthly anniversary before the reference date is December 15. Counting forward from there to January 10 gives the leftover days shown in the table. The trap is counting January as another completed month even though the birthday day hasn't arrived yet. It feels intuitive because a new calendar month has started, but the anniversary method doesn't work that way.

In the second row, start with the completed annual birthdays, then continue to the monthly anniversary on July 20. The reference date falls before the August anniversary, so August adds nothing. Crossing into a different calendar year doesn't change the method at all.


### Month ends and leap days

The January birthday uses the **end-of-month convention**. February's final day supplies the first monthly anniversary, but the next anniversary returns to the original birthday day in March. Because March 30 comes one day before that anniversary, the child still has only the single completed month shown in the table. That one-day gap is exactly where quick mental math goes wrong.

The leap-day example works the same way. February's last day stands in as the anniversary in a non-leap year, and the count reaches twenty-four completed months by the reference date. This is a stated calculation convention, not a universal rule for legal birthdays. For official records, use the rule required by the organization receiving them.

> Check whether the **next monthly anniversary** is still after the reference date. If it has already arrived, your completed-month count is too low.

That check is more dependable than judging whether the leftover days look unusually large. A shorter month can produce a result that looks surprising but still follows the chosen anniversary rule.

For a family birthday page, keep calendar calculations separate from birthday traditions. The exact birth and reference dates determine age in months, while InchBug's guide to [October baby zodiac signs and birthstones](https://www.inchbug.com/blogs/blog/born-in-october) covers the themed details a birthday page might include alongside the numbers.


## Why Dividing Days by 30 Gives the Wrong Answer

Consider the hypothetical interval from March 15, 2025, to January 10, 2026. It contains **301 elapsed days**; dividing by 30 gives approximately **10.03**, even though the last completed monthly anniversary is only the ninth.

The visual comparison makes the distinction easier to spot:

![An infographic showing the difference between calculating months using shortcut math versus actual calendar counting.](https://cdnimg.co/22e9f626-6586-4192-94e7-f617a8e8f203/0c77459b-6d43-4218-afaa-586f298ce25b/how-to-calculate-age-in-months-date-calculation.jpg)

Dividing that hypothetical day total by 30.44 gives approximately 9.89. Truncating that result happens to give the correct completed-month count for this example, but ordinary rounding would give a different answer. Neither operation checks whether the next monthly anniversary has arrived.

The [Calccc age calculator guide](https://calccc.com/articles/age-calculator-guide/) distinguishes **calendar-month age** from **elapsed-time age converted into an approximation**, because calendar months contain 28, 29, 30, or 31 days. A fixed divisor can't preserve every birthday anniversary across those changing month lengths.


### Match the method to the question

Use a [days-between-two-dates calculator](https://prettyprogress.app/tools/days-between-two-dates-calculator) when you need elapsed days. Keep that result in days unless you deliberately want an approximate conversion.

For completed-month age, compare the day components, adjust the month count when the monthly anniversary hasn't arrived, and count the remainder from the previous anniversary. Around month ends, identify the actual anniversary date before attempting subtraction.

- **Casual estimates:** An approximate age can be enough in conversation, provided you describe it as approximate.
- **Forms and assessments:** Use the completed-month result and retain the dates used.
- **Missing birthday days:** State your shorter-month convention instead of substituting a fixed-day month without explanation.

For another explanation of date-based age calculations, you can watch the video below.

[Video](https://www.youtube.com/embed/CgaoeN-nmW4)


## Completed Months for Babies and Growth Checks

**Never round a baby's completed-month age upward.** Being close to the next monthly anniversary isn't the same as reaching it.

For a hypothetical baby born June 4, 2025, with a checkup on November 3, 2025, the last monthly anniversary is October 4. The result is **4 completed months and 30 days**, so a field asking for completed months should contain 4, not 5.


### Record age for the assessment date

Use this routine for a clinic note, childcare record, or family growth log:

1. **Enter the birth date.** Copy it from the original record rather than relying on a remembered age.
2. Use the **visit or assessment date** as the reference date, not the date you happen to be entering the information.
3. **Save months and days separately** when the record allows it. This keeps the whole-month value clear without discarding the remainder.
4. Keep both exact dates alongside the answer so another person can repeat the calculation.

The calendar age is part of the context for interpreting growth measurements:

![An infographic showing that a child's age in completed months is essential for accurate growth monitoring.](https://cdnimg.co/22e9f626-6586-4192-94e7-f617a8e8f203/d43ea53c-3160-4664-b37b-f007858dce37/how-to-calculate-age-in-months-growth-infographic.jpg)

The [World Health Organization's Child Growth Standards](https://www.who.int/tools/child-growth-standards) cover birth through **5 years**, extending through **60 completed months**, with age-specific charts for measures including length or height-for-age and weight-for-age. Using the correct completed-month age helps place a measurement in the appropriate reference-age category.


### Keep pregnancy dates separate

A due date and a birth date serve different purposes. A [pregnancy due date calculator](https://prettyprogress.app/tools/pregnancy-due-date-calculator) concerns the pregnancy timeline; ordinary chronological age after birth starts from the actual birth date.

Use the same recording approach at each visit, but don't treat the age calculation itself as a developmental assessment. If you're concerned about growth or a milestone, bring the dates and measurements to the child's clinician.


## Corrected Age for Premature Babies

A premature baby can have **two useful ages**: chronological age, measured from birth, and corrected age, which accounts for being born early. They answer different questions, so label them rather than choosing one without explanation.

The [American Academy of Pediatrics' HealthyChildren guidance on corrected age](https://www.healthychildren.org/English/ages-stages/baby/preemie/Pages/Corrected-Age-for-Preemies.aspx) uses roughly **40 weeks of gestation** as the baseline and describes a baby born at **32 weeks**, now **16 weeks** old chronologically, as about **8 weeks corrected**, or approximately **2 months**. Corrected age is commonly used for developmental comparisons during the first two years.


### Work in weeks before converting

1. **Find the time born early.** Subtract gestational age at birth from the full-term baseline.
2. Subtract that difference from the baby's **chronological age in weeks**.
3. **Write both results**, explicitly marking one chronological and the other corrected.

Keep the corrected result in weeks when precision matters. Converting it into months is an approximation unless you also establish a calendar-based reference date.

> Corrected age helps frame developmental comparisons. It doesn't replace the baby's birth date.


### Choose the age that fits the purpose

Use chronological age for ordinary date calculations and administrative records unless the receiving organization gives different instructions. For early developmental comparisons, follow the clinician's corrected-age guidance. If the clinic has already documented a corrected age, use that figure rather than replacing it with a casual conversion.

For practical reading beyond age calculations, Bornbir's guide to [newborn care for premature babies](https://www.bornbir.com/blog/newborn-care-guide-to-raise-a-premature-bay) is a related resource. Keep care decisions tied to the baby's clinical advice, not an age label.


## Cross-Check Your Count in a Spreadsheet

Excel or Google Sheets can help you check a manual calculation. Enter the birth date in **A1** and the reference date in **B1**, making sure both cells contain actual date values rather than text.

| What to check | Formula |
|---|---|
| Completed years | `=DATEDIF(A1,B1,"y")` |
| Total completed months | `=DATEDIF(A1,B1,"m")` |
| Leftover days | `=DATEDIF(A1,B1,"md")` |

Type `DATEDIF` directly if it doesn't appear in autocomplete. Treat the formulas as a cross-check, not as proof that your chosen month-end convention has been applied.


### Investigate disagreements

For a hypothetical test, enter March 15, 2025, in A1 and June 15, 2026, in B1. The month formula should return **15**, and the leftover-day formula should return **0**.

The `"md"` option can produce unreliable results for some date pairs, particularly around month ends. Verify the leftover days on a calendar rather than relying on that output alone.

- **Check the input order:** The birth date must not come after the reference date.
- **Check date recognition:** Confirm that the spreadsheet hasn't interpreted a date using the wrong regional format.
- **Check anniversaries manually:** A spreadsheet may handle shorter months differently from your stated convention.

Save the original dates beside the final result. If you're also using a [life-in-weeks calendar](https://prettyprogress.app/blog/life-in-weeks-calendar), keep that weekly view separate from the completed-month value you enter on a form.

> Count complete years, then months, then days.

---

Our website offers an Exact age calculator alongside tools for date countdowns, business days, and pregnancy due dates. Visit [Pretty Progress](https://prettyprogress.app/) to check an age between two dates, then compare the result with your calendar anniversaries before recording it.
