Menu
Advertisement

Chronological Age Calculator for Test Scoring

For teachers, school psychologists and speech therapists: the age on the day of testing, as years;months and years;months;days.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

What is chronological age?

Standardized assessments compare a student's raw score with other students of the same age, and their norms tables are arranged by age bands. Before you can look up a score, you need the student's exact age on the test day. That age is the chronological age, and a few days either way can put a student in the wrong band.

The tool counts whole years, then whole months, then the days left, using the real length of every month. It does not round. If your manual rounds the days (for example, 16 days or more up to the next month), apply its rule to the days shown. A hand calculation that borrows 30 days for every month can land a day or two away from the calendar count, so check which method your manual uses when a student sits at the edge of a band.

The date of testing starts on today; change it if you score a test given earlier. The dates are calculated in your browser and not sent anywhere, so a student's date of birth stays on your device.

What to know about chronological age

  • 7;4 means 7 years and 4 months, not 7.4 years. The semicolon keeps the parts apart because a year has 12 months, not 10.
  • Age in months is the years times 12 plus the months, so 7;7 is 91 months. Many norms tables for young children are arranged in months.
  • Borrowing is the tricky step by hand. When the test day is earlier in the month than the birthday, a month has to become days, and months are not all the same length.
  • The whole calculation is a short program. In Python, relativedelta from the dateutil library gives the years, months and days, and an f-string prints them as 7;7;18.

How to calculate chronological age

  1. Enter the date of birth

    Choose the month and the day, and type the year, as on the student's record.

  2. Set the date of testing

    It starts on today. Change it to the day the test was given. If testing ran over more than one day, use the date your manual asks for.

  3. Read the age

    The result shows the age in years, months and days, then the same age as years;months and years;months;days, in months and in days.

  4. Apply your manual's rounding

    The days are not rounded. If the manual rounds, adjust the age before you look up the norms.

Chronological age, worked out

Each row is what the tool shows, counted with the real length of each month and before any rounding.

Date of birthDate of testingYears;months;daysIn months
March 25, 2019November 12, 20267;7;1891
June 3, 2018November 19, 20268;5;16101
December 15, 2020November 20, 20265;11;571
August 31, 2021November 30, 20265;3;063
April 9, 2017April 9, 202710;0;0120

Chronological age in practice

A reading assessment

Paste a small example into the tool and change one part at a time.

The tool shows 7 years, 7 months, 18 days, written 7;7 and 7;7;18, and 91 months. October has 31 days, so a hand method that borrows 30 days gives 7;7;17 instead.

Days on a rounding edge

Copy the original value, run the tool, then compare the result.

The tool shows 8;5;16 and leaves the days alone. If your manual rounds 16 days or more up to the next month, the age to use is 8;6; if it drops the days, it is 8;5.

A birthday at the end of the month

Take a value from your own work and use this tool to inspect or prepare it.

November has no 31st, so the month is complete on November 30 and the tool shows 5;3;0. Borrowing 30 days by hand gives 5;2;29.

Chronological age in Python

dateutil
from datetime import datefrom dateutil.relativedelta import relativedelta
birth = date(2019, 3, 25)tested = date(2026, 11, 12)age = relativedelta(tested, birth)print(f"{age.years};{age.months};{age.days}")print(age.years * 12 + age.months, "months")

relativedelta counts the way the tool does, so this prints 7;7;18 and then 91 months. A rounding rule from your manual is one more if statement.

Mistakes when calculating chronological age

  • Writing 7;4 as 7.4. Four months is a third of a year, about 0.33, not 0.4.
  • Leaving the date of testing on today when you score a test given earlier. Set it to the test day.
  • Rounding twice, or rounding when your manual says to drop the days. The tool shows the days unrounded so you apply the rule once.
  • Mixing methods. The tool uses real month lengths, and a hand calculation that borrows 30 days can differ by a day or two. At a band edge, follow your manual's method.
  • Misreading a date written in numbers. 03/04/2019 is March 4 in the US and April 3 in many other countries; the tool's month names avoid the mix-up.

Chronological age FAQ

How do you calculate chronological age for testing?

Subtract the date of birth from the date of testing: years, then months, then days, borrowing a month when the test day is earlier in the month than the birthday. The tool does this with the real length of each month.

What does 7;4 mean in a test report?

7 years and 4 months. A third number, as in 7;4;12, adds the days.

Should I round the days up to the next month?

Follow your test manual. Rules differ, such as rounding 16 days or more up to the next month or dropping the days, so the tool shows the days as they are.

Why is my hand calculation a day or two different?

Hand methods often borrow 30 days for a month, while the tool uses the month's real length, from 28 to 31 days. When the borrowed month is February or has 31 days, the two results can differ.

Can I use it for a premature baby's corrected age?

Yes: enter the due date in place of the date of birth. Corrected age is the age counted from the due date, so the result is the corrected age.

Is a student's date of birth sent anywhere?

No. The calculation runs in your browser and the dates are not sent to a server.

Learn more

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started